github.com/tsuna/docker@v1.7.0-rc3/daemon/utils_linux.go (about)

     1  // +build linux
     2  
     3  package daemon
     4  
     5  import "github.com/docker/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  }