Skip to contentSkip to conversation

Changes to the userdomain policy module

PATCH New Dominick Grift 2 participants 2 messages Oct 8, 2012 – Oct 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Changes to the userdomain policy module

Remove evolution and evolution alarm dbus chat from common user template since callers of the evolution role are now allowed to dbus chat to evolution and evolution alarm.

Common users need to be able to dbus chat with policykit and consolekit

policy/modules/system/userdomain.if +5 -2
index e720dcd..5f6c1cf 100644
@@ -597,8 +597,7 @@
 		')
 
 		optional_policy(`
-			evolution_dbus_chat($1_t)
-			evolution_alarm_dbus_chat($1_t)
+			consolekit_dbus_chat($1_t)
 		')
 
 		optional_policy(`
@@ -612,6 +611,10 @@
 		optional_policy(`
 			networkmanager_dbus_chat($1_t)
 		')
+
+		optional_policy(`
+			policykit_dbus_chat($1_t)
+		')
 	')
 
 	optional_policy(`
#1 lore raw

PATCH 1/1 Changes to the userdomain policy module

Quoted 23 lines · Dominick Grift

Remove evolution and evolution alarm dbus chat from common user template since callers of the evolution role are now allowed to dbus chat to evolution and evolution alarm.

Common users need to be able to dbus chat with policykit and consolekit

policy/modules/system/userdomain.if +1 -2
index e720dcd..5f6c1cf 100644
@@ -597,8 +597,7 @@
 		')
 
 		optional_policy(`
-			evolution_dbus_chat($1_t)
-			evolution_alarm_dbus_chat($1_t)
+			consolekit_dbus_chat($1_t)
 		')
 
 		optional_policy(`

policy/modules/system/userdomain.if line 620

Quoted 10 lines
policy/modules/system/userdomain.if +4 -0
@@ -612,6 +611,10 @@
 		optional_policy(`
 			networkmanager_dbus_chat($1_t)
 		')
+
+		optional_policy(`
+			policykit_dbus_chat($1_t)
+		')
 	')
 
 	optional_policy(`

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com