Allow the system user domains to chat over dbus with a few other

domains (e.g. gnome session).

Thanks to Jason Zaman for pointing out the correct interface to
achieve this.

This new version fixes a typographic error in the previous version.

Signed-off-by: Guido Trentalancia <guido@trentalancia.net>
This commit is contained in:
Chris PeBenito 2016-08-14 14:12:50 -04:00
parent bfa6cc8bf5
commit 2bfcba6624
1 changed files with 21 additions and 0 deletions

View File

@ -595,10 +595,18 @@ template(`userdom_common_user_template',`
optional_policy(`
dbus_system_bus_client($1_t)
optional_policy(`
accountsd_dbus_chat($1_t)
')
optional_policy(`
bluetooth_dbus_chat($1_t)
')
optional_policy(`
colord_dbus_chat($1_t)
')
optional_policy(`
consolekit_dbus_chat($1_t)
')
@ -607,6 +615,11 @@ template(`userdom_common_user_template',`
cups_dbus_chat_config($1_t)
')
optional_policy(`
devicekit_dbus_chat_disk($1_t)
devicekit_dbus_chat_power($1_t)
')
optional_policy(`
hal_dbus_chat($1_t)
')
@ -618,6 +631,14 @@ template(`userdom_common_user_template',`
optional_policy(`
policykit_dbus_chat($1_t)
')
optional_policy(`
rtkit_daemon_dbus_chat($1_t)
')
optional_policy(`
xdm_dbus_chat($1_t)
')
')
optional_policy(`