diff options
author | 2016-02-16 10:34:15 -0500 | |
---|---|---|
committer | 2016-02-16 10:34:15 -0500 | |
commit | 1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0 (patch) | |
tree | 3c86693bdefafc1fdd312a4f143f1fe9ce172ce1 /src | |
parent | Merge pull request #297 from jgriffiths/rpmfixes (diff) | |
download | firejail-1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0.tar.gz firejail-1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0.tar.zst firejail-1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0.zip |
centos7 fixes; support for building rpm packages
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 4882e29e6..6fd011868 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -243,6 +243,21 @@ static void run_cmd_and_exit(int i, int argc, char **argv) { | |||
243 | } | 243 | } |
244 | else if (strcmp(argv[i], "--version") == 0) { | 244 | else if (strcmp(argv[i], "--version") == 0) { |
245 | printf("firejail version %s\n", VERSION); | 245 | printf("firejail version %s\n", VERSION); |
246 | #ifndef HAVE_NETWORK | ||
247 | printf("Networking support is disabled.\n"); | ||
248 | #endif | ||
249 | #ifndef HAVE_USERNS | ||
250 | printf("User namespace support is disabled.\n"); | ||
251 | #endif | ||
252 | #ifndef HAVE_SECCOMP | ||
253 | printf("Seccomp-bpf support is disabled.\n"); | ||
254 | #endif | ||
255 | #ifndef HAVE_BIND | ||
256 | printf("Bind support is disabled.\n"); | ||
257 | #endif | ||
258 | #ifndef HAVE_CHROOT | ||
259 | printf("Chroot support is disabled.\n"); | ||
260 | #endif | ||
246 | exit(0); | 261 | exit(0); |
247 | } | 262 | } |
248 | #ifdef HAVE_NETWORK | 263 | #ifdef HAVE_NETWORK |