From 18e806cf6033697cefca58a2be55377c8d92dbd4 Mon Sep 17 00:00:00 2001 From: smitsohu Date: Mon, 4 Jan 2021 18:48:35 +0100 Subject: non-dumpable plugins (hopefully) fixes the issues that led to reverting commits 6abb65d328af61d67361890743190bd4c57f8e3c and 98e42dc6da4e4b1e47ed2aa020012d4dedc1e80e --- src/fseccomp/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/fseccomp/main.c') 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"); return 0; } -#ifdef WARN_DUMPABLE - // check FIREJAIL_PLUGIN in order to not print a warning during make - if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN")) - fprintf(stderr, "Error fseccomp: I am dumpable\n"); -#endif + warn_dumpable(); char *quiet = getenv("FIREJAIL_QUIET"); if (quiet && strcmp(quiet, "yes") == 0) -- cgit v1.2.3-54-g00ecf