2015-07-10 01:47:32 +00:00
|
|
|
// +build linux
|
|
|
|
|
2014-04-17 21:43:01 +00:00
|
|
|
package daemon
|
2014-03-08 02:42:29 +00:00
|
|
|
|
2015-11-04 19:39:12 +00:00
|
|
|
import "github.com/opencontainers/runc/libcontainer/selinux"
|
2014-03-08 02:42:29 +00:00
|
|
|
|
2015-07-10 01:47:32 +00:00
|
|
|
func selinuxSetDisabled() {
|
|
|
|
selinux.SetDisabled()
|
|
|
|
}
|
|
|
|
|
|
|
|
func selinuxFreeLxcContexts(label string) {
|
|
|
|
selinux.FreeLxcContexts(label)
|
|
|
|
}
|
|
|
|
|
|
|
|
func selinuxEnabled() bool {
|
|
|
|
return selinux.SelinuxEnabled()
|
|
|
|
}
|