Skip to content

Commit 80a7ca2

Browse files
committed
[seccomp] Allow keyctl syscall
1 parent c85581c commit 80a7ca2

File tree

1 file changed

+1
-8
lines changed
  • components/ws-daemon/seccomp-profile-installer

1 file changed

+1
-8
lines changed

components/ws-daemon/seccomp-profile-installer/main.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func main() {
3939
"setdomainname",
4040
"sethostname",
4141
"unshare",
42+
"keyctl",
4243
},
4344
Action: specs.ActAllow,
4445
},
@@ -54,14 +55,6 @@ func main() {
5455
Names: []string{"setns"},
5556
Action: specs.ActAllow,
5657
},
57-
specs.LinuxSyscall{
58-
Names: []string{
59-
"keyctl",
60-
},
61-
// prevent call and return ENOSYS to make runc happy
62-
// (see https://github.com/opencontainers/runc/issues/1889)
63-
Action: specs.ActTrace,
64-
},
6558
)
6659

6760
err := enc.Encode(s)

0 commit comments

Comments
 (0)