diff options
author | startx2017 <vradu.startx@yandex.com> | 2019-06-02 13:31:56 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2019-06-02 13:31:56 -0400 |
commit | dfe7e54c72cd7347ed8d6534e618f4678ae0a8a8 (patch) | |
tree | 257c7e8078ed572834f4c6d048b4c633f509002d /src | |
parent | merge: Sort items alphabetically in man firejail (diff) | |
download | firejail-dfe7e54c72cd7347ed8d6534e618f4678ae0a8a8.tar.gz firejail-dfe7e54c72cd7347ed8d6534e618f4678ae0a8a8.tar.zst firejail-dfe7e54c72cd7347ed8d6534e618f4678ae0a8a8.zip |
compile cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/firejail.h | 4 | ||||
-rw-r--r-- | src/firejail/join.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/firejail/firejail.h b/src/firejail/firejail.h index fcaee18a2..f52ab6706 100644 --- a/src/firejail/firejail.h +++ b/src/firejail/firejail.h | |||
@@ -23,6 +23,10 @@ | |||
23 | #include "../include/euid_common.h" | 23 | #include "../include/euid_common.h" |
24 | #include <stdarg.h> | 24 | #include <stdarg.h> |
25 | #include <sys/stat.h> | 25 | #include <sys/stat.h> |
26 | #include <fcntl.h> | ||
27 | #ifndef O_PATH | ||
28 | # define O_PATH 010000000 | ||
29 | #endif | ||
26 | 30 | ||
27 | // debug restricted shell | 31 | // debug restricted shell |
28 | //#define DEBUG_RESTRICTED_SHELL | 32 | //#define DEBUG_RESTRICTED_SHELL |
diff --git a/src/firejail/join.c b/src/firejail/join.c index 89eddd8f1..1acd9d8e0 100644 --- a/src/firejail/join.c +++ b/src/firejail/join.c | |||
@@ -29,7 +29,6 @@ | |||
29 | 29 | ||
30 | static int apply_caps = 0; | 30 | static int apply_caps = 0; |
31 | static uint64_t caps = 0; | 31 | static uint64_t caps = 0; |
32 | static int apply_seccomp = 0; | ||
33 | static unsigned display = 0; | 32 | static unsigned display = 0; |
34 | #define BUFLEN 4096 | 33 | #define BUFLEN 4096 |
35 | 34 | ||