diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-24 10:52:57 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-24 10:52:57 +0200 |
commit | df4ae62d39d8e040273c9f0921678d1d5c5bf4b1 (patch) | |
tree | e336700466c3ed37d9a099cbf45dc7687df31d8f | |
parent | 2bdd130981ffafe56ab462b4e55f32c9072b5dee (diff) | |
download | bubblewrap-export/flatpak/0.6.2.tar.gz |
fixup! Make setuid + no-unprivileged user namespaces workexport/flatpak/0.6.2
-rw-r--r-- | bubblewrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bubblewrap.c b/bubblewrap.c index 4c9c392..99d75d8 100644 --- a/bubblewrap.c +++ b/bubblewrap.c @@ -359,7 +359,7 @@ do_init (int event_fd, pid_t initial_pid) } /* low 32bit caps needed */ -#define REQUIRED_CAPS_0 (CAP_TO_MASK (CAP_SYS_ADMIN) | CAP_TO_MASK (CAP_SYS_CHROOT) | CAP_TO_MASK (CAP_SETUID) | CAP_TO_MASK (CAP_SETGID)) +#define REQUIRED_CAPS_0 (CAP_TO_MASK (CAP_SYS_ADMIN) | CAP_TO_MASK (CAP_SYS_CHROOT) | CAP_TO_MASK (CAP_NET_ADMIN) | CAP_TO_MASK (CAP_SETUID) | CAP_TO_MASK (CAP_SETGID)) /* high 32bit caps needed */ #define REQUIRED_CAPS_1 0 |