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.ac | |
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.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0ae9362cc..4ca30e6d7 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -237,6 +237,14 @@ AS_IF([test "x$enable_force_nonewprivs" = "xyes"], [ | |||
237 | HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" | 237 | HAVE_FORCE_NONEWPRIVS="-DHAVE_FORCE_NONEWPRIVS" |
238 | ]) | 238 | ]) |
239 | 239 | ||
240 | HAVE_ONLY_SYSCFG_PROFILES="" | ||
241 | AC_SUBST([HAVE_ONLY_SYSCFG_PROFILES]) | ||
242 | AC_ARG_ENABLE([only-syscfg-profiles], | ||
243 | [AS_HELP_STRING([--enable-only-syscfg-profiles], [disable profiles in $HOME/.config/firejail])]) | ||
244 | AS_IF([test "x$enable_only_syscfg_profiles" = "xyes"], [ | ||
245 | HAVE_ONLY_SYSCFG_PROFILES="-DHAVE_ONLY_SYSCFG_PROFILES" | ||
246 | ]) | ||
247 | |||
240 | HAVE_LTS="" | 248 | HAVE_LTS="" |
241 | AC_SUBST([HAVE_LTS]) | 249 | AC_SUBST([HAVE_LTS]) |
242 | AC_ARG_ENABLE([lts], | 250 | AC_ARG_ENABLE([lts], |
@@ -305,6 +313,7 @@ Configuration options: | |||
305 | Install as a SUID executable: $HAVE_SUID | 313 | Install as a SUID executable: $HAVE_SUID |
306 | LTS: $HAVE_LTS | 314 | LTS: $HAVE_LTS |
307 | Always enforce filters: $HAVE_FORCE_NONEWPRIVS | 315 | Always enforce filters: $HAVE_FORCE_NONEWPRIVS |
316 | Disable user profiles: $HAVE_ONLY_SYSCFG_PROFILES | ||
308 | 317 | ||
309 | EOF | 318 | EOF |
310 | 319 | ||