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 28AF3138C8F for ; Mon, 24 Oct 2016 15:45:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90B56E0925; Mon, 24 Oct 2016 15:45:54 +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 7BF44E0925 for ; Mon, 24 Oct 2016 15:45:54 +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 8B5A834165F for ; Mon, 24 Oct 2016 15:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 006E624A2 for ; Mon, 24 Oct 2016 15:45:52 +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: <1475474661.90909b138975c956acff4d6d6abcd63003ed5b3b.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift 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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 90909b138975c956acff4d6d6abcd63003ed5b3b X-VCS-Branch: swift Date: Mon, 24 Oct 2016 15:45: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: 6fab2bb8-b7dd-4efc-9a7c-a808ad4ed844 X-Archives-Hash: e30410056a734aa601409530ec5c4535 commit: 90909b138975c956acff4d6d6abcd63003ed5b3b Author: Chris PeBenito ieee org> AuthorDate: Thu Sep 8 23:17:31 2016 +0000 Commit: Sven Vermeulen 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) ######################################## #