seccomp

package
v0.0.0-...-4af5f65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2017 License: Apache-2.0, CC-BY-4.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultProfile

func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp

DefaultProfile defines the whitelist for the default seccomp profile.

func WithDefaultProfile

func WithDefaultProfile() containerd.SpecOpts

WithDefaultProfile sets the default seccomp profile to the spec. Note: must follow the setting of process capabilities

func WithProfile

func WithProfile(profile string) containerd.SpecOpts

WithProfile receives the name of a file stored on disk comprising a json formated seccomp profile, as specified by the opencontainers/runtime-spec. The profile is read from the file, unmarshaled, and set to the spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL