diff options
author | smitsohu <smitsohu@gmail.com> | 2020-08-17 22:10:07 +0200 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2020-08-17 22:10:07 +0200 |
commit | 21918f6d92f9261cc45f208ac407819980d4a59c (patch) | |
tree | d86d5dd041a8e79523f526411cb37b8d131c2ee1 /src/fldd/main.c | |
parent | add dumpable warnings (diff) | |
download | firejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.gz firejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.zst firejail-21918f6d92f9261cc45f208ac407819980d4a59c.zip |
cleanup
Diffstat (limited to 'src/fldd/main.c')
-rw-r--r-- | src/fldd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fldd/main.c b/src/fldd/main.c index 567f6c566..d68504f6b 100644 --- a/src/fldd/main.c +++ b/src/fldd/main.c | |||
@@ -304,7 +304,7 @@ printf("\n"); | |||
304 | } | 304 | } |
305 | 305 | ||
306 | #ifdef WARN_DUMPABLE | 306 | #ifdef WARN_DUMPABLE |
307 | if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN")) | 307 | if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid()) |
308 | fprintf(stderr, "Error fldd: I am dumpable\n"); | 308 | fprintf(stderr, "Error fldd: I am dumpable\n"); |
309 | #endif | 309 | #endif |
310 | 310 | ||