apparmor

package
v1.7.0-tar Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultLipodProfilePrefix is used for version-independent presence checks.
	DefaultLipodProfilePrefix = "libpod-default" + "-"
	// 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

func CheckProfileAndLoadDefault(name string) (string, error)

CheckProfileAndLoadDefault dummy.

func DefaultContent

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

DefaultContent dummy.

func InstallDefault

func InstallDefault(name string) error

InstallDefault dummy.

func IsEnabled

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