Remove old --with-priv-mode=caps

This doesn't work anymore

(cherry picked from commit 55553af813)
This commit is contained in:
Alexander Larsson committed 2017-02-06 14:55:36 +01:00
1 parent 3bd1405364
commit 481b766823
2 files changed
+1 -6

No files matched your search

-4
View File
@@ -107,10 +107,6 @@ if !WITH_SYSTEM_BWRAP
if PRIV_MODE_SETUID
$(SUDO_BIN) chown root $(DESTDIR)$(libexecdir)/flatpak-bwrap
$(SUDO_BIN) chmod u+s $(DESTDIR)$(libexecdir)/flatpak-bwrap
else
if PRIV_MODE_FILECAPS
$(SUDO_BIN) setcap cap_sys_admin,cap_net_admin,cap_sys_chroot,cap_setuid,cap_setgid+ep $(DESTDIR)$(libexecdir)/flatpak-bwrap
endif # PRIV_MODE_FILECAPS
endif # !PRIV_MODE_SETUID
endif # !WITH_SYSTEM_BWRAP
+1 -2
View File
@@ -206,12 +206,11 @@ if test "x$enable_seccomp" = "xyes"; then
fi
AC_ARG_WITH(priv-mode,
AS_HELP_STRING([--with-priv-mode=setuid/caps/none],
AS_HELP_STRING([--with-priv-mode=setuid/none],
[How to set privilege-raising during install (only needed if userns not working)]),
[],
[with_priv_mode="none"])
AM_CONDITIONAL(PRIV_MODE_FILECAPS, test "x$with_priv_mode" = "xcaps")
AM_CONDITIONAL(PRIV_MODE_SETUID, test "x$with_priv_mode" = "xsetuid")
AC_ARG_ENABLE(sudo,