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 DDAE815808C for ; Thu, 31 Mar 2022 03:31:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F19AEE07FE; Thu, 31 Mar 2022 03:31:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 DA122E07D4 for ; Thu, 31 Mar 2022 03:31:28 +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 079BA3414EF for ; Thu, 31 Mar 2022 03:31:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0952E376 for ; Thu, 31 Mar 2022 03:31:24 +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: <1648694453.5c01efb62cfd14b4ccf8cebcab4245bd188d2060.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/locallogin.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 5c01efb62cfd14b4ccf8cebcab4245bd188d2060 X-VCS-Branch: master Date: Thu, 31 Mar 2022 03:31:24 +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: b89c8c8d-60f5-41d4-89f6-26143dc3d270 X-Archives-Hash: 87e96fab9a8a16c0c9368223a646e6ee commit: 5c01efb62cfd14b4ccf8cebcab4245bd188d2060 Author: Kenton Groombridge concord sh> AuthorDate: Tue Nov 30 16:30:57 2021 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Mar 31 02:40:53 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5c01efb6 locallogin: fix for polyinstantiation Signed-off-by: Kenton Groombridge concord.sh> Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/locallogin.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te index 91f21cc2..6d5e948d 100644 --- a/policy/modules/system/locallogin.te +++ b/policy/modules/system/locallogin.te @@ -157,6 +157,10 @@ ifdef(`distro_ubuntu',` ') ') +tunable_policy(`allow_polyinstantiation',` + seutil_domtrans_setfiles(local_login_t) +') + tunable_policy(`console_login',` # Able to relabel /dev/console to user tty types. term_relabel_console(local_login_t)