From de222824e935af406aae5f8ccc385c08d690b032 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 25 Aug 2006 13:26:21 +0000 Subject: [PATCH] fix gentoo /opt contexts --- policy/modules/system/libraries.fc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/policy/modules/system/libraries.fc b/policy/modules/system/libraries.fc index ec811c6d6..7c2b112d9 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) ') #