diff options
author | startx2017 <vradu.startx@yandex.com> | 2018-07-26 09:58:50 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2018-07-26 09:58:50 -0400 |
commit | 45d5fe7c2aa0d6e08f19dc9eacd50314530958fd (patch) | |
tree | 43322a6274c97e4677d657aa33a1dfc1e46d3583 /configure.ac | |
parent | Document #1945 (diff) | |
download | firejail-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.ac | 5 |
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"], [ | |||
102 | HAVE_NETWORK="" | 102 | HAVE_NETWORK="" |
103 | AC_ARG_ENABLE([network], | 103 | AC_ARG_ENABLE([network], |
104 | AS_HELP_STRING([--disable-network], [disable network])) | 104 | AS_HELP_STRING([--disable-network], [disable network])) |
105 | AC_ARG_ENABLE([network], | ||
106 | AS_HELP_STRING([--enable-network=restricted], [ restrict --net= to root only])) | ||
107 | AS_IF([test "x$enable_network" != "xno"], [ | 105 | AS_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 | ||