Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arch ¶
type Arch string
Arch - architecture type Additional architectures permitted to be used for system calls By default only the native architecture of the kernel is permitted
type Architecture ¶
type Arg ¶
type Arg struct { Index uint `json:"index"` Value uint64 `json:"value"` ValueTwo uint64 `json:"valueTwo,omitempty"` Op Operator `json:"op"` }
Arg used for matching specific syscall arguments in Seccomp
type Filter ¶
type Filter struct { Caps []string `json:"caps,omitempty"` Arches []string `json:"arches,omitempty"` MinKernel string `json:"minKernel,omitempty"` }
Filter is used to conditionally apply Seccomp rules
type Seccomp ¶
type Seccomp struct { DefaultAction Action `json:"defaultAction"` Architectures []Arch `json:"architectures,omitempty"` ArchMap []Architecture `json:"archMap,omitempty"` Syscalls []*Syscall `json:"syscalls,omitempty"` }
Seccomp represents syscall restrictions
type Syscall ¶
type Syscall struct { Name string `json:"name,omitempty"` Names []string `json:"names,omitempty"` Action Action `json:"action"` Args []*Arg `json:"args,omitempty"` Comment string `json:"comment,omitempty"` Includes Filter `json:"includes,omitempty"` Excludes Filter `json:"excludes,omitempty"` }
Syscall is used to match a syscall in Seccomp
Click to show internal directories.
Click to hide internal directories.