2018-02-05 21:05:59 +00:00
|
|
|
package daemon // import "github.com/docker/docker/daemon"
|
2014-03-08 02:42:29 +00:00
|
|
|
|
2017-04-18 13:26:36 +00:00
|
|
|
import "github.com/opencontainers/selinux/go-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) {
|
2017-04-18 13:26:36 +00:00
|
|
|
selinux.ReleaseLabel(label)
|
2015-07-10 01:47:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func selinuxEnabled() bool {
|
2017-04-18 13:26:36 +00:00
|
|
|
return selinux.GetEnabled()
|
2015-07-10 01:47:32 +00:00
|
|
|
}
|