Skip to content

Commit 1bed378

Browse files
AkihiroSudak8s-infra-cherrypick-robot
authored andcommitted
seccomp: kernel 6.7
The following syscalls were added since kernel v5.16: - v5.17 (libseccomp v2.5.4): set_mempolicy_home_node - v6.5 (libseccomp v2.5.5): cachestat - v6.6 (libseccomp v2.5.5): fchmodat2, map_shadow_stack - v6.7 (libseccomp v2.5.5): futex_wake, futex_wait, futex_requeue [Not covered in this commit] - v6.8-rc1: statmount, listmount, lsm_get_self_attr, lsm_set_self_attr, lsm_list_modules ref: - `syscalls: update the syscall list for Linux v5.17` (libseccomp v2.5.4) seccomp/libseccomp@d83cb7a - `all: update the syscall table for Linux v6.7-rc3` (libseccomp v2.5.5) seccomp/libseccomp@53267af Signed-off-by: Akihiro Suda <[email protected]>
1 parent 1944259 commit 1bed378

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

contrib/seccomp/seccomp_default.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
6464
"alarm",
6565
"bind",
6666
"brk",
67+
"cachestat", // kernel v6.5, libseccomp v2.5.5
6768
"capget",
6869
"capset",
6970
"chdir",
@@ -109,6 +110,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
109110
"fchdir",
110111
"fchmod",
111112
"fchmodat",
113+
"fchmodat2", // kernel v6.6, libseccomp v2.5.5
112114
"fchown",
113115
"fchown32",
114116
"fchownat",
@@ -130,8 +132,11 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
130132
"ftruncate",
131133
"ftruncate64",
132134
"futex",
135+
"futex_requeue", // kernel v6.7, libseccomp v2.5.5
133136
"futex_time64",
137+
"futex_wait", // kernel v6.7, libseccomp v2.5.5
134138
"futex_waitv",
139+
"futex_wake", // kernel v6.7, libseccomp v2.5.5
135140
"futimesat",
136141
"getcpu",
137142
"getcwd",
@@ -217,6 +222,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
217222
"mlock",
218223
"mlock2",
219224
"mlockall",
225+
"map_shadow_stack", // kernel v6.6, libseccomp v2.5.5
220226
"mmap",
221227
"mmap2",
222228
"mprotect",
@@ -674,6 +680,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
674680
"get_mempolicy",
675681
"mbind",
676682
"set_mempolicy",
683+
"set_mempolicy_home_node", // kernel v5.17, libseccomp v2.5.4
677684
},
678685
Action: specs.ActAllow,
679686
Args: []specs.LinuxSeccompArg{},

0 commit comments

Comments
 (0)