diff options
-rw-r--r-- | src/firejail/profile.c | 2 | ||||
-rw-r--r-- | todo | 7 |
2 files changed, 9 insertions, 0 deletions
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) { | |||
151 | return 0; | 151 | return 0; |
152 | } | 152 | } |
153 | 153 | ||
154 | #ifdef HAVE_SECCOMP | ||
154 | if (strncmp(ptr, "protocol ", 9) == 0) { | 155 | if (strncmp(ptr, "protocol ", 9) == 0) { |
155 | protocol_store(ptr + 9); | 156 | protocol_store(ptr + 9); |
156 | return 0; | 157 | return 0; |
157 | } | 158 | } |
159 | #endif | ||
158 | 160 | ||
159 | if (strncmp(ptr, "env ", 4) == 0) { | 161 | if (strncmp(ptr, "env ", 4) == 0) { |
160 | env_store(ptr + 4); | 162 | env_store(ptr + 4); |
@@ -70,3 +70,10 @@ socat UNIX-LISTEN:/tmp/mysoc,fork ABSTRACT-CONNECT:/tmp/dbus-awBoQTCc & | |||
70 | in sandbox | 70 | in sandbox |
71 | socat ABSTRACT-LISTEN:/tmp/dbus-awBoQTCc,fork UNIX-CONNECT:/tmp/mysock | 71 | socat ABSTRACT-LISTEN:/tmp/dbus-awBoQTCc,fork UNIX-CONNECT:/tmp/mysock |
72 | 72 | ||
73 | 11. autotest for config options: | ||
74 | |||
75 | ./configure --enable-fatal-warnings --disable-seccomp --prefix=/usr | ||
76 | ./configure --enable-fatal-warnings --disable-chroot --prefix=/usr | ||
77 | ./configure --enable-fatal-warnings --disable-bind --prefix=/usr | ||
78 | |||
79 | |||