We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7350cd8 + 75acc7c commit b263a43Copy full SHA for b263a43
libcontainer/selinux/selinux.go
@@ -536,14 +536,14 @@ func DupSecOpt(src string) []string {
536
con["level"] == "" {
537
return nil
538
}
539
- return []string{"label=user:" + con["user"],
540
- "label=role:" + con["role"],
541
- "label=type:" + con["type"],
542
- "label=level:" + con["level"]}
+ return []string{"user:" + con["user"],
+ "role:" + con["role"],
+ "type:" + con["type"],
+ "level:" + con["level"]}
543
544
545
// DisableSecOpt returns a security opt that can be used to disabling SELinux
546
// labeling support for future container processes
547
func DisableSecOpt() []string {
548
- return []string{"label=disable"}
+ return []string{"disable"}
549
0 commit comments