github.com/fcwu/docker@v1.4.2-0.20150115145920-2a69ca89f0df/daemon/utils_linux.go (about) 1 // +build linux 2 3 package daemon 4 5 import "github.com/docker/libcontainer/selinux" 6 7 func selinuxSetDisabled() { 8 selinux.SetDisabled() 9 } 10 11 func selinuxFreeLxcContexts(label string) { 12 selinux.FreeLxcContexts(label) 13 } 14 15 func selinuxEnabled() bool { 16 return selinux.SelinuxEnabled() 17 }