commit:     bb796e037d8e1e0db2dcce7af23765b287fac2e8
Author:     Kenton Groombridge <me <AT> concord <DOT> sh>
AuthorDate: Thu May 19 15:43:44 2022 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Sep  3 18:41:55 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bb796e03

systemd, udev: allow udev to read systemd-networkd runtime

udev searches for .link files and applies custom udev rules to devices
as they come up.

Thanks-To: Zhao Yi
Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/modules/system/udev.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index 360ebc81..c60ad560 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -264,6 +264,8 @@ ifdef(`init_systemd',`
        systemd_read_hwdb(udev_t)
        systemd_read_logind_sessions_files(udev_t)
        systemd_read_logind_runtime_files(udev_t)
+       # udev searches for .link files and applies custom udev rules
+       systemd_read_networkd_runtime(udev_t)
 
        optional_policy(`
                init_dbus_chat(udev_t)

Reply via email to