mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
Update to the latest tags to make sure they all work correctly. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
23 lines
581 B
Go
23 lines
581 B
Go
package apparmor
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"go.podman.io/common/version"
|
|
)
|
|
|
|
const (
|
|
// ProfilePrefix is used for version-independent presence checks.
|
|
ProfilePrefix = "containers-default-"
|
|
|
|
// Profile default name.
|
|
Profile = ProfilePrefix + version.Version
|
|
)
|
|
|
|
var (
|
|
// 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")
|
|
)
|