All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Changes to the sysnetwork policy module
@ 2012-10-05 17:14 Dominick Grift
  2012-10-09 15:22 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Dominick Grift @ 2012-10-05 17:14 UTC (permalink / raw)
  To: refpolicy


dhcpc is a dbus_system_domain()

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te
index c9c245b..47a9ece 100644
--- a/policy/modules/system/sysnetwork.te
+++ b/policy/modules/system/sysnetwork.te
@@ -159,10 +159,9 @@
 ')
 
 optional_policy(`
-	init_dbus_chat_script(dhcpc_t)
+	dbus_system_domain(dhcpc_t, dhcpc_exec_t)
 
-	dbus_system_bus_client(dhcpc_t)
-	dbus_connect_system_bus(dhcpc_t)
+	init_dbus_chat_script(dhcpc_t)
 
 	optional_policy(`
 		networkmanager_dbus_chat(dhcpc_t)

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

* [refpolicy] [PATCH] Changes to the sysnetwork policy module
  2012-10-05 17:14 [refpolicy] [PATCH] Changes to the sysnetwork policy module Dominick Grift
@ 2012-10-09 15:22 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2012-10-09 15:22 UTC (permalink / raw)
  To: refpolicy

On 10/05/12 13:14, Dominick Grift wrote:
> 
> dhcpc is a dbus_system_domain()
> 
> Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
> diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te
> index c9c245b..47a9ece 100644
> --- a/policy/modules/system/sysnetwork.te
> +++ b/policy/modules/system/sysnetwork.te
> @@ -159,10 +159,9 @@
>  ')
>  
>  optional_policy(`
> -	init_dbus_chat_script(dhcpc_t)
> +	dbus_system_domain(dhcpc_t, dhcpc_exec_t)
>  
> -	dbus_system_bus_client(dhcpc_t)
> -	dbus_connect_system_bus(dhcpc_t)
> +	init_dbus_chat_script(dhcpc_t)
>  
>  	optional_policy(`
>  		networkmanager_dbus_chat(dhcpc_t)

Merged.

-- 
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:[~2012-10-09 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-05 17:14 [refpolicy] [PATCH] Changes to the sysnetwork policy module Dominick Grift
2012-10-09 15:22 ` 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.