diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-07-13 14:16:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 14:16:24 -0400 |
commit | 14a6d51a8432fc0c3324fec02e8729d3032f2af2 (patch) | |
tree | 72ccd4dd21f53830368277b5b1e909f8d0ab3e68 | |
parent | 673465a7475f2c4ed6bfe06c481ecc99a2510c30 (diff) | |
parent | 6ffcb98a70b94636d57bef515d5e2fbd9efefa0b (diff) | |
download | podman-14a6d51a8432fc0c3324fec02e8729d3032f2af2.tar.gz podman-14a6d51a8432fc0c3324fec02e8729d3032f2af2.tar.bz2 podman-14a6d51a8432fc0c3324fec02e8729d3032f2af2.zip |
Merge pull request #1091 from giuseppe/rootless-unshare-mount-ns
rootless: unshare mount namespace
-rw-r--r-- | pkg/rootless/rootless_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c index d08c6c875..465feeb57 100644 --- a/pkg/rootless/rootless_linux.c +++ b/pkg/rootless/rootless_linux.c @@ -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; |