瀏覽代碼

Merge pull request #36417 from NobodyOnSE/patch-2

Whitelist statx syscall
Sebastiaan van Stijn 7 年之前
父節點
當前提交
f0694e968f
共有 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",