aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
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.ac
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.ac')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index c5243ed55..253749cd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,13 +102,8 @@ AS_IF([test "x$enable_globalcfg" != "xno"], [
102HAVE_NETWORK="" 102HAVE_NETWORK=""
103AC_ARG_ENABLE([network], 103AC_ARG_ENABLE([network],
104 AS_HELP_STRING([--disable-network], [disable network])) 104 AS_HELP_STRING([--disable-network], [disable network]))
105AC_ARG_ENABLE([network],
106 AS_HELP_STRING([--enable-network=restricted], [ restrict --net= to root only]))
107AS_IF([test "x$enable_network" != "xno"], [ 105AS_IF([test "x$enable_network" != "xno"], [
108 HAVE_NETWORK="-DHAVE_NETWORK" 106 HAVE_NETWORK="-DHAVE_NETWORK"
109 AS_IF([test "x$enable_network" = "xrestricted"], [
110 HAVE_NETWORK="$HAVE_NETWORK -DHAVE_NETWORK_RESTRICTED"
111 ])
112 AC_SUBST(HAVE_NETWORK) 107 AC_SUBST(HAVE_NETWORK)
113]) 108])
114 109