Versions in this module Expand all Collapse all v1 v1.0.0 Jun 10, 2014 Changes in this version + const Disabled + const Enforcing + const Permissive + func CopyLevel(src, dest string) (string, error) + func FreeLxcContexts(scon string) + func GetLxcContexts() (processLabel string, fileLabel string) + func Getexeccon() (string, error) + func Getfscreatecon() (string, error) + func Getpidcon(pid int) (string, error) + func IntToMcs(id int, catRange uint32) string + func ReserveLabel(scon string) + func SecurityCheckContext(val string) error + func SelinuxEnabled() bool + func SelinuxGetEnforce() int + func SelinuxGetEnforceMode() int + func SetDisabled() + func Setexeccon(scon string) error + func Setfilecon(path string, scon string) error + func Setfscreatecon(scon string) error + type SELinuxContext map[string]string + func NewContext(scon string) SELinuxContext + func (c SELinuxContext) Get() string