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 7C5A4138330 for ; Mon, 3 Oct 2016 06:26:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB4BB21C099; Mon, 3 Oct 2016 06:26:36 +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 9F8E0E0AAA for ; Mon, 3 Oct 2016 06:26:36 +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 56030340E13 for ; Mon, 3 Oct 2016 06:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97DFA248E 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: <1475474661.90909b138975c956acff4d6d6abcd63003ed5b3b.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/userdomain.if policy/modules/system/userdomain.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 90909b138975c956acff4d6d6abcd63003ed5b3b 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: 7d03038c-be4d-46fa-a99b-f4ad47e13fd4 X-Archives-Hash: 6cbabc5c9dd30bd5f61b8d5faad0c030 commit: 90909b138975c956acff4d6d6abcd63003ed5b3b Author: Chris PeBenito ieee org> AuthorDate: Thu Sep 8 23:17:31 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Oct 3 06:04:21 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=90909b13 Additional change from Guido Trentalancia related to evolution. policy/modules/system/userdomain.if | 22 ++++++++++++++++++++++ policy/modules/system/userdomain.te | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index e6e434a..bf78a2b 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -2421,6 +2421,28 @@ interface(`userdom_read_user_certs',` ######################################## ## +## Do not audit attempts to manage +## the user SSL certificates. +## +## +## +## Domain allowed access. +## +## +## +# +interface(`userdom_dontaudit_manage_user_certs',` + gen_require(` + type user_cert_t; + ') + + dontaudit $1 user_cert_t:dir manage_dir_perms; + dontaudit $1 user_cert_t:file manage_file_perms; + dontaudit $1 user_cert_t:lnk_file manage_file_perms; +') + +######################################## +## ## Manage user SSL certificates. ## ## diff --git a/policy/modules/system/userdomain.te b/policy/modules/system/userdomain.te index b44dd5d..c9774a1 100644 --- a/policy/modules/system/userdomain.te +++ b/policy/modules/system/userdomain.te @@ -1,4 +1,4 @@ -policy_module(userdomain, 4.11.6) +policy_module(userdomain, 4.11.7) ######################################## # 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 485C2138330 for ; Mon, 3 Oct 2016 06:21:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A64B821C096; Mon, 3 Oct 2016 06:21:01 +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 89BE921C096 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 0B4CC340E03 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 DB34124A9 for ; Mon, 3 Oct 2016 06:20:51 +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: <1475474661.90909b138975c956acff4d6d6abcd63003ed5b3b.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/userdomain.if policy/modules/system/userdomain.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 90909b138975c956acff4d6d6abcd63003ed5b3b X-VCS-Branch: master Date: Mon, 3 Oct 2016 06:20:51 +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: 09d8c28d-676a-4d9d-9301-7e5849cdde27 X-Archives-Hash: d5efc1603ea75952f915aee67342345c Message-ID: <20161003062051.M0Isct53yyq9lg5mSJ6e1Jqu6ZMaEWV1yyuf7258HjE@z> commit: 90909b138975c956acff4d6d6abcd63003ed5b3b Author: Chris PeBenito ieee org> AuthorDate: Thu Sep 8 23:17:31 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Oct 3 06:04:21 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=90909b13 Additional change from Guido Trentalancia related to evolution. policy/modules/system/userdomain.if | 22 ++++++++++++++++++++++ policy/modules/system/userdomain.te | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index e6e434a..bf78a2b 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -2421,6 +2421,28 @@ interface(`userdom_read_user_certs',` ######################################## ## +## Do not audit attempts to manage +## the user SSL certificates. +## +## +## +## Domain allowed access. +## +## +## +# +interface(`userdom_dontaudit_manage_user_certs',` + gen_require(` + type user_cert_t; + ') + + dontaudit $1 user_cert_t:dir manage_dir_perms; + dontaudit $1 user_cert_t:file manage_file_perms; + dontaudit $1 user_cert_t:lnk_file manage_file_perms; +') + +######################################## +## ## Manage user SSL certificates. ## ## diff --git a/policy/modules/system/userdomain.te b/policy/modules/system/userdomain.te index b44dd5d..c9774a1 100644 --- a/policy/modules/system/userdomain.te +++ b/policy/modules/system/userdomain.te @@ -1,4 +1,4 @@ -policy_module(userdomain, 4.11.6) +policy_module(userdomain, 4.11.7) ######################################## #