Merge pull request #1091 from giuseppe/rootless-unshare-mount-ns

rootless: unshare mount namespace
This commit is contained in:
Daniel J Walsh 2018-07-13 14:16:24 -04:00 committed by GitHub
commit 14a6d51a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ reexec_in_user_namespace(int ready)
sprintf (uid, "%d", geteuid ());
pid = syscall_clone (CLONE_NEWUSER|SIGCHLD, NULL);
pid = syscall_clone (CLONE_NEWUSER|CLONE_NEWNS|SIGCHLD, NULL);
if (pid)
return pid;