diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-03-01 12:40:02 +0100 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-03-01 12:40:02 +0100 |
commit | b02d8f91c7fa2ba7c0e0b8a255952d4c8c86fc5e (patch) | |
tree | e50efc1e1dcb77e7b250fab9b0a50ca4b2082acf /configure | |
parent | fixes (diff) | |
download | firejail-b02d8f91c7fa2ba7c0e0b8a255952d4c8c86fc5e.tar.gz firejail-b02d8f91c7fa2ba7c0e0b8a255952d4c8c86fc5e.tar.zst firejail-b02d8f91c7fa2ba7c0e0b8a255952d4c8c86fc5e.zip |
Add ./configure --enable-force-nonewprivs
This will always set 'nonewprivs', 'caps.drop all' and 'nogroups'.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -628,6 +628,7 @@ EGREP | |||
628 | GREP | 628 | GREP |
629 | CPP | 629 | CPP |
630 | HAVE_LTS | 630 | HAVE_LTS |
631 | HAVE_FORCE_NONEWPRIVS | ||
631 | HAVE_CONTRIB_INSTALL | 632 | HAVE_CONTRIB_INSTALL |
632 | HAVE_GCOV | 633 | HAVE_GCOV |
633 | BUSYBOX_WORKAROUND | 634 | BUSYBOX_WORKAROUND |
@@ -731,6 +732,7 @@ enable_fatal_warnings | |||
731 | enable_busybox_workaround | 732 | enable_busybox_workaround |
732 | enable_gcov | 733 | enable_gcov |
733 | enable_contrib_install | 734 | enable_contrib_install |
735 | enable_force_nonewprivs | ||
734 | enable_lts | 736 | enable_lts |
735 | ' | 737 | ' |
736 | ac_precious_vars='build_alias | 738 | ac_precious_vars='build_alias |
@@ -1391,6 +1393,8 @@ Optional Features: | |||
1391 | --enable-gcov Gcov instrumentation | 1393 | --enable-gcov Gcov instrumentation |
1392 | --enable-contrib-install | 1394 | --enable-contrib-install |
1393 | install contrib scripts | 1395 | install contrib scripts |
1396 | --enable-force-nonewprivs | ||
1397 | enable force nonewprivs | ||
1394 | --enable-lts enable long-term support software version (LTS) | 1398 | --enable-lts enable long-term support software version (LTS) |
1395 | 1399 | ||
1396 | Some influential environment variables: | 1400 | Some influential environment variables: |
@@ -3825,6 +3829,19 @@ else | |||
3825 | fi | 3829 | fi |
3826 | 3830 | ||
3827 | 3831 | ||
3832 | HAVE_FORCE_NONEWPRIVS="" | ||
3833 | # Check whether --enable-force-nonewprivs was given. | ||
3834 | if test "${enable_force_nonewprivs+set}" = set; then : | ||
3835 | enableval=$enable_force_nonewprivs; | ||
3836 | fi | ||
3837 | |||
3838 | if test "x$enable_force_nonewprivs" = "xyes"; then : | ||
3839 | |||
3840 | HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" | ||
3841 | |||
3842 | |||
3843 | fi | ||
3844 | |||
3828 | HAVE_LTS="" | 3845 | HAVE_LTS="" |
3829 | # Check whether --enable-lts was given. | 3846 | # Check whether --enable-lts was given. |
3830 | if test "${enable_lts+set}" = set; then : | 3847 | if test "${enable_lts+set}" = set; then : |
@@ -5573,6 +5590,7 @@ echo " Gcov instrumentation: $HAVE_GCOV" | |||
5573 | echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL" | 5590 | echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL" |
5574 | echo " Install as a SUID executable: $HAVE_SUID" | 5591 | echo " Install as a SUID executable: $HAVE_SUID" |
5575 | echo " LTS: $HAVE_LTS" | 5592 | echo " LTS: $HAVE_LTS" |
5593 | echo " Always enforce filters: $HAVE_FORCE_NONEWPRIVS" | ||
5576 | echo | 5594 | echo |
5577 | 5595 | ||
5578 | 5596 | ||