package seccomp
import "github.com/docker/libnetwork/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/seccomp"
Index ¶
- Variables
- func ConvertStringToAction(in string) (configs.Action, error)
- func ConvertStringToArch(in string) (string, error)
- func ConvertStringToOperator(in string) (configs.Operator, error)
- func InitSeccomp(config *configs.Seccomp) error
Variables ¶
Functions ¶
func ConvertStringToAction ¶
ConvertStringToAction converts a string into a Seccomp rule match action. Actions use the names 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 ConvertStringToArch ¶
ConvertStringToArch converts a string into a Seccomp comparison arch.
func ConvertStringToOperator ¶
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 ¶
Seccomp not supported, do nothing
Source Files ¶
config.go seccomp_unsupported.go
- Version
- v0.7.0-dev.6
- Published
- Mar 11, 2016
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 11 hours ago –
Tools for package owners.