summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-29 16:12:54 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-29 16:12:54 +0200
commit5e06e18e6a14a226afaa7b40c772c860777c1d29 (patch)
tree2893d02d890c969d3383fdbff255d2742818c5fb /common
parentf55bb0edc97a9d72b89e3a0165178946aa395b33 (diff)
downloadxdg-app-5e06e18e6a14a226afaa7b40c772c860777c1d29.tar.gz
run: Always use --unshare-user
This is the default if bwrap is unprivileged, but we want to use it also if its setuid.
Diffstat (limited to 'common')
-rw-r--r--common/xdg-app-run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/xdg-app-run.c b/common/xdg-app-run.c
index cb062e8..f0d7660 100644
--- a/common/xdg-app-run.c
+++ b/common/xdg-app-run.c
@@ -2633,6 +2633,7 @@ xdg_app_run_setup_base_argv (GPtrArray *argv_array,
add_args (argv_array,
"--unshare-pid",
+ "--unshare-user",
"--dev", "/dev",
"--proc", "/proc",
"--dir", "/tmp",