package seccomp
import "github.com/dotcloud/docker/profiles/seccomp"
Index ¶
- func DefaultProfile(rs *specs.Spec) *types.Seccomp
- func GetDefaultProfile(rs *specs.Spec) (*specs.Seccomp, error)
- func LoadProfile(body string, rs *specs.Spec) (*specs.Seccomp, error)
Functions ¶
func DefaultProfile ¶
DefaultProfile returns a nil pointer on unsupported systems.
func GetDefaultProfile ¶
func GetDefaultProfile(rs *specs.Spec) (*specs.Seccomp, error)
GetDefaultProfile returns the default seccomp profile.
func LoadProfile ¶
LoadProfile takes a file path and decodes the seccomp profile.
Source Files ¶
seccomp.go seccomp_unsupported.go
- Version
- v1.13.0
- Published
- Jan 17, 2017
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 2 hours ago –
Tools for package owners.