From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 33FAA1381FA for ; Wed, 28 May 2014 17:54:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDF9DE08E1; Wed, 28 May 2014 17:54:42 +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 5E9D6E08E6 for ; Wed, 28 May 2014 17:54:42 +0000 (UTC) Received: from spoonbill.gentoo.org (unknown [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 40BEA33FADB for ; Wed, 28 May 2014 17:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 9D341181A9 for ; Wed, 28 May 2014 17:54:39 +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: <1401299522.89b14c472ffd3b15552f4dbc5b39e0081ec72f7e.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/gnome.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 89b14c472ffd3b15552f4dbc5b39e0081ec72f7e X-VCS-Branch: master Date: Wed, 28 May 2014 17:54:39 +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: fe0dbebd-54de-41c8-b05a-04a639a64a53 X-Archives-Hash: d56fe7f7e239c3a11b9b417e682c2e1d commit: 89b14c472ffd3b15552f4dbc5b39e0081ec72f7e Author: Sven Vermeulen siphos be> AuthorDate: Wed May 28 17:52:02 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed May 28 17:52:02 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=89b14c47 Add gnome_dbus_chat_gconfd interface (bug #510572) --- policy/modules/contrib/gnome.if | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/policy/modules/contrib/gnome.if b/policy/modules/contrib/gnome.if index 118ee01..5e05e12 100644 --- a/policy/modules/contrib/gnome.if +++ b/policy/modules/contrib/gnome.if @@ -735,3 +735,26 @@ interface(`gnome_stream_connect_all_gkeyringd',` files_search_tmp($1) stream_connect_pattern($1, gnome_keyring_tmp_t, gnome_keyring_tmp_t, gkeyringd_domain) ') + +# From here Gentoo specific but cannot use ifdef distro_gentoo here + +######################################### +## +## Send and receive messages from the gconf daemon +## over dbus. +## +## +## +## Domain allowed access. +## +## +# +interface(`gnome_dbus_chat_gconfd',` + gen_require(` + type gconfd_t; + class dbus send_msg; + ') + + allow $1 gconfd_t:dbus send_msg; + allow gconfd_t $1:dbus send_msg; +')