diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 7753ee3b2..fc390c83a 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -577,6 +577,16 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
577 | return 0; | 577 | return 0; |
578 | } | 578 | } |
579 | 579 | ||
580 | if (strcmp(ptr, "seccomp.block-secondary") == 0) { | ||
581 | #ifdef HAVE_SECCOMP | ||
582 | if (checkcfg(CFG_SECCOMP)) { | ||
583 | arg_seccomp_block_secondary = 1; | ||
584 | } | ||
585 | else | ||
586 | warning_feature_disabled("seccomp"); | ||
587 | #endif | ||
588 | return 0; | ||
589 | } | ||
580 | // seccomp drop list without default list | 590 | // seccomp drop list without default list |
581 | if (strncmp(ptr, "seccomp.drop ", 13) == 0) { | 591 | if (strncmp(ptr, "seccomp.drop ", 13) == 0) { |
582 | #ifdef HAVE_SECCOMP | 592 | #ifdef HAVE_SECCOMP |