aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2020-08-17 22:10:07 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2020-08-17 22:10:07 +0200
commit21918f6d92f9261cc45f208ac407819980d4a59c (patch)
treed86d5dd041a8e79523f526411cb37b8d131c2ee1 /src/fseccomp
parentadd dumpable warnings (diff)
downloadfirejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.gz
firejail-21918f6d92f9261cc45f208ac407819980d4a59c.tar.zst
firejail-21918f6d92f9261cc45f208ac407819980d4a59c.zip
cleanup
Diffstat (limited to 'src/fseccomp')
-rw-r--r--src/fseccomp/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fseccomp/main.c b/src/fseccomp/main.c
index 6b7800f35..13eb3dfe7 100644
--- a/src/fseccomp/main.c
+++ b/src/fseccomp/main.c
@@ -70,6 +70,7 @@ printf("\n");
70 } 70 }
71 71
72#ifdef WARN_DUMPABLE 72#ifdef WARN_DUMPABLE
73 // check FIREJAIL_PLUGIN in order to not print a warning during make
73 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN")) 74 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 1 && getuid() && getenv("FIREJAIL_PLUGIN"))
74 fprintf(stderr, "Error fseccomp: I am dumpable\n"); 75 fprintf(stderr, "Error fseccomp: I am dumpable\n");
75#endif 76#endif