Skip to contentSkip to conversation

services_networkmanager changes

PATCH [email protected] 2 participants 2 messages May 30, 2007 – Jun 12, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Additional transition rule so uncofnined_t can transition to network manager, requested by networkmanager maintainers

policy/modules/services/networkmanager.if +19 -0
@@ -78,3 +78,22 @@
 	allow $1 NetworkManager_t:dbus send_msg;
 	allow NetworkManager_t $1:dbus send_msg;
 ')
+
+########################################
+## <summary>
+##	Transition to NetworkManager 
+## </summary>
+## <param name="domain">
+##	<summary>
+##	Domain allowed access.
+##	</summary>
+## </param>
+#
+interface(`networkmanager_domtrans',`
+	gen_require(`
+		type NetworkManager_t, NetworkManager_exec_t;
+	')
+	corecmd_search_bin($1)
+	domtrans_pattern($1,NetworkManager_exec_t,NetworkManager_t)
+
+')

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 16 lines · On Wed, 2007-05-30 at 11:44 -0400, [email protected] wrote:

Additional transition rule so uncofnined_t can transition to network manager, requested by networkmanager maintainers

policy/modules/services/networkmanager.if +9 -0
@@ -78,3 +78,22 @@
 	allow $1 NetworkManager_t:dbus send_msg;
 	allow NetworkManager_t $1:dbus send_msg;
 ')
+
+########################################
+## <summary>
+##	Transition to NetworkManager 
+## </summary>
+## <param name="domain">
+##	<summary>
+##	Domain allowed access.
+##	</summary>

policy/modules/services/networkmanager.if line 99

Quoted 10 lines
policy/modules/services/networkmanager.if +10 -0
+## </param>
+#
+interface(`networkmanager_domtrans',`
+	gen_require(`
+		type NetworkManager_t, NetworkManager_exec_t;
+	')
+	corecmd_search_bin($1)
+	domtrans_pattern($1,NetworkManager_exec_t,NetworkManager_t)
+
+')

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.