mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 14:20:23 -04:00
16 lines
305 B
Go
16 lines
305 B
Go
package daemon // import "github.com/docker/docker/daemon"
|
|
|
|
import "github.com/opencontainers/selinux/go-selinux"
|
|
|
|
func selinuxSetDisabled() {
|
|
selinux.SetDisabled()
|
|
}
|
|
|
|
func selinuxFreeLxcContexts(label string) {
|
|
selinux.ReleaseLabel(label)
|
|
}
|
|
|
|
func selinuxEnabled() bool {
|
|
return selinux.GetEnabled()
|
|
}
|