forked from pool/selinux-policy
b66c2b8ce6
- Update to version 20221019. Refreshed: * distro_suse_to_distro_redhat.patch * fix_apache.patch * fix_chronyd.patch * fix_cron.patch * fix_init.patch * fix_kernel_sysctl.patch * fix_networkmanager.patch * fix_rpm.patch * fix_sysnetwork.patch * fix_systemd.patch * fix_systemd_watch.patch * fix_unconfined.patch * fix_unconfineduser.patch * fix_unprivuser.patch * fix_xserver.patch - Dropped fix_cockpit.patch as this is now packaged with cockpit itself - Remove the ipa module, freeip ships their own module - Added fix_alsa.patch to allow reading of config files in home directories - Extended fix_networkmanager.patch and fix_postfix.patch to account for SUSE systems - Added dontaudit_interface_kmod_tmpfs.patch to prevent AVCs when startproc queries the running processes - Updated fix_snapper.patch to allow snapper to talk to rpm via dbus OBS-URL: https://build.opensuse.org/request/show/1035580 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=155
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: fedora-policy-20221019/policy/modules/kernel/files.fc
|
|
===================================================================
|
|
--- fedora-policy-20221019.orig/policy/modules/kernel/files.fc
|
|
+++ fedora-policy-20221019/policy/modules/kernel/files.fc
|
|
@@ -242,6 +242,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-20221019/policy/modules/system/systemd.te
|
|
===================================================================
|
|
--- fedora-policy-20221019.orig/policy/modules/system/systemd.te
|
|
+++ fedora-policy-20221019/policy/modules/system/systemd.te
|
|
@@ -1105,6 +1105,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;
|
|
|
|
#######################################
|
|
#
|