moby/daemon/utils_nolinux.go
Dan Walsh 9e2eb0f1cc --selinux-enabled flag should be ignored on Disabled SELinux systems
On Fedora and RHEL we ship selinux-enabled flag in the docker.service config,
but if people setup the /var/lib/docker as btrfs and disable SELinux,
we should not block the daemon from running.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2014-09-23 13:21:25 -04:00

13 lines
157 B
Go

// +build !linux
package daemon
func selinuxSetDisabled() {
}
func selinuxFreeLxcContexts(label string) {
}
func selinuxEnabled() bool {
return false
}