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 7F3F0138806 for ; Tue, 12 Dec 2017 07:59:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB9F0E0FB8; Tue, 12 Dec 2017 07:59:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 94FD3E0FB8 for ; Tue, 12 Dec 2017 07:59:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C401733FE2A for ; Tue, 12 Dec 2017 07:59:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4520EAE8D for ; Tue, 12 Dec 2017 07:59:13 +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: <1513062450.d3d524c7ff452197e596d9b3b07b799922d2d727.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/pkcs.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: d3d524c7ff452197e596d9b3b07b799922d2d727 X-VCS-Branch: master Date: Tue, 12 Dec 2017 07:59:13 +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: a945c3f4-4066-45bb-9c4a-f782d5060e2b X-Archives-Hash: 564c6cfc7d3525932f0ed122cd0e9a0f commit: d3d524c7ff452197e596d9b3b07b799922d2d727 Author: Eduardo Barretto linux vnet ibm com> AuthorDate: Wed Nov 29 13:27:18 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Tue Dec 12 07:07:30 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d3d524c7 Update missing permissions for pkcs pkcsslotd needs access to tmpfs files and /etc/group file. Signed-off-by: Eduardo Barretto linux.vnet.ibm.com> policy/modules/contrib/pkcs.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/pkcs.te b/policy/modules/contrib/pkcs.te index 1ede749f..339b1176 100644 --- a/policy/modules/contrib/pkcs.te +++ b/policy/modules/contrib/pkcs.te @@ -54,10 +54,12 @@ files_tmp_filetrans(pkcs_slotd_t, pkcs_slotd_tmp_t, dir) manage_dirs_pattern(pkcs_slotd_t, pkcs_slotd_tmpfs_t, pkcs_slotd_tmpfs_t) manage_files_pattern(pkcs_slotd_t, pkcs_slotd_tmpfs_t, pkcs_slotd_tmpfs_t) -fs_tmpfs_filetrans(pkcs_slotd_t, pkcs_slotd_tmpfs_t, dir) +fs_tmpfs_filetrans(pkcs_slotd_t, pkcs_slotd_tmpfs_t, { dir file }) files_read_etc_files(pkcs_slotd_t) +auth_use_nsswitch(pkcs_slotd_t) + logging_send_syslog_msg(pkcs_slotd_t) miscfiles_read_localization(pkcs_slotd_t)