Browse Source

Merge pull request #36417 from NobodyOnSE/patch-2

Whitelist statx syscall
Sebastiaan van Stijn 7 năm trước cách đây
mục cha
commit
f0694e968f
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  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",