Skip to content

Commit a8106e9

Browse files
authored
Merge pull request #1138 from saschagrunert/seccomp-filter-flags
Add available `LinuxSeccompFlag`s
2 parents 8d0d6d4 + e78a3c3 commit a8106e9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

specs-go/config.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,19 @@ type Arch string
632632
// LinuxSeccompFlag is a flag to pass to seccomp(2).
633633
type LinuxSeccompFlag string
634634

635+
const (
636+
// LinuxSeccompFlagLog is a seccomp flag to request all returned
637+
// actions except SECCOMP_RET_ALLOW to be logged. An administrator may
638+
// override this filter flag by preventing specific actions from being
639+
// logged via the /proc/sys/kernel/seccomp/actions_logged file. (since
640+
// Linux 4.14)
641+
LinuxSeccompFlagLog LinuxSeccompFlag = "SECCOMP_FILTER_FLAG_LOG"
642+
643+
// LinuxSeccompFlagSpecAllow can be used to disable Speculative Store
644+
// Bypass mitigation. (since Linux 4.17)
645+
LinuxSeccompFlagSpecAllow LinuxSeccompFlag = "SECCOMP_FILTER_FLAG_SPEC_ALLOW"
646+
)
647+
635648
// Additional architectures permitted to be used for system calls
636649
// By default only the native architecture of the kernel is permitted
637650
const (

0 commit comments

Comments
 (0)