Initial commit
This commit is contained in:
17
vendor/github.com/hyperhq/hypercli/daemon/selinux_linux.go
generated
vendored
Normal file
17
vendor/github.com/hyperhq/hypercli/daemon/selinux_linux.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// +build linux
|
||||
|
||||
package daemon
|
||||
|
||||
import "github.com/opencontainers/runc/libcontainer/selinux"
|
||||
|
||||
func selinuxSetDisabled() {
|
||||
selinux.SetDisabled()
|
||||
}
|
||||
|
||||
func selinuxFreeLxcContexts(label string) {
|
||||
selinux.FreeLxcContexts(label)
|
||||
}
|
||||
|
||||
func selinuxEnabled() bool {
|
||||
return selinux.SelinuxEnabled()
|
||||
}
|
||||
Reference in New Issue
Block a user