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 33FF9138206 for ; Thu, 18 Jan 2018 16:37:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52788E08CD; Thu, 18 Jan 2018 16:37:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30435E08CD for ; Thu, 18 Jan 2018 16:37:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 525CE335C42 for ; Thu, 18 Jan 2018 16:37:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72ED81C6 for ; Thu, 18 Jan 2018 16:37:07 +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: <1516292775.78a19a3f7cbb0596156dc9c50dadfaf629111ccf.swift@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/spamassassin.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 78a19a3f7cbb0596156dc9c50dadfaf629111ccf X-VCS-Branch: master Date: Thu, 18 Jan 2018 16:37:07 +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: 8dc5187b-8385-4452-a4fe-68724dff3785 X-Archives-Hash: b4a0f32ee92056fb92159039aa856692 commit: 78a19a3f7cbb0596156dc9c50dadfaf629111ccf Author: Christian Göttsche googlemail com> AuthorDate: Wed Jan 3 23:40:06 2018 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Jan 18 16:26:15 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=78a19a3f spamassassin: fix missing perms version 2: * fix non existent interface kernel_search_crypto_sysctls * add spamd-gpg permissions on update policy/modules/contrib/spamassassin.te | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/spamassassin.te b/policy/modules/contrib/spamassassin.te index 9bc81030..7d34829d 100644 --- a/policy/modules/contrib/spamassassin.te +++ b/policy/modules/contrib/spamassassin.te @@ -549,10 +549,13 @@ optional_policy(` allow spamd_gpg_t spamd_update_t:fd use; allow spamd_gpg_t spamd_update_t:process sigchld; allow spamd_gpg_t spamd_update_t:fifo_file { getattr write }; - allow spamd_gpg_t spamd_var_lib_t:dir search_dir_perms; - allow spamd_gpg_t spamd_var_lib_t:file rw_file_perms; + allow spamd_gpg_t spamd_var_lib_t:dir rw_dir_perms; + allow spamd_gpg_t spamd_var_lib_t:file manage_file_perms; allow spamd_gpg_t spamd_update_tmp_t:file read_file_perms; + # fips + kernel_read_crypto_sysctls(spamd_gpg_t) + domain_use_interactive_fds(spamd_gpg_t) files_read_etc_files(spamd_gpg_t) @@ -562,6 +565,7 @@ optional_policy(` files_search_tmp(spamd_gpg_t) init_use_fds(spamd_gpg_t) + init_rw_inherited_stream_socket(spamd_gpg_t) miscfiles_read_localization(spamd_gpg_t)