Allow different syscalls from kernels 5.12 -> 5.16
Kernel 5.12:
mount_setattr: needs CAP_SYS_ADMIN
Kernel 5.14:
quotactl_fd: needs CAP_SYS_ADMIN
memfd_secret: always allowed
Kernel 5.15:
process_mrelease: always allowed
Kernel 5.16:
futex_waitv: always allowed
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
(cherry picked from commit 7de9f4f82d
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
57db169641
commit
d127287d92
2 changed files with 10 additions and 0 deletions
|
@ -126,6 +126,7 @@
|
|||
"ftruncate64",
|
||||
"futex",
|
||||
"futex_time64",
|
||||
"futex_waitv",
|
||||
"futimesat",
|
||||
"getcpu",
|
||||
"getcwd",
|
||||
|
@ -202,6 +203,7 @@
|
|||
"madvise",
|
||||
"membarrier",
|
||||
"memfd_create",
|
||||
"memfd_secret",
|
||||
"mincore",
|
||||
"mkdir",
|
||||
"mkdirat",
|
||||
|
@ -249,6 +251,7 @@
|
|||
"preadv",
|
||||
"preadv2",
|
||||
"prlimit64",
|
||||
"process_mrelease",
|
||||
"pselect6",
|
||||
"pselect6_time64",
|
||||
"pwrite64",
|
||||
|
@ -602,11 +605,13 @@
|
|||
"fspick",
|
||||
"lookup_dcookie",
|
||||
"mount",
|
||||
"mount_setattr",
|
||||
"move_mount",
|
||||
"name_to_handle_at",
|
||||
"open_tree",
|
||||
"perf_event_open",
|
||||
"quotactl",
|
||||
"quotactl_fd",
|
||||
"setdomainname",
|
||||
"sethostname",
|
||||
"setns",
|
||||
|
|
|
@ -121,6 +121,7 @@ func DefaultProfile() *Seccomp {
|
|||
"ftruncate64",
|
||||
"futex",
|
||||
"futex_time64",
|
||||
"futex_waitv",
|
||||
"futimesat",
|
||||
"getcpu",
|
||||
"getcwd",
|
||||
|
@ -197,6 +198,7 @@ func DefaultProfile() *Seccomp {
|
|||
"madvise",
|
||||
"membarrier",
|
||||
"memfd_create",
|
||||
"memfd_secret",
|
||||
"mincore",
|
||||
"mkdir",
|
||||
"mkdirat",
|
||||
|
@ -244,6 +246,7 @@ func DefaultProfile() *Seccomp {
|
|||
"preadv",
|
||||
"preadv2",
|
||||
"prlimit64",
|
||||
"process_mrelease",
|
||||
"pselect6",
|
||||
"pselect6_time64",
|
||||
"pwrite64",
|
||||
|
@ -535,11 +538,13 @@ func DefaultProfile() *Seccomp {
|
|||
"fspick",
|
||||
"lookup_dcookie",
|
||||
"mount",
|
||||
"mount_setattr",
|
||||
"move_mount",
|
||||
"name_to_handle_at",
|
||||
"open_tree",
|
||||
"perf_event_open",
|
||||
"quotactl",
|
||||
"quotactl_fd",
|
||||
"setdomainname",
|
||||
"sethostname",
|
||||
"setns",
|
||||
|
|
Loading…
Add table
Reference in a new issue