selinux/selinux.go
func DupSecOpt(src string) []string {
	if src == "" {
		return nil
	}
	con := NewContext(src)
	if con["user"] == "" ||
		con["role"] == "" ||
		con["type"] == "" ||
		con["level"] == "" {
		return nil
	}
	return []string{"label:user:" + con["user"],
		"label:role:" + con["role"],
		"label:type:" + con["type"],
		"label:level:" + con["level"]}
}
func DupSecOpt(src string) []string {
	if src == "" {
		return nil
	}
	con := NewContext(src)
	if con["user"] == "" ||
		con["role"] == "" ||
		con["type"] == "" ||
		con["level"] == "" {
		return nil
	}
	return []string{"label:user:" + con["user"],
		"label:role:" + con["role"],
		"label:type:" + con["type"],
		"label:level:" + con["level"]}
}
func DupSecOpt ( src string ) [ ] string { if src == " " { return nil } con := NewContext ( src ) if con [ " " ] == " " || con [ " " ] == " " || con [ " " ] == " " || con [ " " ] == " " { return nil } return [ ] string { " " + con [ " " ] , " " + con [ " " ] , " " + con [ " " ] , " " + con [ " " ] } }
// DupSecOpt takes an SELinux process label and returns security options that
// can will set the SELinux Type and Level for future container processes
DupSecOpt takes an SELinux process label and returns security options that can will set the SELinux Type and Level for future container processes