forked from pool/selinux-policy
321f539d0b
- Update to version 20220124. Refreshed: * fix_hadoop.patch * fix_init.patch * fix_kernel_sysctl.patch * fix_systemd.patch * fix_systemd_watch.patch - Added fix_hypervkvp.patch to fix issues with hyperv labeling (bsc#1193987) OBS-URL: https://build.opensuse.org/request/show/948331 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=124
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: fedora-policy-20220124/policy/modules/kernel/files.fc
|
|
===================================================================
|
|
--- fedora-policy-20220124.orig/policy/modules/kernel/files.fc
|
|
+++ fedora-policy-20220124/policy/modules/kernel/files.fc
|
|
@@ -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)
|
|
|
|
Index: fedora-policy-20220124/policy/modules/system/systemd.te
|
|
===================================================================
|
|
--- fedora-policy-20220124.orig/policy/modules/system/systemd.te
|
|
+++ fedora-policy-20220124/policy/modules/system/systemd.te
|
|
@@ -1037,6 +1037,8 @@ init_stream_connect(systemd_sysctl_t)
|
|
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;
|
|
|
|
#######################################
|
|
#
|