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) Upstream-commit: 76fa7d588adfe644824d9a00dafce2d2991a7013 Component: engine
12 lines
147 B
Go
12 lines
147 B
Go
// +build !apparmor !linux !amd64
|
|
|
|
package apparmor
|
|
|
|
func IsEnabled() bool {
|
|
return false
|
|
}
|
|
|
|
func ApplyProfile(name string) error {
|
|
return nil
|
|
}
|