apparmor

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 379

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IsEnabled returns true if apparmor is enabled for the host.
	IsEnabled = isEnabled

	// ApplyProfile will apply the profile with the specified name to the process after
	// the next exec. It is only supported on Linux and produces an ErrApparmorNotEnabled
	// on other platforms.
	ApplyProfile = applyProfile

	// ErrApparmorNotEnabled indicates that AppArmor is not enabled or not supported.
	ErrApparmorNotEnabled = errors.New("apparmor: config provided but apparmor not supported")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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