package seccomp

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

Index

Variables

var (
	// DefaultProfile is a nil pointer on unsupported systems.
	DefaultProfile *types.Seccomp
)

Functions

func GetDefaultProfile

func GetDefaultProfile() (*specs.Seccomp, error)

GetDefaultProfile returns the default seccomp profile.

func LoadProfile

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

LoadProfile takes a file path and decodes the seccomp profile.

Source Files

seccomp.go seccomp_unsupported.go

Version
v1.11.1-rc1
Published
Apr 26, 2016
Platform
linux/amd64
Imports
4 packages
Last checked
5 hours ago

Tools for package owners.