Skip to content

Commit 8d08049

Browse files
committed
generate/seccomp: Allow Landlock syscalls
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 <[email protected]>
1 parent 0105384 commit 8d08049

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generate/seccomp/seccomp_default.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ func DefaultProfile(rs *specs.Spec) *rspec.LinuxSeccomp {
151151
"io_submit",
152152
"ipc",
153153
"kill",
154+
"landlock_add_rule",
155+
"landlock_create_ruleset",
156+
"landlock_restrict_self",
154157
"lchown",
155158
"lchown32",
156159
"lgetxattr",

0 commit comments

Comments
 (0)