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 7E5DC158087 for ; Mon, 7 Feb 2022 02:15:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ACBA02BC025; Mon, 7 Feb 2022 02:15:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 87DA02BC026 for ; Mon, 7 Feb 2022 02:15:02 +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 7E0E7342D28 for ; Mon, 7 Feb 2022 02:15:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7A7D2D6 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: <1644199790.5ee13c254c0451f054558a0f22da48377311c551.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/domain.te X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 5ee13c254c0451f054558a0f22da48377311c551 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: 5678741b-9407-42b3-9cf3-9704d01ef8ea X-Archives-Hash: 2bb51690048efe89c7c5ad15bc1fbe55 commit: 5ee13c254c0451f054558a0f22da48377311c551 Author: Chris PeBenito linux microsoft com> AuthorDate: Tue Feb 1 14:27:06 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 7 02:09:50 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5ee13c25 domain: Allow lockdown for all domains. The checks for this class were removed in 5.16. This object class will be removed in the future. For more info: https://lore.kernel.org/selinux/163243191040.178880.4295195865966623164.stgit@olly Signed-off-by: Chris PeBenito linux.microsoft.com> Signed-off-by: Jason Zaman gentoo.org> policy/modules/kernel/domain.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/policy/modules/kernel/domain.te b/policy/modules/kernel/domain.te index 00cea380..2eff1d34 100644 --- a/policy/modules/kernel/domain.te +++ b/policy/modules/kernel/domain.te @@ -103,6 +103,11 @@ kernel_dontaudit_link_key(domain) # create child processes in the domain allow domain self:process { fork sigchld }; +# lockdown checks were removed in 5.16. The class will be removed +# from the policy in the future. For reference: +# https://lore.kernel.org/selinux/163243191040.178880.4295195865966623164.stgit@olly +allow domain self:lockdown { integrity confidentiality }; + # glibc get_nprocs requires read access to /sys/devices/system/cpu/online dev_read_cpu_online(domain)