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 15D8B138330 for ; Mon, 3 Oct 2016 06:20:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 999CA21C07C; Mon, 3 Oct 2016 06:20:56 +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 7FED321C07C for ; Mon, 3 Oct 2016 06:20:56 +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 44EBE340E01 for ; Mon, 3 Oct 2016 06:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F5DD24AE for ; Mon, 3 Oct 2016 06:20:52 +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: <1475474714.ad72efd64eb17bf500c13b58120437b3dacc4aab.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/evolution.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: ad72efd64eb17bf500c13b58120437b3dacc4aab X-VCS-Branch: master Date: Mon, 3 Oct 2016 06:20:52 +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: c4af66a1-5b54-4494-8b20-7fc7733ce7de X-Archives-Hash: 7023ae90e359a237f0b512504a093871 commit: ad72efd64eb17bf500c13b58120437b3dacc4aab Author: Chris PeBenito ieee org> AuthorDate: Thu Sep 8 23:15:11 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Oct 3 06:05:14 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=ad72efd6 evolution: Read user certs from Guido Trentalancia. policy/modules/contrib/evolution.te | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/evolution.te b/policy/modules/contrib/evolution.te index 55ee470..a3cf532 100644 --- a/policy/modules/contrib/evolution.te +++ b/policy/modules/contrib/evolution.te @@ -1,10 +1,19 @@ -policy_module(evolution, 2.4.1) +policy_module(evolution, 2.4.2) ######################################## # # Declarations # +## +##

+## Allow evolution to create and write +## user certificates in addition to +## being able to read them +##

+##
+gen_tunable(evolution_manage_user_certs, false) + attribute_role evolution_roles; type evolution_t; @@ -185,6 +194,13 @@ udev_read_state(evolution_t) userdom_use_user_terminals(evolution_t) +tunable_policy(`evolution_manage_user_certs',` + userdom_manage_user_certs(evolution_t) +',` + userdom_dontaudit_manage_user_certs(evolution_t) + userdom_read_user_certs(evolution_t) +') + userdom_manage_user_tmp_dirs(evolution_t) userdom_manage_user_tmp_files(evolution_t) @@ -437,6 +453,13 @@ miscfiles_read_generic_certs(evolution_server_t) userdom_dontaudit_read_user_home_content_files(evolution_server_t) +tunable_policy(`evolution_manage_user_certs',` + userdom_manage_user_certs(evolution_server_t) +',` + userdom_dontaudit_manage_user_certs(evolution_server_t) + userdom_read_user_certs(evolution_server_t) +') + tunable_policy(`use_nfs_home_dirs',` fs_manage_nfs_dirs(evolution_server_t) fs_manage_nfs_files(evolution_server_t) 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 54976138330 for ; Mon, 3 Oct 2016 06:26:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1208421C09F; Mon, 3 Oct 2016 06:26:38 +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 EBA5321C09E for ; Mon, 3 Oct 2016 06:26:37 +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 ABF97340E10 for ; Mon, 3 Oct 2016 06:26:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F313524A9 for ; Mon, 3 Oct 2016 06:26:33 +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: <1475474714.ad72efd64eb17bf500c13b58120437b3dacc4aab.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/evolution.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: ad72efd64eb17bf500c13b58120437b3dacc4aab X-VCS-Branch: next Date: Mon, 3 Oct 2016 06:26:33 +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: 0eec066e-2bd8-4f2b-97e4-1091111aba7f X-Archives-Hash: 8342794f2d68acf5896f38793558c6cf Message-ID: <20161003062633.jbYjiDhJPy9aPUUdSbgvnvBawC0qLT1RmsLSC6gmyTM@z> commit: ad72efd64eb17bf500c13b58120437b3dacc4aab Author: Chris PeBenito ieee org> AuthorDate: Thu Sep 8 23:15:11 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Oct 3 06:05:14 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=ad72efd6 evolution: Read user certs from Guido Trentalancia. policy/modules/contrib/evolution.te | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/evolution.te b/policy/modules/contrib/evolution.te index 55ee470..a3cf532 100644 --- a/policy/modules/contrib/evolution.te +++ b/policy/modules/contrib/evolution.te @@ -1,10 +1,19 @@ -policy_module(evolution, 2.4.1) +policy_module(evolution, 2.4.2) ######################################## # # Declarations # +## +##

+## Allow evolution to create and write +## user certificates in addition to +## being able to read them +##

+##
+gen_tunable(evolution_manage_user_certs, false) + attribute_role evolution_roles; type evolution_t; @@ -185,6 +194,13 @@ udev_read_state(evolution_t) userdom_use_user_terminals(evolution_t) +tunable_policy(`evolution_manage_user_certs',` + userdom_manage_user_certs(evolution_t) +',` + userdom_dontaudit_manage_user_certs(evolution_t) + userdom_read_user_certs(evolution_t) +') + userdom_manage_user_tmp_dirs(evolution_t) userdom_manage_user_tmp_files(evolution_t) @@ -437,6 +453,13 @@ miscfiles_read_generic_certs(evolution_server_t) userdom_dontaudit_read_user_home_content_files(evolution_server_t) +tunable_policy(`evolution_manage_user_certs',` + userdom_manage_user_certs(evolution_server_t) +',` + userdom_dontaudit_manage_user_certs(evolution_server_t) + userdom_read_user_certs(evolution_server_t) +') + tunable_policy(`use_nfs_home_dirs',` fs_manage_nfs_dirs(evolution_server_t) fs_manage_nfs_files(evolution_server_t)