aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r--src/firejail/profile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index 3bf294e00..192f36974 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -131,6 +131,10 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
131 131
132 return 0; 132 return 0;
133 } 133 }
134 else if (strcmp(ptr, "nonewprivs") == 0) {
135 arg_nonewprivs = 1;
136 return 0;
137 }
134 else if (strcmp(ptr, "seccomp") == 0) { 138 else if (strcmp(ptr, "seccomp") == 0) {
135#ifdef HAVE_SECCOMP 139#ifdef HAVE_SECCOMP
136 if (checkcfg(CFG_SECCOMP)) 140 if (checkcfg(CFG_SECCOMP))