mirror of
https://github.com/containers/podman.git
synced 2025-07-18 01:57:24 +08:00
Merge pull request #1091 from giuseppe/rootless-unshare-mount-ns
rootless: unshare mount namespace
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user