Skip to content

Commit

Permalink
Merge pull request opencontainers#1138 from saschagrunert/seccomp-fil…
Browse files Browse the repository at this point in the history
…ter-flags

Add available `LinuxSeccompFlag`s
  • Loading branch information
tianon authored Jul 18, 2022
2 parents 8d0d6d4 + e78a3c3 commit a8106e9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,19 @@ type Arch string
// LinuxSeccompFlag is a flag to pass to seccomp(2).
type LinuxSeccompFlag string

const (
// LinuxSeccompFlagLog is a seccomp flag to request all returned
// actions except SECCOMP_RET_ALLOW to be logged. An administrator may
// override this filter flag by preventing specific actions from being
// logged via the /proc/sys/kernel/seccomp/actions_logged file. (since
// Linux 4.14)
LinuxSeccompFlagLog LinuxSeccompFlag = "SECCOMP_FILTER_FLAG_LOG"

// LinuxSeccompFlagSpecAllow can be used to disable Speculative Store
// Bypass mitigation. (since Linux 4.17)
LinuxSeccompFlagSpecAllow LinuxSeccompFlag = "SECCOMP_FILTER_FLAG_SPEC_ALLOW"
)

// Additional architectures permitted to be used for system calls
// By default only the native architecture of the kernel is permitted
const (
Expand Down

0 comments on commit a8106e9

Please sign in to comment.