aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsec-print/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/fsec-print/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/fsec-print/main.c')
-rw-r--r--src/fsec-print/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fsec-print/main.c b/src/fsec-print/main.c
index d1f056e47..ed030db21 100644
--- a/src/fsec-print/main.c
+++ b/src/fsec-print/main.c
@@ -61,10 +61,7 @@ printf("\n");
61 return 0; 61 return 0;
62 } 62 }
63 63
64#ifdef WARN_DUMPABLE 64 warn_dumpable();
65 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid())
66 fprintf(stderr, "Error fsec-print: I am dumpable\n");
67#endif
68 65
69 char *fname = argv[1]; 66 char *fname = argv[1];
70 67