[selinux-policy: 1577/3172] fix gentoo /opt contexts

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:21:31 UTC 2010


commit de222824e935af406aae5f8ccc385c08d690b032
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Fri Aug 25 13:26:21 2006 +0000

    fix gentoo /opt contexts

 policy/modules/system/libraries.fc |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/policy/modules/system/libraries.fc b/policy/modules/system/libraries.fc
index ec811c6..7c2b112 100644
--- a/policy/modules/system/libraries.fc
+++ b/policy/modules/system/libraries.fc
@@ -65,19 +65,21 @@ ifdef(`distro_gentoo',`
 
 ifdef(`distro_gentoo',`
 # despite the extensions, they're actually libs
-/opt/Acrobat[5-9]/Reader/intellinux/plug_ins/.*\.api gen_context(system_u:object_r:shlib_t,s0)
-/opt/Acrobat[5-9]/Reader/intellinux/SPPlugins/.*\.api gen_context(system_u:object_r:shlib_t,s0)
+/opt/Acrobat[5-9]/Reader/intellinux/plug_ins/.*\.api -- gen_context(system_u:object_r:shlib_t,s0)
+/opt/Acrobat[5-9]/Reader/intellinux/SPPlugins/.*\.api -- gen_context(system_u:object_r:shlib_t,s0)
 
+/opt/netscape/plugins(/.*)?			gen_context(system_u:object_r:lib_t,s0)
+/opt/netscape/plugins/.*\.so		--	gen_context(system_u:object_r:shlib_t,s0)
 /opt/netscape/plugins/libflashplayer\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /opt/netscape/plugins/nppdf\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
 /opt/RealPlayer/codecs(/.*)?			gen_context(system_u:object_r:lib_t,s0)
-/opt/RealPlayer/codecs/.*\.so			gen_context(system_u:object_r:shlib_t,s0)
+/opt/RealPlayer/codecs/.*\.so		--	gen_context(system_u:object_r:shlib_t,s0)
 /opt/RealPlayer/common(/.*)?			gen_context(system_u:object_r:lib_t,s0)
-/opt/RealPlayer/common/.*\.so			gen_context(system_u:object_r:shlib_t,s0)
+/opt/RealPlayer/common/.*\.so		--	gen_context(system_u:object_r:shlib_t,s0)
 /opt/RealPlayer/lib(/.*)?			gen_context(system_u:object_r:lib_t,s0)
-/opt/RealPlayer/lib/.*\.so			gen_context(system_u:object_r:shlib_t,s0)
+/opt/RealPlayer/lib/.*\.so		--	gen_context(system_u:object_r:shlib_t,s0)
 /opt/RealPlayer/mozilla(/.*)?			gen_context(system_u:object_r:lib_t,s0)
-/opt/RealPlayer/mozilla/.*\.so			gen_context(system_u:object_r:shlib_t,s0)
+/opt/RealPlayer/mozilla/.*\.so		--	gen_context(system_u:object_r:shlib_t,s0)
 ')
 
 #


More information about the scm-commits mailing list