Skip to content

Commit

Permalink
seccomp: whitelist statx syscall
Browse files Browse the repository at this point in the history
This whitelists the statx syscall; libseccomp-2.3.3 or up
is needed for this, older seccomp versions will ignore this.

Equivalent of moby/moby#36417

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8f8fd3c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Mar 20, 2019
1 parent 9a0a5fd commit 03d129b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/seccomp/seccomp_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
"stat64",
"statfs",
"statfs64",
"statx",
"symlink",
"symlinkat",
"sync",
Expand Down

0 comments on commit 03d129b

Please sign in to comment.