2018-02-05 16:05:59 -05:00
|
|
|
package daemon // import "github.com/docker/docker/daemon"
|
2014-03-07 21:42:29 -05:00
|
|
|
|
2019-08-05 10:37:47 -04:00
|
|
|
import selinux "github.com/opencontainers/selinux/go-selinux"
|
2014-03-07 21:42:29 -05:00
|
|
|
|
2015-07-09 21:47:32 -04:00
|
|
|
func selinuxSetDisabled() {
|
|
|
|
selinux.SetDisabled()
|
|
|
|
}
|
|
|
|
|
|
|
|
func selinuxFreeLxcContexts(label string) {
|
2017-04-18 09:26:36 -04:00
|
|
|
selinux.ReleaseLabel(label)
|
2015-07-09 21:47:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
func selinuxEnabled() bool {
|
2017-04-18 09:26:36 -04:00
|
|
|
return selinux.GetEnabled()
|
2015-07-09 21:47:32 -04:00
|
|
|
}
|