package seccomp
import "github.com/docker/cli/components/engine/profiles/seccomp"
Index ¶
- func DefaultProfile() *types.Seccomp
- func GetDefaultProfile(rs *specs.Spec) (*specs.LinuxSeccomp, error)
- func LoadProfile(body string, rs *specs.Spec) (*specs.LinuxSeccomp, error)
Functions ¶
func DefaultProfile ¶
DefaultProfile returns a nil pointer on unsupported systems.
func GetDefaultProfile ¶
func GetDefaultProfile(rs *specs.Spec) (*specs.LinuxSeccomp, error)
GetDefaultProfile returns the default seccomp profile.
func LoadProfile ¶
LoadProfile takes a json string and decodes the seccomp profile.
Source Files ¶
seccomp.go seccomp_unsupported.go
- Version
- v17.11.0-ce-rc1+incompatible
- Published
- Oct 31, 2017
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 12 hours ago –
Tools for package owners.