]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: fix URLs to DeviceAllow=, IPAddressDeny=
authorChris Hofstaedtler <zeha@debian.org>
Sat, 4 Jan 2025 13:48:48 +0000 (14:48 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 4 Jan 2025 16:49:05 +0000 (01:49 +0900)
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
src/analyze/analyze-security.c

index adbc72308ffbf419646cdf3c56543c6e88c99d7d..b6e486ffb1ff9fb017301d434e8799c32c8b1ea0 100644 (file)
@@ -1591,7 +1591,7 @@ static const struct security_assessor security_assessor_table[] = {
         {
                 .id = "IPAddressDeny=",
                 .json_field = "IPAddressDeny",
-                .url = "https://www.freedesktop.org/software/systemd/man/systemd.exec.html#IPAddressDeny=",
+                .url = "https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#IPAddressAllow=ADDRESS%5B/PREFIXLENGTH%5D…",
                 .weight = 1000,
                 .range = 10,
                 .assess = assess_ip_address_allow,
@@ -1599,7 +1599,7 @@ static const struct security_assessor security_assessor_table[] = {
         {
                 .id = "DeviceAllow=",
                 .json_field = "DeviceAllow",
-                .url = "https://www.freedesktop.org/software/systemd/man/systemd.exec.html#DeviceAllow=",
+                .url = "https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html#DeviceAllow=",
                 .weight = 1000,
                 .range = 10,
                 .assess = assess_device_allow,