diff options
Diffstat (limited to 'src/firejail/join.c')
-rw-r--r-- | src/firejail/join.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/firejail/join.c b/src/firejail/join.c index ec9c922ef..4e636ca27 100644 --- a/src/firejail/join.c +++ b/src/firejail/join.c | |||
@@ -33,10 +33,6 @@ | |||
33 | #define PR_SET_NO_NEW_PRIVS 38 | 33 | #define PR_SET_NO_NEW_PRIVS 38 |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #ifdef HAVE_APPARMOR | ||
37 | #include <sys/apparmor.h> | ||
38 | #endif | ||
39 | |||
40 | static int apply_caps = 0; | 36 | static int apply_caps = 0; |
41 | static uint64_t caps = 0; | 37 | static uint64_t caps = 0; |
42 | static unsigned display = 0; | 38 | static unsigned display = 0; |
@@ -513,10 +509,6 @@ void join(pid_t pid, int argc, char **argv, int index) { | |||
513 | // kill the child in case the parent died | 509 | // kill the child in case the parent died |
514 | prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); | 510 | prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); |
515 | 511 | ||
516 | #ifdef HAVE_APPARMOR | ||
517 | set_apparmor(); | ||
518 | #endif | ||
519 | |||
520 | extract_command(argc, argv, index); | 512 | extract_command(argc, argv, index); |
521 | if (cfg.command_line == NULL) | 513 | if (cfg.command_line == NULL) |
522 | cfg.window_title = cfg.usershell; | 514 | cfg.window_title = cfg.usershell; |