Documentation ¶
Index ¶
- func DefaultFullPath() string
- func ParseArchitectureFlag(architectures string, config *types.Seccomp) error
- func ParseDefaultAction(action string, config *types.Seccomp) error
- func ParseSyscallFlag(action string, arguments string, config *types.Seccomp) error
- func RemoveAction(arguments string, config *types.Seccomp) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFullPath ¶
func DefaultFullPath() string
DefaultFullPath returns the default full path/name for output configuration files
func ParseArchitectureFlag ¶
ParseArchitectureFlag takes the raw string passed with the --arch flag, parses it and updates the Seccomp config accordingly
func ParseDefaultAction ¶
ParseDefaultAction simply sets the default action of the seccomp configuration
func ParseSyscallFlag ¶
ParseSyscallFlag takes the name of the action, the arguments (syscalls) that were passed with it at the command line and a pointer to the config struct. It parses the action and syscalls and updates the config accordingly
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.