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/fldd/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/fldd/main.c') diff --git a/src/fldd/main.c b/src/fldd/main.c index d68504f6b..55a0dfcce 100644 --- a/src/fldd/main.c +++ b/src/fldd/main.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -303,10 +302,7 @@ printf("\n"); return 0; } -#ifdef WARN_DUMPABLE - if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid()) - fprintf(stderr, "Error fldd: I am dumpable\n"); -#endif + warn_dumpable(); // check program access if (access(argv[1], R_OK)) { -- cgit v1.2.3-70-g09d2