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 A77F2158087 for ; Mon, 7 Feb 2022 02:15:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8910B2BC007; Mon, 7 Feb 2022 02:15:01 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D46812BC007 for ; Mon, 7 Feb 2022 02:15:00 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6BDC342D28 for ; Mon, 7 Feb 2022 02:14:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AFB32D0 for ; Mon, 7 Feb 2022 02:14:58 +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: <1644199717.85d6a0dc23d32be6b29c25dfd4b5221346c05d52.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/ssh.te policy/modules/system/systemd.te X-VCS-Directories: policy/modules/system/ policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 85d6a0dc23d32be6b29c25dfd4b5221346c05d52 X-VCS-Branch: master Date: Mon, 7 Feb 2022 02:14:58 +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: a62a8579-3acb-4230-b69e-fa4dba1c2a52 X-Archives-Hash: 8ab1d28a3718ee0a2882e116fddf8527 commit: 85d6a0dc23d32be6b29c25dfd4b5221346c05d52 Author: Chris PeBenito microsoft com> AuthorDate: Mon Jan 3 21:17:56 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 7 02:08:37 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=85d6a0dc systemd, ssh: Crypto sysctl use. Signed-off-by: Chris PeBenito microsoft.com> Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/ssh.te | 1 + policy/modules/system/systemd.te | 2 ++ 2 files changed, 3 insertions(+) diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te index 194e97f8..ce320c6a 100644 --- a/policy/modules/services/ssh.te +++ b/policy/modules/services/ssh.te @@ -339,6 +339,7 @@ allow ssh_keygen_t sshd_key_t:file manage_file_perms; files_etc_filetrans(ssh_keygen_t, sshd_key_t, file) kernel_read_kernel_sysctls(ssh_keygen_t) +kernel_read_crypto_sysctls(ssh_keygen_t) kernel_dontaudit_getattr_proc(ssh_keygen_t) kernel_dontaudit_read_system_state(ssh_keygen_t) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index db8c9979..95939f0f 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -701,6 +701,8 @@ selinux_use_status_page(systemd_hw_t) init_read_state(systemd_hw_t) init_search_runtime(systemd_hw_t) +kernel_read_crypto_sysctls(systemd_hw_t) + seutil_read_config(systemd_hw_t) seutil_read_file_contexts(systemd_hw_t)