Signed-off-by: Alexander Morozov <lk4d4@docker.com> Upstream-commit: f9daecc880f371cf652fd64095d65f0fe35fb2f7 Component: engine
18 lines
292 B
Go
18 lines
292 B
Go
// +build linux
|
|
|
|
package daemon
|
|
|
|
import "github.com/opencontainers/runc/libcontainer/selinux"
|
|
|
|
func selinuxSetDisabled() {
|
|
selinux.SetDisabled()
|
|
}
|
|
|
|
func selinuxFreeLxcContexts(label string) {
|
|
selinux.FreeLxcContexts(label)
|
|
}
|
|
|
|
func selinuxEnabled() bool {
|
|
return selinux.SelinuxEnabled()
|
|
}
|