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
55 lines
1.8 KiB
Diff
55 lines
1.8 KiB
Diff
Index: fedora-policy/policy/modules/contrib/networkmanager.te
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/contrib/networkmanager.te
|
|
+++ fedora-policy/policy/modules/contrib/networkmanager.te
|
|
@@ -233,6 +233,9 @@ userdom_read_home_certs(NetworkManager_t
|
|
userdom_read_user_home_content_files(NetworkManager_t)
|
|
userdom_dgram_send(NetworkManager_t)
|
|
|
|
+hostname_exec(NetworkManager_t)
|
|
+networkmanager_systemctl(NetworkManager_t)
|
|
+
|
|
tunable_policy(`use_nfs_home_dirs',`
|
|
fs_read_nfs_files(NetworkManager_t)
|
|
')
|
|
@@ -250,6 +253,10 @@ optional_policy(`
|
|
')
|
|
|
|
optional_policy(`
|
|
+ packagekit_dbus_chat(NetworkManager_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
bind_domtrans(NetworkManager_t)
|
|
bind_manage_cache(NetworkManager_t)
|
|
bind_kill(NetworkManager_t)
|
|
Index: fedora-policy/policy/modules/contrib/networkmanager.if
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/contrib/networkmanager.if
|
|
+++ fedora-policy/policy/modules/contrib/networkmanager.if
|
|
@@ -114,6 +114,24 @@ interface(`networkmanager_initrc_domtran
|
|
init_labeled_script_domtrans($1, NetworkManager_initrc_exec_t)
|
|
')
|
|
|
|
+#######################################
|
|
+## <summary>
|
|
+## Allow reading of NetworkManager link files
|
|
+## </summary>
|
|
+## <param name="domain">
|
|
+## <summary>
|
|
+## Domain allowed to read the links
|
|
+## </summary>
|
|
+## </param>
|
|
+#
|
|
+interface(`networkmanager_initrc_read_lnk_files',`
|
|
+ gen_require(`
|
|
+ type NetworkManager_initrc_exec_t;
|
|
+ ')
|
|
+
|
|
+ read_lnk_files_pattern($1, NetworkManager_initrc_exec_t, NetworkManager_initrc_exec_t)
|
|
+')
|
|
+
|
|
########################################
|
|
## <summary>
|
|
## Execute NetworkManager server in the NetworkManager domain.
|