Browse Source

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 năm trước cách đây
mục cha
commit
b2a907c8ca
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",