Skip to content

Commit a6e52c7

Browse files
committed
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 f276561 commit a6e52c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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",
@@ -214,6 +219,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
214219
"mlock",
215220
"mlock2",
216221
"mlockall",
222+
"map_shadow_stack", // kernel v6.6, libseccomp v2.5.5
217223
"mmap",
218224
"mmap2",
219225
"mprotect",
@@ -671,6 +677,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
671677
"get_mempolicy",
672678
"mbind",
673679
"set_mempolicy",
680+
"set_mempolicy_home_node", // kernel v5.17, libseccomp v2.5.4
674681
},
675682
Action: specs.ActAllow,
676683
Args: []specs.LinuxSeccompArg{},

0 commit comments

Comments
 (0)