[selinux-policy: 959/3172] fix ordering

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 20:27:54 UTC 2010


commit 5ae908113d58a9a4d1fe681862244ce335f463fa
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Fri Nov 11 20:50:23 2005 +0000

    fix ordering

 refpolicy/policy/modules/system/corecommands.fc |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/refpolicy/policy/modules/system/corecommands.fc b/refpolicy/policy/modules/system/corecommands.fc
index 59cb49a..0b3e74b 100644
--- a/refpolicy/policy/modules/system/corecommands.fc
+++ b/refpolicy/policy/modules/system/corecommands.fc
@@ -100,6 +100,11 @@ ifdef(`distro_gentoo',`
 /usr/lib/jvm/java(.*)?/jre/bin -d	gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/jvm/java(.*)?/jre/bin/.*	gen_context(system_u:object_r:bin_t,s0)
 
+# cjp: split up to fix ordering problem
+# with match in corecommands
+/usr/lib/news/bin(/.*)?			gen_context(system_u:object_r:bin_t,s0)
+/usr/lib64/news/bin(/.*)?		gen_context(system_u:object_r:bin_t,s0)
+
 /usr/lib(64)?/cups/cgi-bin/.*	--	gen_context(system_u:object_r:bin_t,s0)
 /usr/lib(64)?/cups/filter/.*	--	gen_context(system_u:object_r:bin_t,s0)
 /usr/lib(64)?/cyrus-imapd/.*	--	gen_context(system_u:object_r:bin_t,s0)
@@ -108,7 +113,6 @@ ifdef(`distro_gentoo',`
 /usr/lib(64)?/ipsec/.*		--	gen_context(system_u:object_r:sbin_t,s0)
 /usr/lib(64)?/mailman/bin(/.*)?		gen_context(system_u:object_r:bin_t,s0)
 /usr/lib(64)?/misc/sftp-server	--	gen_context(system_u:object_r:bin_t,s0)
-/usr/lib(64)?/news/bin(/.*)?		gen_context(system_u:object_r:bin_t,s0)
 
 /usr/lib(64)?/debug/bin(/.*)? --	gen_context(system_u:object_r:bin_t,s0)
 /usr/lib(64)?/debug/sbin(/.*)? --	gen_context(system_u:object_r:sbin_t,s0)


More information about the scm-commits mailing list