Skip to contentSkip to conversation

gnome/mozilla: allow dbus chat

PATCH New Guido Trentalancia 2 participants 2 messages Jan 6, 2018 – Jan 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnome/mozilla: allow dbus chat

Allow dbus chat between gnome (keyring daemon) and mozilla domains.

---
 policy/modules/contrib/gnome.if |    4 ++++
 1 file changed, 4 insertions(+)

--- a/policy/modules/contrib/gnome.if 2018-01-06
23:51:01.108985427 +0100
+++ b/policy/modules/contrib/gnome.if 2018-01-06
23:53:39.173984781 +0100
@@ -103,6 +103,10 @@ template(gnome_role_template',
')

optional_policy(`
+ mozilla_dbus_chat($1_gkeyringd_t)
+ ')
+
+ optional_policy(`
wm_dbus_chat($1, $1_gkeyringd_t)
')
')

#1 lore raw

PATCH 1/1 gnome/mozilla: allow dbus chat

Quoted 12 lines · Guido Trentalancia via refpolicy

Allow dbus chat between gnome (keyring daemon) and mozilla domains.

---
  policy/modules/contrib/gnome.if |    4 ++++
  1 file changed, 4 insertions(+)

--- a/policy/modules/contrib/gnome.if 2018-01-06
23:51:01.108985427 +0100
+++ b/policy/modules/contrib/gnome.if 2018-01-06
23:53:39.173984781 +0100

Review template(`gnome_role_template',` · line 112

Quoted 10 lines
(quoted diff) +4 -0
@@ -103,6 +103,10 @@ template(`gnome_role_template',`
  		')
 
  		optional_policy(`
+			mozilla_dbus_chat($1_gkeyringd_t)
+		')
+
+		optional_policy(`
  			wm_dbus_chat($1, $1_gkeyringd_t)
  		')
  	')

It seems like this should actually be in the mozilla module, using gnome_dbus_chat_gkeyringd(), since it's the keyring _daemon_.

Signature · 1 line
Chris PeBenito