Skip to content

Commit 13f5a6a

Browse files
authored
Enable reading of keyring (#18594)
* [seccomp] Allow keyctl syscall * [seccomp] Allow additional keys
1 parent a8a67cc commit 13f5a6a

File tree

1 file changed

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

1 file changed

+3
-8
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ func main() {
3939
"setdomainname",
4040
"sethostname",
4141
"unshare",
42+
"keyctl",
43+
"add_key",
44+
"request_key",
4245
},
4346
Action: specs.ActAllow,
4447
},
@@ -54,14 +57,6 @@ func main() {
5457
Names: []string{"setns"},
5558
Action: specs.ActAllow,
5659
},
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-
},
6560
)
6661

6762
err := enc.Encode(s)

0 commit comments

Comments
 (0)