package seccomp
import "github.com/containerd/containerd/contrib/seccomp"
Index ¶
- func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp
- func WithDefaultProfile() oci.SpecOpts
- func WithProfile(profile string) oci.SpecOpts
Functions ¶
func DefaultProfile ¶
func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp
DefaultProfile defines the whitelist for the default seccomp profile.
func WithDefaultProfile ¶
WithDefaultProfile sets the default seccomp profile to the spec. Note: must follow the setting of process capabilities
func WithProfile ¶
WithProfile receives the name of a file stored on disk comprising a json formatted seccomp profile, as specified by the opencontainers/runtime-spec. The profile is read from the file, unmarshaled, and set to the spec.
Source Files ¶
- Version
- v1.2.13
- Published
- Feb 18, 2020
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 35 minutes ago –
Tools for package owners.