github.com/portworx/docker@v1.12.1/daemon/selinux_linux.go (about)

     1  // +build linux
     2  
     3  package daemon
     4  
     5  import "github.com/opencontainers/runc/libcontainer/selinux"
     6  
     7  func selinuxSetDisabled() {
     8  	selinux.SetDisabled()
     9  }
    10  
    11  func selinuxFreeLxcContexts(label string) {
    12  	selinux.FreeLxcContexts(label)
    13  }
    14  
    15  func selinuxEnabled() bool {
    16  	return selinux.SelinuxEnabled()
    17  }