diff options
author | Dmitry Chestnykh <d.chestnyh@omp.ru> | 2022-02-25 10:33:58 +0300 |
---|---|---|
committer | Dmitry Chestnyh <d.chestnyh@omp.ru> | 2022-02-28 23:26:36 +0300 |
commit | c238147fc1728bbd3479dd059049b4cfce54c7b8 (patch) | |
tree | 3b424cbcadc1ec2f67565f7b364a5ce96b993983 /configure | |
parent | RELNOTES: add bugfix/ci/docs (diff) | |
download | firejail-c238147fc1728bbd3479dd059049b4cfce54c7b8.tar.gz firejail-c238147fc1728bbd3479dd059049b4cfce54c7b8.tar.zst firejail-c238147fc1728bbd3479dd059049b4cfce54c7b8.zip |
Add ability to disable user profiles at compile time.
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_ONLY_SYSCFG_PROFILES | ||
631 | HAVE_FORCE_NONEWPRIVS | 632 | HAVE_FORCE_NONEWPRIVS |
632 | HAVE_CONTRIB_INSTALL | 633 | HAVE_CONTRIB_INSTALL |
633 | HAVE_GCOV | 634 | HAVE_GCOV |
@@ -732,6 +733,7 @@ enable_busybox_workaround | |||
732 | enable_gcov | 733 | enable_gcov |
733 | enable_contrib_install | 734 | enable_contrib_install |
734 | enable_force_nonewprivs | 735 | enable_force_nonewprivs |
736 | enable_only_syscfg_profiles | ||
735 | enable_lts | 737 | enable_lts |
736 | ' | 738 | ' |
737 | ac_precious_vars='build_alias | 739 | ac_precious_vars='build_alias |
@@ -1395,6 +1397,8 @@ Optional Features: | |||
1395 | install contrib scripts | 1397 | install contrib scripts |
1396 | --enable-force-nonewprivs | 1398 | --enable-force-nonewprivs |
1397 | enable force nonewprivs | 1399 | enable force nonewprivs |
1400 | --enable-only-syscfg-profiles | ||
1401 | disable profiles in $HOME/.config/firejail | ||
1398 | --enable-lts enable long-term support software version (LTS) | 1402 | --enable-lts enable long-term support software version (LTS) |
1399 | 1403 | ||
1400 | Some influential environment variables: | 1404 | Some influential environment variables: |
@@ -3830,6 +3834,19 @@ if test "x$enable_force_nonewprivs" = "xyes"; then : | |||
3830 | 3834 | ||
3831 | fi | 3835 | fi |
3832 | 3836 | ||
3837 | HAVE_ONLY_SYSCFG_PROFILES="" | ||
3838 | |||
3839 | # Check whether --enable-only-syscfg-profiles was given. | ||
3840 | if test "${enable_only_syscfg_profiles+set}" = set; then : | ||
3841 | enableval=$enable_only_syscfg_profiles; | ||
3842 | fi | ||
3843 | |||
3844 | if test "x$enable_only_syscfg_profiles" = "xyes"; then : | ||
3845 | |||
3846 | HAVE_ONLY_SYSCFG_PROFILES="-DHAVE_ONLY_SYSCFG_PROFILES" | ||
3847 | |||
3848 | fi | ||
3849 | |||
3833 | HAVE_LTS="" | 3850 | HAVE_LTS="" |
3834 | 3851 | ||
3835 | # Check whether --enable-lts was given. | 3852 | # Check whether --enable-lts was given. |
@@ -5497,6 +5514,7 @@ Configuration options: | |||
5497 | Install as a SUID executable: $HAVE_SUID | 5514 | Install as a SUID executable: $HAVE_SUID |
5498 | LTS: $HAVE_LTS | 5515 | LTS: $HAVE_LTS |
5499 | Always enforce filters: $HAVE_FORCE_NONEWPRIVS | 5516 | Always enforce filters: $HAVE_FORCE_NONEWPRIVS |
5517 | Disable user profiles: $HAVE_ONLY_SYSCFG_PROFILES | ||
5500 | 5518 | ||
5501 | EOF | 5519 | EOF |
5502 | 5520 | ||