aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-10-27 09:35:41 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-10-27 09:35:41 -0400
commit64a8d6a7f771e6457f7998335a8b88d60fe2b6ab (patch)
tree709362b9b7465f371dc82c3c014ef1a3140c6309 /configure
parentRemove redundant read-only item (#3703) (diff)
downloadfirejail-64a8d6a7f771e6457f7998335a8b88d60fe2b6ab.tar.gz
firejail-64a8d6a7f771e6457f7998335a8b88d60fe2b6ab.tar.zst
firejail-64a8d6a7f771e6457f7998335a8b88d60fe2b6ab.zip
compile time option to disable --private-cache and --tmpfs for regular user
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 21 insertions, 4 deletions
diff --git a/configure b/configure
index 36890d837..75c2499a9 100755
--- a/configure
+++ b/configure
@@ -644,6 +644,7 @@ HAVE_PRIVATE_HOME
644HAVE_FIRETUNNEL 644HAVE_FIRETUNNEL
645HAVE_GAWK 645HAVE_GAWK
646HAVE_MAN 646HAVE_MAN
647HAVE_USERTMPFS
647HAVE_OVERLAYFS 648HAVE_OVERLAYFS
648HAVE_DBUSPROXY 649HAVE_DBUSPROXY
649EXTRA_LDFLAGS 650EXTRA_LDFLAGS
@@ -711,6 +712,7 @@ enable_analyzer
711enable_apparmor 712enable_apparmor
712enable_dbusproxy 713enable_dbusproxy
713enable_overlayfs 714enable_overlayfs
715enable_usertmpfs
714enable_man 716enable_man
715enable_firetunnel 717enable_firetunnel
716enable_private_home 718enable_private_home
@@ -1366,6 +1368,7 @@ Optional Features:
1366 --enable-apparmor enable apparmor 1368 --enable-apparmor enable apparmor
1367 --disable-dbusproxy disable dbus proxy 1369 --disable-dbusproxy disable dbus proxy
1368 --disable-overlayfs disable overlayfs 1370 --disable-overlayfs disable overlayfs
1371 --disable-usertmpfs disable tmpfs as regular user
1369 --disable-man disable man pages 1372 --disable-man disable man pages
1370 --disable-firetunnel disable firetunnel 1373 --disable-firetunnel disable firetunnel
1371 --disable-private-home disable private home feature 1374 --disable-private-home disable private home feature
@@ -3417,8 +3420,8 @@ if test "x$enable_apparmor" = "xyes"; then :
3417 HAVE_APPARMOR="-DHAVE_APPARMOR" 3420 HAVE_APPARMOR="-DHAVE_APPARMOR"
3418 3421
3419pkg_failed=no 3422pkg_failed=no
3420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libapparmor" >&5 3423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AA" >&5
3421$as_echo_n "checking for libapparmor... " >&6; } 3424$as_echo_n "checking for AA... " >&6; }
3422 3425
3423if test -n "$AA_CFLAGS"; then 3426if test -n "$AA_CFLAGS"; then
3424 pkg_cv_AA_CFLAGS="$AA_CFLAGS" 3427 pkg_cv_AA_CFLAGS="$AA_CFLAGS"
@@ -3458,7 +3461,7 @@ fi
3458 3461
3459 3462
3460if test $pkg_failed = yes; then 3463if test $pkg_failed = yes; then
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462$as_echo "no" >&6; } 3465$as_echo "no" >&6; }
3463 3466
3464if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3467if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -3485,7 +3488,7 @@ Alternatively, you may set the environment variables AA_CFLAGS
3485and AA_LIBS to avoid the need to call pkg-config. 3488and AA_LIBS to avoid the need to call pkg-config.
3486See the pkg-config man page for more details." "$LINENO" 5 3489See the pkg-config man page for more details." "$LINENO" 5
3487elif test $pkg_failed = untried; then 3490elif test $pkg_failed = untried; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489$as_echo "no" >&6; } 3492$as_echo "no" >&6; }
3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
@@ -3540,6 +3543,19 @@ if test "x$enable_overlayfs" != "xno"; then :
3540 3543
3541fi 3544fi
3542 3545
3546HAVE_USERTMPS=""
3547# Check whether --enable-usertmpfs was given.
3548if test "${enable_usertmpfs+set}" = set; then :
3549 enableval=$enable_usertmpfs;
3550fi
3551
3552if test "x$enable_usertmpfs" != "xno"; then :
3553
3554 HAVE_USERTMPFS="-DHAVE_USERTMPFS"
3555
3556
3557fi
3558
3543HAVE_MAN="no" 3559HAVE_MAN="no"
3544# Check whether --enable-man was given. 3560# Check whether --enable-man was given.
3545if test "${enable_man+set}" = set; then : 3561if test "${enable_man+set}" = set; then :
@@ -5464,6 +5480,7 @@ echo " private home support: $HAVE_PRIVATE_HOME"
5464echo " file transfer support: $HAVE_FILE_TRANSFER" 5480echo " file transfer support: $HAVE_FILE_TRANSFER"
5465echo " overlayfs support: $HAVE_OVERLAYFS" 5481echo " overlayfs support: $HAVE_OVERLAYFS"
5466echo " DBUS proxy support: $HAVE_DBUSPROXY" 5482echo " DBUS proxy support: $HAVE_DBUSPROXY"
5483echo " allow tmpfs as regular user: $HAVE_USERTMPFS"
5467echo " Manpage support: $HAVE_MAN" 5484echo " Manpage support: $HAVE_MAN"
5468echo " firetunnel support: $HAVE_FIRETUNNEL" 5485echo " firetunnel support: $HAVE_FIRETUNNEL"
5469echo " busybox workaround: $BUSYBOX_WORKAROUND" 5486echo " busybox workaround: $BUSYBOX_WORKAROUND"