aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-06-12 07:27:21 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-06-12 07:27:21 -0400
commitd28f1d7157c87076771498f062f5af7e932bd20f (patch)
tree60761b47463e090cebc5391163506f52cdde34ec /configure
parentMerge pull request #564 from probonopd/patch-1 (diff)
downloadfirejail-d28f1d7157c87076771498f062f5af7e932bd20f.tar.gz
firejail-d28f1d7157c87076771498f062f5af7e932bd20f.tar.zst
firejail-d28f1d7157c87076771498f062f5af7e932bd20f.zip
support to disable enforcing firejail.config
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure b/configure
index da7d370d3..ca0704e91 100755
--- a/configure
+++ b/configure
@@ -634,6 +634,7 @@ HAVE_FILE_TRANSFER
634HAVE_X11 634HAVE_X11
635HAVE_USERNS 635HAVE_USERNS
636HAVE_NETWORK 636HAVE_NETWORK
637HAVE_GLOBALCFG
637HAVE_BIND 638HAVE_BIND
638HAVE_CHROOT 639HAVE_CHROOT
639HAVE_SECCOMP 640HAVE_SECCOMP
@@ -692,6 +693,7 @@ enable_option_checking
692enable_seccomp 693enable_seccomp
693enable_chroot 694enable_chroot
694enable_bind 695enable_bind
696enable_globalcfg
695enable_network 697enable_network
696enable_userns 698enable_userns
697enable_x11 699enable_x11
@@ -1320,6 +1322,8 @@ Optional Features:
1320 --disable-seccomp disable seccomp 1322 --disable-seccomp disable seccomp
1321 --disable-chroot disable chroot 1323 --disable-chroot disable chroot
1322 --disable-bind disable bind 1324 --disable-bind disable bind
1325 --disable-globalcfg disable global config file
1326 (/etc/firejail/firejail.cfg)
1323 --disable-network disable network 1327 --disable-network disable network
1324 --enable-network=restricted 1328 --enable-network=restricted
1325 restrict --net= to root only 1329 restrict --net= to root only
@@ -3104,6 +3108,19 @@ if test "x$enable_bind" != "xno"; then :
3104 3108
3105fi 3109fi
3106 3110
3111HAVE_GLOBALCFG=""
3112# Check whether --enable-globalcfg was given.
3113if test "${enable_globalcfg+set}" = set; then :
3114 enableval=$enable_globalcfg;
3115fi
3116
3117if test "x$enable_globalcfg" != "xno"; then :
3118
3119 HAVE_GLOBALCFG="-DHAVE_GLOBALCFG"
3120
3121
3122fi
3123
3107HAVE_NETWORK="" 3124HAVE_NETWORK=""
3108# Check whether --enable-network was given. 3125# Check whether --enable-network was given.
3109if test "${enable_network+set}" = set; then : 3126if test "${enable_network+set}" = set; then :
@@ -4834,6 +4851,7 @@ echo " prefix: $prefix"
4834echo " sysconfdir: $sysconfdir" 4851echo " sysconfdir: $sysconfdir"
4835echo " seccomp: $HAVE_SECCOMP" 4852echo " seccomp: $HAVE_SECCOMP"
4836echo " <linux/seccomp.h>: $HAVE_SECCOMP_H" 4853echo " <linux/seccomp.h>: $HAVE_SECCOMP_H"
4854echo " global config: $HAVE_GLOBALCFG"
4837echo " chroot: $HAVE_CHROOT" 4855echo " chroot: $HAVE_CHROOT"
4838echo " bind: $HAVE_BIND" 4856echo " bind: $HAVE_BIND"
4839echo " network: $HAVE_NETWORK" 4857echo " network: $HAVE_NETWORK"