aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp/main.c
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2021-01-15 14:31:16 +0100
committerLibravatar GitHub <noreply@github.com>2021-01-15 14:31:16 +0100
commit1e136df0f0f1c86d0181d796f5719c42164bab1e (patch)
tree122f4874026666ff7a539cb5e4096223ef799abd /src/fseccomp/main.c
parentbug_report.md: improve wording (upstream/duplicates) (diff)
parentfix broken tests and regression on 45304621a6c600d8e30e98bfbef05149caaf56c5 (diff)
downloadfirejail-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.c6
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)