From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 34DF81381FA for ; Thu, 29 May 2014 17:29:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A1FBE08DC; Thu, 29 May 2014 17:29:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4DFEE08DC for ; Thu, 29 May 2014 17:29:37 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA3BD33EB08 for ; Thu, 29 May 2014 17:29:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id D2564181A9 for ; Thu, 29 May 2014 17:29:34 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1401384509.2d41348bbc572a365a257976002d9f5e145eefc8.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/mozilla.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 2d41348bbc572a365a257976002d9f5e145eefc8 X-VCS-Branch: master Date: Thu, 29 May 2014 17:29:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8f8f960a-d94d-440f-9adb-1d90395e8c46 X-Archives-Hash: e483eaa62597e546fb2dceefef919b79 commit: 2d41348bbc572a365a257976002d9f5e145eefc8 Author: Jason Zaman perfinion com> AuthorDate: Thu May 29 14:53:07 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu May 29 17:28:29 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=2d41348b Allow mozilla to send dbus messages to gconfd Firefox throws the following error when it starts if it cannot talk to gconfd Configuration server couldn't be contacted: D-BUS error: An SELinux policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.120" (uid=1000 pid=26773 comm="/opt/firefox/firefox ") interface="org.gnome.GConf.Server" member="GetDefaultDatabase" error name="(unset)" requested_reply="0" destination="org.gnome.GConf" (uid=1000 pid=20128 comm="/usr/libexec/gconfd-2 ") Signed-off-by: Jason Zaman perfinion.com> --- policy/modules/contrib/mozilla.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/mozilla.te b/policy/modules/contrib/mozilla.te index 87728ae..6d7bac7 100644 --- a/policy/modules/contrib/mozilla.te +++ b/policy/modules/contrib/mozilla.te @@ -761,4 +761,8 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t) ') ') + + optional_policy(` + gnome_dbus_chat_gconfd(mozilla_t) + ') ')