aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp/main.c
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2021-01-04 18:48:35 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2021-01-04 19:02:41 +0100
commit18e806cf6033697cefca58a2be55377c8d92dbd4 (patch)
tree9eb7191f9534affa7586ce598ab54c4630f011fb /src/fseccomp/main.c
parentfix #3859 (#3863) (diff)
downloadfirejail-18e806cf6033697cefca58a2be55377c8d92dbd4.tar.gz
firejail-18e806cf6033697cefca58a2be55377c8d92dbd4.tar.zst
firejail-18e806cf6033697cefca58a2be55377c8d92dbd4.zip
non-dumpable plugins
(hopefully) fixes the issues that led to reverting commits 6abb65d328af61d67361890743190bd4c57f8e3c and 98e42dc6da4e4b1e47ed2aa020012d4dedc1e80e
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)