aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2018-07-26 09:58:50 -0400
committerLibravatar startx2017 <vradu.startx@yandex.com>2018-07-26 09:58:50 -0400
commit45d5fe7c2aa0d6e08f19dc9eacd50314530958fd (patch)
tree43322a6274c97e4677d657aa33a1dfc1e46d3583 /configure
parentDocument #1945 (diff)
downloadfirejail-45d5fe7c2aa0d6e08f19dc9eacd50314530958fd.tar.gz
firejail-45d5fe7c2aa0d6e08f19dc9eacd50314530958fd.tar.zst
firejail-45d5fe7c2aa0d6e08f19dc9eacd50314530958fd.zip
removed compile time --enable-network=restricted, --net=none allowed even if networking was disabled at compile time or at run time, fixed issue #2061
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 0 insertions, 12 deletions
diff --git a/configure b/configure
index 2a7efcb6f..b57720fd1 100755
--- a/configure
+++ b/configure
@@ -1356,8 +1356,6 @@ Optional Features:
1356 --disable-globalcfg if the global config file firejail.cfg is not 1356 --disable-globalcfg if the global config file firejail.cfg is not
1357 present, continue the program using defaults 1357 present, continue the program using defaults
1358 --disable-network disable network 1358 --disable-network disable network
1359 --enable-network=restricted
1360 restrict --net= to root only
1361 --disable-userns disable user namespace 1359 --disable-userns disable user namespace
1362 --disable-x11 disable X11 sandboxing support 1360 --disable-x11 disable X11 sandboxing support
1363 --disable-file-transfer disable file transfer 1361 --disable-file-transfer disable file transfer
@@ -3660,19 +3658,9 @@ if test "${enable_network+set}" = set; then :
3660 enableval=$enable_network; 3658 enableval=$enable_network;
3661fi 3659fi
3662 3660
3663# Check whether --enable-network was given.
3664if test "${enable_network+set}" = set; then :
3665 enableval=$enable_network;
3666fi
3667
3668if test "x$enable_network" != "xno"; then : 3661if test "x$enable_network" != "xno"; then :
3669 3662
3670 HAVE_NETWORK="-DHAVE_NETWORK" 3663 HAVE_NETWORK="-DHAVE_NETWORK"
3671 if test "x$enable_network" = "xrestricted"; then :
3672
3673 HAVE_NETWORK="$HAVE_NETWORK -DHAVE_NETWORK_RESTRICTED"
3674
3675fi
3676 3664
3677 3665
3678fi 3666fi