forked from pool/selinux-policy
9770640975
- Added Recommends for selinux-autorelabel (bsc#1181837) - Prevent libreoffice fonts from changing types on every relabel (bsc#1185265). Added fix_libraries.patch - Transition unconfined users to ldconfig type (bsc#1183121). Extended fix_unconfineduser.patch OBS-URL: https://build.opensuse.org/request/show/888543 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=10
14 lines
660 B
Diff
14 lines
660 B
Diff
Index: fedora-policy-20210419/policy/modules/system/libraries.fc
|
|
===================================================================
|
|
--- fedora-policy-20210419.orig/policy/modules/system/libraries.fc
|
|
+++ fedora-policy-20210419/policy/modules/system/libraries.fc
|
|
@@ -124,6 +124,8 @@ ifdef(`distro_redhat',`
|
|
|
|
/usr/(.*/)?lib(/.*)?/ld-[^/]*\.so(\.[^/]*)* gen_context(system_u:object_r:ld_so_t,s0)
|
|
|
|
+/usr/lib/libreoffice/program/resource.* -- gen_context(system_u:object_r:lib_t,s0)
|
|
+
|
|
/usr/(.*/)?nvidia/.+\.so(\..*)? -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
|
|
/usr/lib/(sse2/)?libfame-.*\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|