From 74ed8506f792607d50d566eaaa13c4cb8a0469ce Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Mon, 27 Apr 2020 16:26:41 +0300 Subject: Print status of SELinux support with --version --- src/firejail/checkcfg.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { #endif ); + printf("\t- SELinux support is %s\n", +#ifdef HAVE_SELINUX + "enabled" +#else + "disabled" +#endif + ); + printf("\t- user namespace support is %s\n", #ifdef HAVE_USERNS "enabled" -- cgit v1.2.3-54-g00ecf