package seccomp

import "github.com/dotcloud/docker/profiles/seccomp"

Index

Functions

func DefaultProfile

func DefaultProfile(rs *specs.Spec) *types.Seccomp

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

func LoadProfile(body string, rs *specs.Spec) (*specs.Seccomp, error)

LoadProfile takes a file path and decodes the seccomp profile.

Source Files

seccomp.go seccomp_unsupported.go

Version
v1.13.1-rc1
Published
Jan 27, 2017
Platform
linux/amd64
Imports
7 packages
Last checked
1 hour ago

Tools for package owners.