mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
c064304692
This prevents having to maintain GoDoc for the stub implementations, and makes sure that the "stub" implementations have the same signature as the "non-stub" versions. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
181 B
Go
15 lines
181 B
Go
// +build !linux
|
|
|
|
package apparmor
|
|
|
|
func isEnabled() bool {
|
|
return false
|
|
}
|
|
|
|
func applyProfile(name string) error {
|
|
if name != "" {
|
|
return ErrApparmorNotEnabled
|
|
}
|
|
return nil
|
|
}
|