1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

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.
This commit is contained in:
Eugeny Shcheglov 2024-06-24 21:23:50 +03:00 committed by GitHub
parent 341f04fa33
commit 1750e30d23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,