Skip to content

Commit 190fa92

Browse files
committed
add key retention and requesting service syscalls to the default seccomp profile
Signed-off-by: Clinton Bowen <clinton.bowen@gmail.com>
1 parent c936cc7 commit 190fa92

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

seccomp/default.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"accept",
6161
"accept4",
6262
"access",
63+
"add_key",
6364
"adjtimex",
6465
"alarm",
6566
"bind",
@@ -190,6 +191,7 @@
190191
"io_setup",
191192
"io_submit",
192193
"ipc",
194+
"keyctl",
193195
"kill",
194196
"landlock_add_rule",
195197
"landlock_create_ruleset",
@@ -289,6 +291,7 @@
289291
"rename",
290292
"renameat",
291293
"renameat2",
294+
"request_key",
292295
"restart_syscall",
293296
"riscv_hwprobe",
294297
"rmdir",

seccomp/default_linux.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func DefaultProfile() *Seccomp {
5252
"accept",
5353
"accept4",
5454
"access",
55+
"add_key",
5556
"adjtimex",
5657
"alarm",
5758
"bind",
@@ -182,6 +183,7 @@ func DefaultProfile() *Seccomp {
182183
"io_setup",
183184
"io_submit",
184185
"ipc",
186+
"keyctl",
185187
"kill",
186188
"landlock_add_rule",
187189
"landlock_create_ruleset",
@@ -281,6 +283,7 @@ func DefaultProfile() *Seccomp {
281283
"rename",
282284
"renameat",
283285
"renameat2",
286+
"request_key"
284287
"restart_syscall",
285288
"riscv_hwprobe", // kernel v6.12, libseccomp v2.6.0
286289
"rmdir",

0 commit comments

Comments
 (0)