diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2020-04-27 16:26:41 +0300 |
---|---|---|
committer | Topi Miettinen <topimiettinen@users.noreply.github.com> | 2020-04-29 08:25:59 +0000 |
commit | 74ed8506f792607d50d566eaaa13c4cb8a0469ce (patch) | |
tree | 145cb989f1c4d861cd217df3a0c88d56b181ba74 /src | |
parent | Increase MAX_ENVS to 256 (#3386) (diff) | |
download | firejail-74ed8506f792607d50d566eaaa13c4cb8a0469ce.tar.gz firejail-74ed8506f792607d50d566eaaa13c4cb8a0469ce.tar.zst firejail-74ed8506f792607d50d566eaaa13c4cb8a0469ce.zip |
Print status of SELinux support with --version
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/checkcfg.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/firejail/checkcfg.c b/src/firejail/checkcfg.c index eb4841210..94a6572b6 100644 --- a/src/firejail/checkcfg.c +++ b/src/firejail/checkcfg.c | |||
@@ -352,6 +352,14 @@ void print_compiletime_support(void) { | |||
352 | #endif | 352 | #endif |
353 | ); | 353 | ); |
354 | 354 | ||
355 | printf("\t- SELinux support is %s\n", | ||
356 | #ifdef HAVE_SELINUX | ||
357 | "enabled" | ||
358 | #else | ||
359 | "disabled" | ||
360 | #endif | ||
361 | ); | ||
362 | |||
355 | printf("\t- user namespace support is %s\n", | 363 | printf("\t- user namespace support is %s\n", |
356 | #ifdef HAVE_USERNS | 364 | #ifdef HAVE_USERNS |
357 | "enabled" | 365 | "enabled" |