From ce6c1368120393c5dc190488a0d2c0ad3de7ac12 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 21 Mar 2006 15:38:15 +0000 Subject: [PATCH] gentoo fixes --- refpolicy/policy/modules/kernel/corecommands.fc | 3 +++ refpolicy/policy/modules/kernel/corecommands.te | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/refpolicy/policy/modules/kernel/corecommands.fc b/refpolicy/policy/modules/kernel/corecommands.fc index d0f26275..f0abdbaa 100644 --- a/refpolicy/policy/modules/kernel/corecommands.fc +++ b/refpolicy/policy/modules/kernel/corecommands.fc @@ -67,7 +67,10 @@ ifdef(`targeted_policy',` /lib/udev/[^/]* -- gen_context(system_u:object_r:bin_t,s0) ifdef(`distro_gentoo',` +/lib/rcscripts/addons(/.*)? gen_context(system_u:object_r:bin_t,s0) /lib/rcscripts/sh(/.*)? gen_context(system_u:object_r:bin_t,s0) +/lib/rcscripts/net.modules.d/helpers.d/dhclient-.* -- gen_context(system_u:object_r:bin_t,s0) +/lib/rcscripts/net.modules.d/helpers.d/udhcpc-.* -- gen_context(system_u:object_r:bin_t,s0) ') # diff --git a/refpolicy/policy/modules/kernel/corecommands.te b/refpolicy/policy/modules/kernel/corecommands.te index a0c40b58..42953f90 100644 --- a/refpolicy/policy/modules/kernel/corecommands.te +++ b/refpolicy/policy/modules/kernel/corecommands.te @@ -1,5 +1,5 @@ -policy_module(corecommands,1.3.2) +policy_module(corecommands,1.3.3) ######################################## #