docker/pkg/libcontainer/apparmor/apparmor_disabled.go

14 строки
167 B
Go

// +build !apparmor !linux !amd64
package apparmor
import ()
func IsEnabled() bool {
return false
}
func ApplyProfile(pid int, name string) error {
return nil
}