1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/apparmor/apparmor_disabled.go
Michael Crosby 76fa7d588a Apply apparmor before restrictions
There is not need for the remount hack, we use aa_change_onexec so the
apparmor profile is not applied until we exec the users app.
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-05-01 19:09:12 -07:00

11 lines
147 B
Go

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