selinux-policy/fix_unprivuser.patch
Dominique Leuenberger b3cf18cf4d Accepting request 878582 from security:SELinux
big toolchain update, please stage together. so versions change, so this has high potential to break stuff. Probably best to stage it isolated

OBS-URL: https://build.opensuse.org/request/show/878582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=8
2021-03-24 15:08:51 +00:00

19 lines
528 B
Diff

Index: fedora-policy-20210309/policy/modules/roles/unprivuser.te
===================================================================
--- fedora-policy-20210309.orig/policy/modules/roles/unprivuser.te
+++ fedora-policy-20210309/policy/modules/roles/unprivuser.te
@@ -282,6 +282,13 @@ ifndef(`distro_redhat',`
')
optional_policy(`
+ rtorrent_role(user_r, user_t)
+ # needed for tunable rtorrent_send_mails
+ mta_role_access_system_mail(user_r)
+')
+
+
+optional_policy(`
vmtools_run_helper(user_t, user_r)
')