forked from pool/selinux-policy
a54d31d04f
- fix_wine.patch: give Wine .dll same context as .so (bsc#1191976) OBS-URL: https://build.opensuse.org/request/show/927719 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=121
24 lines
1.6 KiB
Diff
24 lines
1.6 KiB
Diff
Index: fedora-policy-20210716/policy/modules/system/libraries.fc
|
|
===================================================================
|
|
--- fedora-policy-20210716.orig/policy/modules/system/libraries.fc
|
|
+++ fedora-policy-20210716/policy/modules/system/libraries.fc
|
|
@@ -90,7 +90,7 @@ ifdef(`distro_redhat',`
|
|
/opt/Adobe/Reader.?/Reader/intellinux/plug_ins/.*\.api -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
/opt/Adobe/Reader.?/Reader/intellinux/SPPlugins/.*\.ap[il] -- gen_context(system_u:object_r:lib_t,s0)
|
|
/opt/cisco-vpnclient/lib/libvpnapi\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
-/opt/cx.*/lib/wine/.+\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
+/opt/cx.*/lib/wine/.+\.(so|dll) -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
/opt/f-secure/fspms/libexec/librapi\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
/opt/ibm/java.*/jre/.+\.jar -- gen_context(system_u:object_r:lib_t,s0)
|
|
/opt/ibm/java.*/jre/.+\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
@@ -173,7 +173,8 @@ ifdef(`distro_redhat',`
|
|
/usr/lib/systemd/libsystemd-shared-[0-9]+\.so.* -- gen_context(system_u:object_r:lib_t,s0)
|
|
|
|
/usr/.*\.so(\.[^/]*)* -- gen_context(system_u:object_r:lib_t,s0)
|
|
-/usr/lib/wine/.+\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
+/usr/lib/wine/.+\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
+/usr/lib/wine/*-windows/* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
/usr/NX/lib/libXcomp\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
/usr/NX/lib/libjpeg\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
|
|
|