add selinux label for runc exec

Signed-off-by: lifubang <lifubang@acmcoder.com>
This commit is contained in:
lifubang
2019-04-03 12:08:06 +08:00
parent da2021132b
commit 3e6688f5c9
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -224,5 +224,5 @@ func getProcess(context *cli.Context, bundle string) (*specs.Process, error) {
}
p.User.AdditionalGids = append(p.User.AdditionalGids, uint32(gid))
}
return p, nil
return p, validateProcessSpec(p)
}