aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-11-06 07:59:54 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-11-06 07:59:54 -0500
commitb6e1da218c5794be8307c8c2add0d0106d7cae24 (patch)
tree3b9886b9769b8c842e817918cb9f6abedb4783df /src
parentcoverity (diff)
downloadfirejail-b6e1da218c5794be8307c8c2add0d0106d7cae24.tar.gz
firejail-b6e1da218c5794be8307c8c2add0d0106d7cae24.tar.zst
firejail-b6e1da218c5794be8307c8c2add0d0106d7cae24.zip
fix ./configure --disable-seccomp
Diffstat (limited to 'src')
-rw-r--r--src/firejail/profile.c2
1 files changed, 2 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);