From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4A45413832F for ; Wed, 17 Aug 2016 17:00:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 326AC21C185; Wed, 17 Aug 2016 17:00:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7214921C1AC for ; Wed, 17 Aug 2016 17:00:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC12333BF41 for ; Wed, 17 Aug 2016 17:00:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B56B2463 for ; Wed, 17 Aug 2016 16:59:59 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1471452139.836b8ae8f3e978659e15e206b72958bbc680a28b.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/telepathy.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 836b8ae8f3e978659e15e206b72958bbc680a28b X-VCS-Branch: next Date: Wed, 17 Aug 2016 16:59:59 +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: bc4f3f95-6e3e-4995-907d-53b4168973c0 X-Archives-Hash: 68b0ba0243c031a6ca4793a9211a6258 commit: 836b8ae8f3e978659e15e206b72958bbc680a28b Author: Chris PeBenito ieee org> AuthorDate: Sun Aug 14 18:11:09 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Wed Aug 17 16:42:19 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=836b8ae8 Update the telepathy module: - add an interface to support chat over dbus in the mission control domain; - add support for dbus chat in the mission control domain for the telepathy role. Signed-off-by: Guido Trentalancia trentalancia.net> policy/modules/contrib/telepathy.if | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/policy/modules/contrib/telepathy.if b/policy/modules/contrib/telepathy.if index 0d58469..b9a5b8a 100644 --- a/policy/modules/contrib/telepathy.if +++ b/policy/modules/contrib/telepathy.if @@ -114,6 +114,8 @@ template(`telepathy_role_template',` allow $3 telepathy_tmp_content:dir { manage_dir_perms relabel_dir_perms }; allow $3 telepathy_tmp_content:file { manage_file_perms relabel_file_perms }; allow $3 telepathy_tmp_content:sock_file { manage_sock_file_perms relabel_sock_file_perms }; + + telepathy_mission_control_dbus_chat($3) ') ######################################## @@ -159,6 +161,27 @@ interface(`telepathy_gabble_dbus_chat',` ######################################## ## +## Send dbus messages to and from +## mission control. +## +## +## +## Domain allowed access. +## +## +# +interface(`telepathy_mission_control_dbus_chat',` + gen_require(` + type telepathy_mission_control_t; + class dbus send_msg; + ') + + allow $1 telepathy_mission_control_t:dbus send_msg; + allow telepathy_mission_control_t $1:dbus send_msg; +') + +######################################## +## ## Read mission control process state files. ## ## From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EE951381F1 for ; Wed, 17 Aug 2016 16:59:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A10F121C10A; Wed, 17 Aug 2016 16:59:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E19B21C121 for ; Wed, 17 Aug 2016 16:59:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3331D340F0E for ; Wed, 17 Aug 2016 16:59:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB9802463 for ; Wed, 17 Aug 2016 16:59:04 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1471452139.836b8ae8f3e978659e15e206b72958bbc680a28b.perfinion@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/telepathy.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 836b8ae8f3e978659e15e206b72958bbc680a28b X-VCS-Branch: master Date: Wed, 17 Aug 2016 16:59:04 +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: 307c56ff-8f2b-4798-bb03-1eba3d1048b5 X-Archives-Hash: 100f31e0d7ff87961d14586a04132320 Message-ID: <20160817165904.3Lxf1gJRsPTgK7989Vit5Y5m9Jtu3M_raiSE6HtwdB4@z> commit: 836b8ae8f3e978659e15e206b72958bbc680a28b Author: Chris PeBenito ieee org> AuthorDate: Sun Aug 14 18:11:09 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Wed Aug 17 16:42:19 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=836b8ae8 Update the telepathy module: - add an interface to support chat over dbus in the mission control domain; - add support for dbus chat in the mission control domain for the telepathy role. Signed-off-by: Guido Trentalancia trentalancia.net> policy/modules/contrib/telepathy.if | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/policy/modules/contrib/telepathy.if b/policy/modules/contrib/telepathy.if index 0d58469..b9a5b8a 100644 --- a/policy/modules/contrib/telepathy.if +++ b/policy/modules/contrib/telepathy.if @@ -114,6 +114,8 @@ template(`telepathy_role_template',` allow $3 telepathy_tmp_content:dir { manage_dir_perms relabel_dir_perms }; allow $3 telepathy_tmp_content:file { manage_file_perms relabel_file_perms }; allow $3 telepathy_tmp_content:sock_file { manage_sock_file_perms relabel_sock_file_perms }; + + telepathy_mission_control_dbus_chat($3) ') ######################################## @@ -159,6 +161,27 @@ interface(`telepathy_gabble_dbus_chat',` ######################################## ## +## Send dbus messages to and from +## mission control. +## +## +## +## Domain allowed access. +## +## +# +interface(`telepathy_mission_control_dbus_chat',` + gen_require(` + type telepathy_mission_control_t; + class dbus send_msg; + ') + + allow $1 telepathy_mission_control_t:dbus send_msg; + allow telepathy_mission_control_t $1:dbus send_msg; +') + +######################################## +## ## Read mission control process state files. ## ##