Skip to content

Commit 8927281

Browse files
committed
Add syscall "statx" in seccomp to fix Operation not permitted
syscall "statx" was first introduced by kernel at version 4.11, which is a new implementation of stat, caller can request specific information(file size only) to speed up the call. Docker has the statx in seccomp config as well. Signed-off-by: CooperLi <[email protected]>
1 parent 7e2d60f commit 8927281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generate/seccomp/seccomp_default.go

+1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ func DefaultProfile(rs *specs.Spec) *rspec.LinuxSeccomp {
303303
"stat64",
304304
"statfs",
305305
"statfs64",
306+
"statx",
306307
"symlink",
307308
"symlinkat",
308309
"sync",

0 commit comments

Comments
 (0)