浏览代码

Whitelist statx syscall for libseccomp-2.3.3 onward

Older seccomp versions will ignore this.

Signed-off-by: NobodyOnSE <ich@sektor.selfip.com>
NobodyOnSE 7 年之前
父节点
当前提交
b2a907c8ca
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      profiles/seccomp/default.json
  2. 1 0
      profiles/seccomp/seccomp_default.go

+ 1 - 0
profiles/seccomp/default.json

@@ -322,6 +322,7 @@
 				"stat64",
 				"statfs",
 				"statfs64",
+				"statx",
 				"symlink",
 				"symlinkat",
 				"sync",

+ 1 - 0
profiles/seccomp/seccomp_default.go

@@ -315,6 +315,7 @@ func DefaultProfile() *types.Seccomp {
 				"stat64",
 				"statfs",
 				"statfs64",
+				"statx",
 				"symlink",
 				"symlinkat",
 				"sync",