Skip to contentSkip to conversation

xdm: is a system bus client and acquires service on the system bus xdm: dbus chat with accounts-daemon

PATCH New Dominick Grift 2 participants 2 messages Sep 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xdm: is a system bus client and acquires service on the system bus xdm: dbus chat with accounts-daemon

policy/modules/services/xserver.te +9 -0
index 4f6d693..61a8f97 100644
@@ -514,6 +514,15 @@
 ')
 
 optional_policy(`
+	dbus_system_bus_client(xdm_t)
+	dbus_connect_system_bus(xdm_t)
+
+	optional_policy(`
+		accountsd_dbus_chat(xdm_t)
+	')
+')
+
+optional_policy(`
 	# Talk to the console mouse server.
 	gpm_stream_connect(xdm_t)
 	gpm_setattr_gpmctl(xdm_t)
#1 lore raw

PATCH 1/1 xdm: is a system bus client and acquires service on the system bus xdm: dbus chat with accounts-daemon

Quoted 12 lines · Dominick Grift
policy/modules/services/xserver.te +2 -0
index 4f6d693..61a8f97 100644
@@ -514,6 +514,15 @@
 ')
 
 optional_policy(`
+	dbus_system_bus_client(xdm_t)
+	dbus_connect_system_bus(xdm_t)

policy/modules/services/xserver.te line 528

Quoted 10 lines
policy/modules/services/xserver.te +7 -0
+
+	optional_policy(`
+		accountsd_dbus_chat(xdm_t)
+	')
+')
+
+optional_policy(`
 	# Talk to the console mouse server.
 	gpm_stream_connect(xdm_t)
 	gpm_setattr_gpmctl(xdm_t)

Merged.

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