diff options
author | 2016-06-09 08:42:59 -0400 | |
---|---|---|
committer | 2016-06-09 08:42:59 -0400 | |
commit | d073a425b3e3ed3829a0e042e8c41963f0f40f0e (patch) | |
tree | 3241c3053a4d3ccba63c633015fddb6e21c9cf74 /configure | |
parent | fixes (diff) | |
download | firejail-d073a425b3e3ed3829a0e042e8c41963f0f40f0e.tar.gz firejail-d073a425b3e3ed3829a0e042e8c41963f0f40f0e.tar.zst firejail-d073a425b3e3ed3829a0e042e8c41963f0f40f0e.zip |
whitelist support in /etc/firejail/firejail.config
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -629,6 +629,7 @@ EGREP | |||
629 | GREP | 629 | GREP |
630 | CPP | 630 | CPP |
631 | HAVE_FATAL_WARNINGS | 631 | HAVE_FATAL_WARNINGS |
632 | HAVE_WHITELIST | ||
632 | HAVE_FILE_TRANSFER | 633 | HAVE_FILE_TRANSFER |
633 | HAVE_X11 | 634 | HAVE_X11 |
634 | HAVE_USERNS | 635 | HAVE_USERNS |
@@ -695,6 +696,7 @@ enable_network | |||
695 | enable_userns | 696 | enable_userns |
696 | enable_x11 | 697 | enable_x11 |
697 | enable_file_transfer | 698 | enable_file_transfer |
699 | enable_whitelist | ||
698 | enable_fatal_warnings | 700 | enable_fatal_warnings |
699 | ' | 701 | ' |
700 | ac_precious_vars='build_alias | 702 | ac_precious_vars='build_alias |
@@ -1324,6 +1326,7 @@ Optional Features: | |||
1324 | --disable-userns disable user namespace | 1326 | --disable-userns disable user namespace |
1325 | --disable-x11 disable X11 sandboxing support | 1327 | --disable-x11 disable X11 sandboxing support |
1326 | --disable-file-transfer disable file transfer | 1328 | --disable-file-transfer disable file transfer |
1329 | --disable-whitelist disable whitelist | ||
1327 | --enable-fatal-warnings -W -Wall -Werror | 1330 | --enable-fatal-warnings -W -Wall -Werror |
1328 | 1331 | ||
1329 | Some influential environment variables: | 1332 | Some influential environment variables: |
@@ -3163,6 +3166,19 @@ if test "x$enable_file_transfer" != "xno"; then : | |||
3163 | 3166 | ||
3164 | fi | 3167 | fi |
3165 | 3168 | ||
3169 | HAVE_WHITELIST="" | ||
3170 | # Check whether --enable-whitelist was given. | ||
3171 | if test "${enable_whitelist+set}" = set; then : | ||
3172 | enableval=$enable_whitelist; | ||
3173 | fi | ||
3174 | |||
3175 | if test "x$enable_whitelist" != "xno"; then : | ||
3176 | |||
3177 | HAVE_WHITELIST="-DHAVE_WHITELIST" | ||
3178 | |||
3179 | |||
3180 | fi | ||
3181 | |||
3166 | HAVE_FATAL_WARNINGS="" | 3182 | HAVE_FATAL_WARNINGS="" |
3167 | # Check whether --enable-fatal_warnings was given. | 3183 | # Check whether --enable-fatal_warnings was given. |
3168 | if test "${enable_fatal_warnings+set}" = set; then : | 3184 | if test "${enable_fatal_warnings+set}" = set; then : |
@@ -4823,6 +4839,7 @@ echo " bind: $HAVE_BIND" | |||
4823 | echo " network: $HAVE_NETWORK" | 4839 | echo " network: $HAVE_NETWORK" |
4824 | echo " user namespace: $HAVE_USERNS" | 4840 | echo " user namespace: $HAVE_USERNS" |
4825 | echo " X11 sandboxing support: $HAVE_X11" | 4841 | echo " X11 sandboxing support: $HAVE_X11" |
4842 | echo " whitelisting: $HAVE_WHITELIST" | ||
4826 | echo " file transfer support: $HAVE_FILE_TRANSFER" | 4843 | echo " file transfer support: $HAVE_FILE_TRANSFER" |
4827 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" | 4844 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" |
4828 | echo | 4845 | echo |