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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79742158086 for ; Thu, 11 Nov 2021 21:27:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 530412BC169; Thu, 11 Nov 2021 21:27:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32B482BC169 for ; Thu, 11 Nov 2021 21:27:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94BEE34324F for ; Thu, 11 Nov 2021 21:27:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59FC61E6 for ; Thu, 11 Nov 2021 21:27:37 +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: <1636666010.e91a62ad6b10e91e8723c5fc3600842758710bd4.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/spamassassin.fc X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: e91a62ad6b10e91e8723c5fc3600842758710bd4 X-VCS-Branch: master Date: Thu, 11 Nov 2021 21:27:37 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad49dcc6-77b3-4764-94e3-c03dfca23db0 X-Archives-Hash: 6615ecc158daa739f44069ae14ee242b commit: e91a62ad6b10e91e8723c5fc3600842758710bd4 Author: Kenton Groombridge concord sh> AuthorDate: Tue Nov 9 16:00:29 2021 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Nov 11 21:26:50 2021 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e91a62ad spamassassin: fix file contexts for rspamd symlinks rspamd installs symlinks to /usr/bin that point to the real rspam* binaries. Make these files bin_t so that other programs can read them without any additional access needed. Signed-off-by: Kenton Groombridge concord.sh> Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/spamassassin.fc | 3 --- 1 file changed, 3 deletions(-) diff --git a/policy/modules/services/spamassassin.fc b/policy/modules/services/spamassassin.fc index e42f44fa..9229ad2f 100644 --- a/policy/modules/services/spamassassin.fc +++ b/policy/modules/services/spamassassin.fc @@ -16,11 +16,8 @@ HOME_DIR/\.spamd(/.*)? gen_context(system_u:object_r:spamd_home_t,s0) /usr/bin/spamd -- gen_context(system_u:object_r:spamd_exec_t,s0) /usr/bin/spampd -- gen_context(system_u:object_r:spamd_exec_t,s0) /usr/bin/sa-update -- gen_context(system_u:object_r:spamd_update_exec_t,s0) -/usr/bin/rspamd -l gen_context(system_u:object_r:spamd_exec_t,s0) /usr/bin/rspamd-[^/]+ -- gen_context(system_u:object_r:spamd_exec_t,s0) -/usr/bin/rspamc -l gen_context(system_u:object_r:spamc_exec_t,s0) /usr/bin/rspamc-[^/]+ -- gen_context(system_u:object_r:spamc_exec_t,s0) -/usr/bin/rspamadm -l gen_context(system_u:object_r:spamc_exec_t,s0) /usr/bin/rspamadm-[^/]+ -- gen_context(system_u:object_r:spamc_exec_t,s0) /usr/sbin/spamd -- gen_context(system_u:object_r:spamd_exec_t,s0)