func Setexeccon(scon string) error { return writeCon(fmt.Sprintf("/proc/self/task/%d/attr/exec", system.Gettid()), scon) }
func Getfscreatecon() (string, error) { return readCon(fmt.Sprintf("/proc/self/task/%d/attr/fscreate", system.Gettid())) }
// Return the SELinux label of the current process thread. func Getcon() (string, error) { return readCon(fmt.Sprintf("/proc/self/task/%d/attr/current", system.Gettid())) }
func Setfscreatecon(scon string) error { return writeCon(fmt.Sprintf("/proc/self/task/%d/attr/fscreate", system.Gettid()), scon) }