From b6e1da218c5794be8307c8c2add0d0106d7cae24 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 6 Nov 2015 07:59:54 -0500 Subject: fix ./configure --disable-seccomp --- src/firejail/profile.c | 2 ++ todo | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 05a8ece35..aeeacfde8 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c @@ -151,10 +151,12 @@ int profile_check_line(char *ptr, int lineno) { return 0; } +#ifdef HAVE_SECCOMP if (strncmp(ptr, "protocol ", 9) == 0) { protocol_store(ptr + 9); return 0; } +#endif if (strncmp(ptr, "env ", 4) == 0) { env_store(ptr + 4); diff --git a/todo b/todo index f9cce75d6..de1ef5f41 100644 --- a/todo +++ b/todo @@ -70,3 +70,10 @@ socat UNIX-LISTEN:/tmp/mysoc,fork ABSTRACT-CONNECT:/tmp/dbus-awBoQTCc & in sandbox socat ABSTRACT-LISTEN:/tmp/dbus-awBoQTCc,fork UNIX-CONNECT:/tmp/mysock +11. autotest for config options: + +./configure --enable-fatal-warnings --disable-seccomp --prefix=/usr +./configure --enable-fatal-warnings --disable-chroot --prefix=/usr +./configure --enable-fatal-warnings --disable-bind --prefix=/usr + + -- cgit v1.2.3-70-g09d2