forked from pool/selinux-policy
c6e85fecc6
- Add fix_dnsmasq.patch to fix problems with virtualization on Microos (bsc#1199518) - Modified fix_init.patch to allow init to setup contrained environment for accountsservice. This needs a better, more general solution (bsc#1197610) - Add systemd_domain_dyntrans_type.patch to allow systemd to dyntransition. This happens in certain boot conditions (bsc#1182500) - Changed fix_unconfineduser.patch to not transition into ldconfig_t from unconfined_t (bsc#1197169) OBS-URL: https://build.opensuse.org/request/show/978218 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=128
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
Index: fedora-policy-20220509/policy/modules/roles/unconfineduser.te
|
|
===================================================================
|
|
--- fedora-policy-20220509.orig/policy/modules/roles/unconfineduser.te
|
|
+++ fedora-policy-20220509/policy/modules/roles/unconfineduser.te
|
|
@@ -124,6 +124,11 @@ tunable_policy(`unconfined_dyntrans_all'
|
|
domain_dyntrans(unconfined_t)
|
|
')
|
|
|
|
+# FIXME this is probably caused by some wierd PAM interaction
|
|
+corecmd_entrypoint_all_executables(unconfined_t)
|
|
+# FIXME sddm JITs some code, requiring execmod on user_tmp_t. Check how to disable this behaviour in sddm/qtdeclarative
|
|
+files_execmod_tmp(unconfined_t)
|
|
+
|
|
optional_policy(`
|
|
gen_require(`
|
|
type unconfined_t;
|
|
@@ -210,6 +215,10 @@ optional_policy(`
|
|
')
|
|
|
|
optional_policy(`
|
|
+ cron_system_spool_entrypoint(unconfined_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
chrome_role_notrans(unconfined_r, unconfined_t)
|
|
|
|
tunable_policy(`unconfined_chrome_sandbox_transition',`
|
|
@@ -244,6 +253,18 @@ optional_policy(`
|
|
dbus_stub(unconfined_t)
|
|
|
|
optional_policy(`
|
|
+ accountsd_dbus_chat(unconfined_dbusd_t)
|
|
+ ')
|
|
+
|
|
+ optional_policy(`
|
|
+ networkmanager_dbus_chat(unconfined_dbusd_t)
|
|
+ ')
|
|
+
|
|
+ optional_policy(`
|
|
+ systemd_dbus_chat_logind(unconfined_dbusd_t)
|
|
+ ')
|
|
+
|
|
+ optional_policy(`
|
|
bluetooth_dbus_chat(unconfined_t)
|
|
')
|
|
|