diff options
author | 2021-01-15 14:31:16 +0100 | |
---|---|---|
committer | 2021-01-15 14:31:16 +0100 | |
commit | 1e136df0f0f1c86d0181d796f5719c42164bab1e (patch) | |
tree | 122f4874026666ff7a539cb5e4096223ef799abd /src/fseccomp/main.c | |
parent | bug_report.md: improve wording (upstream/duplicates) (diff) | |
parent | fix broken tests and regression on 45304621a6c600d8e30e98bfbef05149caaf56c5 (diff) | |
download | firejail-1e136df0f0f1c86d0181d796f5719c42164bab1e.tar.gz firejail-1e136df0f0f1c86d0181d796f5719c42164bab1e.tar.zst firejail-1e136df0f0f1c86d0181d796f5719c42164bab1e.zip |
Merge pull request #3867 from smitsohu/non-dumpable
return to non-dumpable plugins
Diffstat (limited to 'src/fseccomp/main.c')
-rw-r--r-- | src/fseccomp/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fseccomp/main.c b/src/fseccomp/main.c index f505ca0f3..c8259b079 100644 --- a/src/fseccomp/main.c +++ b/src/fseccomp/main.c | |||
@@ -69,11 +69,7 @@ printf("\n"); | |||
69 | return 0; | 69 | return 0; |
70 | } | 70 | } |
71 | 71 | ||
72 | #ifdef WARN_DUMPABLE | 72 | warn_dumpable(); |
73 | // check FIREJAIL_PLUGIN in order to not print a warning during make | ||
74 | if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN")) | ||
75 | fprintf(stderr, "Error fseccomp: I am dumpable\n"); | ||
76 | #endif | ||
77 | 73 | ||
78 | char *quiet = getenv("FIREJAIL_QUIET"); | 74 | char *quiet = getenv("FIREJAIL_QUIET"); |
79 | if (quiet && strcmp(quiet, "yes") == 0) | 75 | if (quiet && strcmp(quiet, "yes") == 0) |