浏览代码

Merge pull request #43199 from Xyene/allow-landlock

seccomp: add support for Landlock syscalls in default policy
Sebastiaan van Stijn 3 年之前
父节点
当前提交
e9712464ad
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      profiles/seccomp/default.json
  2. 3 0
      profiles/seccomp/default_linux.go

+ 3 - 0
profiles/seccomp/default.json

@@ -183,6 +183,9 @@
 				"io_uring_setup",
 				"ipc",
 				"kill",
+				"landlock_add_rule",
+				"landlock_create_ruleset",
+				"landlock_restrict_self",
 				"lchown",
 				"lchown32",
 				"lgetxattr",

+ 3 - 0
profiles/seccomp/default_linux.go

@@ -175,6 +175,9 @@ func DefaultProfile() *Seccomp {
 					"io_uring_setup",
 					"ipc",
 					"kill",
+					"landlock_add_rule",
+					"landlock_create_ruleset",
+					"landlock_restrict_self",
 					"lchown",
 					"lchown32",
 					"lgetxattr",