Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Wed, 28 May 2014 17:54:43
Message-Id: 1401299522.89b14c472ffd3b15552f4dbc5b39e0081ec72f7e.swift@gentoo
1 commit: 89b14c472ffd3b15552f4dbc5b39e0081ec72f7e
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Wed May 28 17:52:02 2014 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Wed May 28 17:52:02 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=89b14c47
7
8 Add gnome_dbus_chat_gconfd interface (bug #510572)
9
10 ---
11 policy/modules/contrib/gnome.if | 23 +++++++++++++++++++++++
12 1 file changed, 23 insertions(+)
13
14 diff --git a/policy/modules/contrib/gnome.if b/policy/modules/contrib/gnome.if
15 index 118ee01..5e05e12 100644
16 --- a/policy/modules/contrib/gnome.if
17 +++ b/policy/modules/contrib/gnome.if
18 @@ -735,3 +735,26 @@ interface(`gnome_stream_connect_all_gkeyringd',`
19 files_search_tmp($1)
20 stream_connect_pattern($1, gnome_keyring_tmp_t, gnome_keyring_tmp_t, gkeyringd_domain)
21 ')
22 +
23 +# From here Gentoo specific but cannot use ifdef distro_gentoo here
24 +
25 +#########################################
26 +## <summary>
27 +## Send and receive messages from the gconf daemon
28 +## over dbus.
29 +## </summary>
30 +## <param name="domain">
31 +## <summary>
32 +## Domain allowed access.
33 +## </summary>
34 +## </param>
35 +#
36 +interface(`gnome_dbus_chat_gconfd',`
37 + gen_require(`
38 + type gconfd_t;
39 + class dbus send_msg;
40 + ')
41 +
42 + allow $1 gconfd_t:dbus send_msg;
43 + allow gconfd_t $1:dbus send_msg;
44 +')