We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40ce36f + 267a0cf commit 396b863Copy full SHA for 396b863
1 file changed
contrib/seccomp/seccomp_default.go
@@ -350,7 +350,6 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
350
"sync_file_range",
351
"syncfs",
352
"sysinfo",
353
- "syslog",
354
"tee",
355
"tgkill",
356
"time",
@@ -529,6 +528,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
529
528
"setdomainname",
530
"sethostname",
531
"setns",
+ "syslog",
532
"umount",
533
"umount2",
534
"unshare",
@@ -600,6 +600,12 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
600
Action: specs.ActAllow,
601
Args: []specs.LinuxSeccompArg{},
602
})
603
+ case "CAP_SYSLOG":
604
+ s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
605
+ Names: []string{"syslog"},
606
+ Action: specs.ActAllow,
607
+ Args: []specs.LinuxSeccompArg{},
608
+ })
609
}
610
611
0 commit comments