aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsec-print/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsec-print/main.c')
-rw-r--r--src/fsec-print/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fsec-print/main.c b/src/fsec-print/main.c
index ade45c881..d1f056e47 100644
--- a/src/fsec-print/main.c
+++ b/src/fsec-print/main.c
@@ -61,6 +61,11 @@ printf("\n");
61 return 0; 61 return 0;
62 } 62 }
63 63
64#ifdef 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
64 char *fname = argv[1]; 69 char *fname = argv[1];
65 70
66 // open input file 71 // open input file