From 01ecb3674ad3650bcbb14155b2dcbd4b9f4ed57e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 1 Aug 2020 11:28:09 +0200 Subject: [PATCH] analyze-security: do not assign badness to filtered-out syscalls Fixes #16451, https://bugzilla.redhat.com/show_bug.cgi?id=1856273. --- src/analyze/analyze-security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index d4996c3c655..5356dafbb86 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -566,7 +566,7 @@ static int assess_system_call_filter( b = 10; } else { (void) asprintf(&d, "System call deny list defined for service, and %s is included", f->name); - b = 5; + b = 0; } } } -- 2.47.3