opencontainers / runtime-tools

OCI Runtime Tools
https://www.opencontainers.org/
Apache License 2.0
434 stars 141 forks source link

generate/seccomp: Allow Landlock syscalls #751

Closed l0kod closed 2 years ago

l0kod commented 2 years ago

Landlock is a Linux feature that enables creating security sandboxes (see https://docs.kernel.org/userspace-api/landlock.html). Allow the three related system calls (available since Linux 5.13): landlock_create_ruleset, landlock_add_rule, and landlock_restrict_self.

Signed-off-by: Mickaël Salaün mic@digikod.net

l0kod commented 2 years ago

This is equivalent to https://github.com/containers/common/pull/1081 and https://github.com/moby/moby/pull/43199

rhatdan commented 2 years ago

@giuseppe @vbatts @mrunalp @AkihiroSuda @kolyshkin PTAL

kolyshkin commented 2 years ago

close/reopen to kick ci