From cb8b64f75f6ae44dd5c0c125868b33f088f80fc4 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 13 May 2017 08:18:47 -0400 Subject: --protocol fix --- src/firejail/sandbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index ecc365895..5bfa06ade 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c @@ -43,7 +43,7 @@ #ifdef HAVE_APPARMOR #include #endif - +#include static int monitored_pid = 0; static void sandbox_handler(int sig){ @@ -907,7 +907,7 @@ int sandbox(void* sandbox_arg) { // set seccomp //todo: push it down after drop_privs and/or configuring noroot #ifdef HAVE_SECCOMP // install protocol filter -#ifdef SYS_SOCKET +#ifdef SYS_socket if (cfg.protocol) { if (arg_debug) printf("Install protocol filter: %s\n", cfg.protocol); -- cgit v1.2.3-70-g09d2