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 | |
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')
-rwxr-xr-x | configure | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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; |
3661 | fi | 3659 | fi |
3662 | 3660 | ||
3663 | # Check whether --enable-network was given. | ||
3664 | if test "${enable_network+set}" = set; then : | ||
3665 | enableval=$enable_network; | ||
3666 | fi | ||
3667 | |||
3668 | if test "x$enable_network" != "xno"; then : | 3661 | if 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 | |||
3675 | fi | ||
3676 | 3664 | ||
3677 | 3665 | ||
3678 | fi | 3666 | fi |