mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
abbbf91498
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
17 lines
278 B
Go
17 lines
278 B
Go
// +build linux
|
|
|
|
package daemon
|
|
|
|
import "github.com/opencontainers/selinux/go-selinux"
|
|
|
|
func selinuxSetDisabled() {
|
|
selinux.SetDisabled()
|
|
}
|
|
|
|
func selinuxFreeLxcContexts(label string) {
|
|
selinux.ReleaseLabel(label)
|
|
}
|
|
|
|
func selinuxEnabled() bool {
|
|
return selinux.GetEnabled()
|
|
}
|