diff options
Diffstat (limited to 'src/fseccomp/main.c')
-rw-r--r-- | src/fseccomp/main.c | 1 |
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 |