Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSeccompNotEnabled = errors.New("seccomp: config provided but seccomp not supported")
Functions ¶
func ConvertStringToAction ¶ added in v0.0.4
ConvertStringToAction converts a string into a Seccomp rule match action. Actions use the named they are assigned in Libseccomp's header, though some (notable, SCMP_ACT_TRACE) are not available in this implementation and will return errors. Attempting to convert a string that is not a valid action results in an error.
func ConvertStringToOperator ¶ added in v0.0.4
ConvertStringToOperator converts a string into a Seccomp comparison operator. Comparison operators use the names they are assigned by Libseccomp's header. Attempting to convert a string that is not a valid operator results in an error.
func InitSeccomp ¶ added in v0.0.4
Seccomp not supported, do nothing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.