[selinux-policy: 606/3172] make corecommands required

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:57:03 UTC 2010


commit e5d45268fdf3d12a25e94cfe52491b0757bbd428
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Tue Aug 30 14:41:52 2005 +0000

    make corecommands required

 refpolicy/policy/modules.conf.targeted_example  |    2 +-
 refpolicy/policy/modules/system/corecommands.if |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/refpolicy/policy/modules.conf.targeted_example b/refpolicy/policy/modules.conf.targeted_example
index d0e0825..7f14aca 100644
--- a/refpolicy/policy/modules.conf.targeted_example
+++ b/refpolicy/policy/modules.conf.targeted_example
@@ -418,7 +418,7 @@ userdomain = module
 # Core policy for shells, and generic programs
 # in /bin, /sbin, /usr/bin, and /usr/sbin.
 # 
-corecommands = module
+corecommands = base
 
 # Layer: system
 # Module: hotplug
diff --git a/refpolicy/policy/modules/system/corecommands.if b/refpolicy/policy/modules/system/corecommands.if
index 8b089a1..d49f4b2 100644
--- a/refpolicy/policy/modules/system/corecommands.if
+++ b/refpolicy/policy/modules/system/corecommands.if
@@ -2,6 +2,11 @@
 ## Core policy for shells, and generic programs
 ## in /bin, /sbin, /usr/bin, and /usr/sbin.
 ## </summary>
+## <required val="true">
+##	Contains the base bin and sbin directory types
+##	which need to be searched for the kernel to
+##	run init.
+## </required>
 
 ########################################
 ## <summary>


More information about the scm-commits mailing list