ociseccompgen

package
v0.0.0-...-75ef45b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2017 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func ParseArchitectureFlag(architectures string, config *types.Seccomp) error

ParseArchitectureFlag takes the raw string passed with the --arch flag, parses it and updates the Seccomp config accordingly

func ParseDefaultAction

func ParseDefaultAction(action string, config *types.Seccomp) error

ParseDefaultAction simply sets the default action of the seccomp configuration

func ParseSyscallFlag

func ParseSyscallFlag(action string, arguments string, config *types.Seccomp) error

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

func RemoveAction

func RemoveAction(arguments string, config *types.Seccomp) error

RemoveAction takes the argument string that was passed with the --remove flag, parses it, and updates the Seccomp config accordingly

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL