summaryrefslogtreecommitdiff
path: root/daemon/selinux_linux.go
blob: 1f7843ed1e9d00903441cadd7aaaea4fc2bab701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package daemon // import "github.com/docker/docker/daemon"

import selinux "github.com/opencontainers/selinux/go-selinux"

func selinuxSetDisabled() {
	selinux.SetDisabled()
}

func selinuxFreeLxcContexts(label string) {
	selinux.ReleaseLabel(label)
}

func selinuxEnabled() bool {
	return selinux.GetEnabled()
}