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()
|
|
}
|