diff options
Diffstat (limited to 'src/firejail/main.c')
-rw-r--r-- | src/firejail/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index b6f3a7f59..f01094af9 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -507,7 +507,8 @@ static void run_cmd_and_exit(int i, int argc, char **argv) { | |||
507 | exit(rv); | 507 | exit(rv); |
508 | } | 508 | } |
509 | else if (strcmp(argv[i], "--top") == 0) { | 509 | else if (strcmp(argv[i], "--top") == 0) { |
510 | int rv = sbox_run(SBOX_USER | SBOX_CAPS_NONE | SBOX_SECCOMP, 2, PATH_FIREMON, "--top"); | 510 | int rv = sbox_run(SBOX_USER | SBOX_CAPS_NONE | SBOX_SECCOMP | SBOX_ALLOW_STDIN, |
511 | 2, PATH_FIREMON, "--top"); | ||
511 | exit(rv); | 512 | exit(rv); |
512 | } | 513 | } |
513 | #ifdef HAVE_NETWORK | 514 | #ifdef HAVE_NETWORK |