From: Eugeny Shcheglov Date: Mon, 24 Jun 2024 18:23:50 +0000 (+0300) Subject: Fix typo in CAP_BPF description (#33464) X-Git-Tag: v257-rc1~1065 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1750e30d237e6d9cdebc6b546d0a26342828dbd1;p=thirdparty%2Fsystemd.git Fix typo in CAP_BPF description (#33464) description_good and description_bad are mixed up. Disabling CAP_BPF results in the inability to load BPF, not the other way around. --- diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index 6aa67a93395..9a247a085a7 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -1244,8 +1244,8 @@ static const struct security_assessor security_assessor_table[] = { { .id = "CapabilityBoundingSet=~CAP_BPF", .json_field = "CapabilityBoundingSet_CAP_BPF", - .description_good = "Service may load BPF programs", - .description_bad = "Service may not load BPF programs", + .description_good = "Service may not load BPF programs", + .description_bad = "Service may load BPF programs", .url = "https://www.freedesktop.org/software/systemd/man/systemd.exec.html#CapabilityBoundingSet=", .weight = 25, .range = 1,