Skip to content

Q: What is the meaning of SECCOMP_FILTER_FLAG_TSYNC for containers? #1077

@mauriciovasquezbernal

Description

@mauriciovasquezbernal

#1018 introduced support for specifying the seccomp flags SECCOMP_FILTER_FLAG_TSYNC, SECCOMP_FILTER_FLAG_LOG & SECCOMP_FILTER_FLAG_SPEC_ALLOW.

I agree that SECCOMP_FILTER_FLAG_LOG & SECCOMP_FILTER_FLAG_SPEC_ALLOW make sense as stated in #1018 (comment). However I'm not able to understand what is the meaning of SECCOMP_FILTER_FLAG_TSYNC in the OCI context. According to my understanding the runtime should guarantee that the seccomp filters are applied to the initial container process, whether TSYNC has to be used or not depends on if the thread calling seccomp() is the same executing the container init process or not and it's an internal implementation detail of the runtimes.

ref containers/crun#85 (comment)

@giuseppe

cc @alban @rata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions