Merge pull request #8803 from kinvolk/rata/userns-sbserver
cri/sbserver: Add support for user namespaces (KEP-127)
This commit is contained in:
@@ -94,9 +94,6 @@ func TestPodUserNS(t *testing.T) {
|
||||
},
|
||||
} {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
if os.Getenv("ENABLE_CRI_SANDBOXES") == "'sandboxed'" {
|
||||
t.Skip("skipping test: userns not supported/needed in sanboxed runtimes")
|
||||
}
|
||||
cmd := exec.Command("true")
|
||||
cmd.SysProcAttr = &syscall.SysProcAttr{
|
||||
Cloneflags: syscall.CLONE_NEWUSER,
|
||||
|
||||
Reference in New Issue
Block a user