apparmor

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultLipodProfilePrefix is used for version-independent presence checks.
	DefaultLipodProfilePrefix = config.DefaultApparmorProfile
	// DefaultLibpodProfile is the name of default libpod AppArmor profile.
	DefaultLibpodProfile = DefaultLipodProfilePrefix + "-" + libpodVersion.Version
	// ErrApparmorUnsupported indicates that AppArmor support is not supported.
	ErrApparmorUnsupported = errors.New("AppArmor is not supported")
	// ErrApparmorRootless indicates that AppArmor support is not supported in rootless mode.
	ErrApparmorRootless = errors.New("AppArmor is not supported in rootless mode")
)

Functions

func CheckProfileAndLoadDefault added in v1.0.0

func CheckProfileAndLoadDefault(name string) (string, error)

CheckProfileAndLoadDefault dummy.

func DefaultContent added in v1.5.0

func DefaultContent(name string) ([]byte, error)

DefaultContent dummy.

func InstallDefault

func InstallDefault(name string) error

InstallDefault dummy.

func IsEnabled added in v0.7.4

func IsEnabled() bool

IsEnabled dummy.

func IsLoaded

func IsLoaded(name string) (bool, error)

IsLoaded dummy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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