diff options
author | netblue30 <netblue30@yahoo.com> | 2016-02-24 07:56:09 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-02-24 07:56:09 -0500 |
commit | 4305351fc79f47a69ac57bd73266b89272802a71 (patch) | |
tree | f5db18bc6d6349898a03a25bfb63e975acec42f3 /configure.ac | |
parent | Merge pull request #317 from yumkam/fixup-ipv6-doc (diff) | |
parent | Add compile-time option to restrict --net= to root only (diff) | |
download | firejail-4305351fc79f47a69ac57bd73266b89272802a71.tar.gz firejail-4305351fc79f47a69ac57bd73266b89272802a71.tar.zst firejail-4305351fc79f47a69ac57bd73266b89272802a71.zip |
Merge pull request #319 from yumkam/network-restricted
Add compile-time option to restrict --net= to root only
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f9d0a3f65..f39b0d780 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -38,6 +38,9 @@ AC_ARG_ENABLE([network], | |||
38 | AS_HELP_STRING([--disable-network], [disable network])) | 38 | AS_HELP_STRING([--disable-network], [disable network])) |
39 | AS_IF([test "x$enable_network" != "xno"], [ | 39 | AS_IF([test "x$enable_network" != "xno"], [ |
40 | HAVE_NETWORK="-DHAVE_NETWORK" | 40 | HAVE_NETWORK="-DHAVE_NETWORK" |
41 | AS_IF([test "x$enable_network" = "xrestricted"], [ | ||
42 | HAVE_NETWORK="$HAVE_NETWORK -DHAVE_NETWORK_RESTRICTED" | ||
43 | ]) | ||
41 | AC_SUBST(HAVE_NETWORK) | 44 | AC_SUBST(HAVE_NETWORK) |
42 | ]) | 45 | ]) |
43 | 46 | ||