All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 4
@ 2010-12-31  0:12 Chris Richards
  2011-01-10 16:38 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Richards @ 2010-12-31  0:12 UTC (permalink / raw)
  To: refpolicy

Allow dhcpcd DHCP CLient daemon to start.

Relabel /var/run/dhcpcd from var_run_t to dhcpc_var_run_t

Signed-off-by: Chris Richards <gizmo@giz-works.com>
---
 policy/modules/system/sysnetwork.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc
index 726619b..11a2306 100644
--- a/policy/modules/system/sysnetwork.fc
+++ b/policy/modules/system/sysnetwork.fc
@@ -63,4 +62,5 @@ ifdef(`distro_redhat',`
 
 ifdef(`distro_gentoo',`
 /var/lib/dhcpc(/.*)?		gen_context(system_u:object_r:dhcpc_state_t,s0)
+/var/run/dhcpcd(/.*)?		gen_context(system_u:object_r:dhcpc_state_t,s0)
 ')
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 4
  2010-12-31  0:12 [refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 4 Chris Richards
@ 2011-01-10 16:38 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-01-10 16:38 UTC (permalink / raw)
  To: refpolicy

On 12/30/10 19:12, Chris Richards wrote:
> Allow dhcpcd DHCP CLient daemon to start.
> 
> Relabel /var/run/dhcpcd from var_run_t to dhcpc_var_run_t
> 
> Signed-off-by: Chris Richards <gizmo@giz-works.com>
> ---
>  policy/modules/system/sysnetwork.fc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc
> index 726619b..11a2306 100644
> --- a/policy/modules/system/sysnetwork.fc
> +++ b/policy/modules/system/sysnetwork.fc
> @@ -63,4 +62,5 @@ ifdef(`distro_redhat',`
>  
>  ifdef(`distro_gentoo',`
>  /var/lib/dhcpc(/.*)?		gen_context(system_u:object_r:dhcpc_state_t,s0)
> +/var/run/dhcpcd(/.*)?		gen_context(system_u:object_r:dhcpc_state_t,s0)
>  ')

Looks like a copy-paste error?  Your comment says dhcpc_var_run_t but
the fc says dhcpc_state_t.


-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-10 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-31  0:12 [refpolicy] [PATCH 1/2] DHCPC daemon init network interface, try 4 Chris Richards
2011-01-10 16:38 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.