c4556003bf
- Update to version 20230125. Refreshed: * distro_suse_to_distro_redhat.patch * fix_dnsmasq.patch * fix_init.patch * fix_ipsec.patch * fix_kernel_sysctl.patch * fix_logging.patch * fix_rpm.patch * fix_selinuxutil.patch * fix_systemd_watch.patch * fix_userdomain.patch - More flexible lib(exec) matching in fix_fwupd.patch - Removed sys_admin for systemd_gpt_generator_t in fix_systemd.patch - Dropped fix_container.patch, is now upstream - Added fix_entropyd.patch * Added new interface entropyd_semaphore_filetrans to properly transfer semaphore created during early boot. That doesn't work yet, so work around with next item * Allow reading tempfs files - Added fix_kernel.patch. Added modutils_execute_kmod_tmpfs_files interace to allow kmod_tmpfs_t files to be executed. Necessary for firewalld - Added fix_rtkit.patch to fix labeling of binary - Modified fix_ntp.patch: * Proper labeling for start-ntpd * Fixed label rules for chroot path * Temporarily allow dac_override for ntpd_t (bsc#1207577) * Add interface ntp_manage_pid_files to allow management of pid files - Updated fix_networkmanager.patch to allow managing ntp pid files OBS-URL: https://build.opensuse.org/request/show/1061575 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=171
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
Index: fedora-policy-20230116/policy/modules/system/selinuxutil.te
|
|
===================================================================
|
|
--- fedora-policy-20230116.orig/policy/modules/system/selinuxutil.te
|
|
+++ fedora-policy-20230116/policy/modules/system/selinuxutil.te
|
|
@@ -239,6 +239,10 @@ ifdef(`hide_broken_symptoms',`
|
|
')
|
|
|
|
optional_policy(`
|
|
+ packagekit_read_write_fifo(load_policy_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
portage_dontaudit_use_fds(load_policy_t)
|
|
')
|
|
|
|
@@ -619,6 +623,10 @@ logging_send_audit_msgs(setfiles_t)
|
|
logging_send_syslog_msg(setfiles_t)
|
|
|
|
optional_policy(`
|
|
+ packagekit_read_write_fifo(setfiles_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
cloudform_dontaudit_write_cloud_log(setfiles_t)
|
|
')
|
|
|
|
Index: fedora-policy-20230116/policy/modules/system/selinuxutil.if
|
|
===================================================================
|
|
--- fedora-policy-20230116.orig/policy/modules/system/selinuxutil.if
|
|
+++ fedora-policy-20230116/policy/modules/system/selinuxutil.if
|
|
@@ -795,6 +795,8 @@ interface(`seutil_dontaudit_read_config'
|
|
|
|
dontaudit $1 selinux_config_t:dir search_dir_perms;
|
|
dontaudit $1 selinux_config_t:file read_file_perms;
|
|
+ # /etc/selinux/config was a link to /etc/sysconfig/selinux-policy, ignore read attemps
|
|
+ dontaudit $1 selinux_config_t:lnk_file read_lnk_file_perms;
|
|
')
|
|
|
|
########################################
|