forked from pool/selinux-policy
1fd70ac29b
- Update to version 20200219 Refreshed fix_hadoop.patch Updated * fix_dbus.patch * fix_hadoop.patch * fix_nscd.patch * fix_xserver.patch Renamed postfix_paths.patch to fix_postfix.patch Added * fix_init.patch * fix_locallogin.patch * fix_policykit.patch * fix_iptables.patch * fix_irqbalance.patch * fix_ntp.patch * fix_fwupd.patch * fix_firewalld.patch * fix_logrotate.patch * fix_selinuxutil.patch * fix_corecommand.patch * fix_snapper.patch * fix_systemd.patch * fix_unconfined.patch * fix_unconfineduser.patch * fix_chronyd.patch * fix_networkmanager.patch * xdm_entrypoint_pam.patch - Removed modules minimum_temp_fixes and targeted_temp_fixes from the corresponding policies - Reduced default module list of minimum policy by removing OBS-URL: https://build.opensuse.org/request/show/781805 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=74
63 lines
2.2 KiB
Diff
63 lines
2.2 KiB
Diff
Index: fedora-policy/policy/modules/system/init.te
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/system/init.te
|
|
+++ fedora-policy/policy/modules/system/init.te
|
|
@@ -250,6 +250,7 @@ corecmd_exec_bin(init_t)
|
|
corenet_all_recvfrom_netlabel(init_t)
|
|
corenet_tcp_bind_all_ports(init_t)
|
|
corenet_udp_bind_all_ports(init_t)
|
|
+corenet_udp_bind_generic_node(init_t)
|
|
|
|
dev_create_all_files(init_t)
|
|
dev_create_all_chr_files(init_t)
|
|
@@ -419,10 +420,15 @@ ifdef(`distro_redhat',`
|
|
corecmd_shell_domtrans(init_t, initrc_t)
|
|
|
|
storage_raw_rw_fixed_disk(init_t)
|
|
+storage_raw_read_removable_device(init_t)
|
|
|
|
sysnet_read_dhcpc_state(init_t)
|
|
|
|
optional_policy(`
|
|
+ networkmanager_initrc_read_lnk_files(init_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
bootloader_domtrans(init_t)
|
|
')
|
|
|
|
@@ -536,7 +542,7 @@ tunable_policy(`init_create_dirs',`
|
|
allow init_t self:system all_system_perms;
|
|
allow init_t self:system module_load;
|
|
allow init_t self:unix_dgram_socket { create_socket_perms sendto };
|
|
-allow init_t self:process { setkeycreate setsockcreate setfscreate setrlimit setexec };
|
|
+allow init_t self:process { setkeycreate setsockcreate setfscreate setrlimit setexec execmem };
|
|
allow init_t self:process { getcap setcap };
|
|
allow init_t self:unix_stream_socket { create_stream_socket_perms connectto recvfrom };
|
|
allow init_t self:netlink_kobject_uevent_socket create_socket_perms;
|
|
@@ -598,6 +604,7 @@ files_delete_all_spool_sockets(init_t)
|
|
files_create_var_lib_dirs(init_t)
|
|
files_create_var_lib_symlinks(init_t)
|
|
files_read_var_lib_symlinks(init_t)
|
|
+files_read_var_files(init_t)
|
|
files_manage_urandom_seed(init_t)
|
|
files_list_locks(init_t)
|
|
files_list_spool(init_t)
|
|
@@ -689,6 +696,7 @@ systemd_userdbd_runtime_manage_symlinks(
|
|
create_sock_files_pattern(init_t, init_sock_file_type, init_sock_file_type)
|
|
|
|
create_dirs_pattern(init_t, var_log_t, var_log_t)
|
|
+files_manage_var_files(init_t)
|
|
|
|
auth_use_nsswitch(init_t)
|
|
auth_rw_login_records(init_t)
|
|
@@ -1525,6 +1533,8 @@ optional_policy(`
|
|
|
|
optional_policy(`
|
|
postfix_list_spool(initrc_t)
|
|
+ #allow init_t postfix_map_exec_t:file { open read execute execute_no_trans ioctl };
|
|
+ postfix_domtrans_map(init_t)
|
|
')
|
|
|
|
optional_policy(`
|