2021-11-11 17:01:20 +01:00
|
|
|
Index: fedora-policy-20211111/policy/modules/kernel/files.fc
|
2021-08-18 12:42:18 +02:00
|
|
|
===================================================================
|
2021-11-11 17:01:20 +01:00
|
|
|
--- fedora-policy-20211111.orig/policy/modules/kernel/files.fc
|
|
|
|
+++ fedora-policy-20211111/policy/modules/kernel/files.fc
|
2021-08-18 12:42:18 +02:00
|
|
|
@@ -236,6 +236,8 @@ ifdef(`distro_redhat',`
|
|
|
|
/usr/lib/ostree-boot(/.*)? gen_context(system_u:object_r:usr_t,s0)
|
|
|
|
/usr/lib/modules(/.*)/vmlinuz -- gen_context(system_u:object_r:usr_t,s0)
|
|
|
|
/usr/lib/modules(/.*)/initramfs.img -- gen_context(system_u:object_r:usr_t,s0)
|
|
|
|
+/usr/lib/modules(/.*)/sysctl.conf -- gen_context(system_u:object_r:usr_t,s0)
|
|
|
|
+/usr/lib/modules(/.*)/System.map -- gen_context(system_u:object_r:system_map_t,s0)
|
|
|
|
|
|
|
|
/usr/doc(/.*)?/lib(/.*)? gen_context(system_u:object_r:usr_t,s0)
|
|
|
|
|
2021-11-11 17:01:20 +01:00
|
|
|
Index: fedora-policy-20211111/policy/modules/system/systemd.te
|
2021-08-18 12:42:18 +02:00
|
|
|
===================================================================
|
2021-11-11 17:01:20 +01:00
|
|
|
--- fedora-policy-20211111.orig/policy/modules/system/systemd.te
|
|
|
|
+++ fedora-policy-20211111/policy/modules/system/systemd.te
|
|
|
|
@@ -1035,6 +1035,8 @@ init_stream_connect(systemd_sysctl_t)
|
2021-08-18 12:42:18 +02:00
|
|
|
logging_send_syslog_msg(systemd_sysctl_t)
|
|
|
|
|
|
|
|
systemd_read_efivarfs(systemd_sysctl_t)
|
|
|
|
+# kernel specific sysctl.conf may be in modules dir
|
|
|
|
+allow systemd_sysctl_t modules_object_t:dir search;
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
#
|