From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 4D51D1582EF for ; Sat, 08 Mar 2025 23:55:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3A2163409EC for ; Sat, 08 Mar 2025 23:55:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DA5F6110477; Sat, 08 Mar 2025 23:55:08 +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 bobolink.gentoo.org (Postfix) with ESMTPS id D0AC9110474 for ; Sat, 08 Mar 2025 23:55:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 87D093408DD for ; Sat, 08 Mar 2025 23:55:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25AA628B5 for ; Sat, 08 Mar 2025 23:55:05 +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: <1741476403.e846b0c0902c49d9ba7d02eb1f271f8b12b65692.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/bootloader.fc policy/modules/system/fstools.fc X-VCS-Directories: policy/modules/admin/ policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: e846b0c0902c49d9ba7d02eb1f271f8b12b65692 X-VCS-Branch: master Date: Sat, 08 Mar 2025 23:55:05 +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: c1c5f6c1-6394-4cc3-a8f3-bb2289825d1c X-Archives-Hash: 3264fde94df50d2591e0f2ff2813516d commit: e846b0c0902c49d9ba7d02eb1f271f8b12b65692 Author: Chris PeBenito ieee org> AuthorDate: Tue Feb 18 19:18:02 2025 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Mar 8 23:26:43 2025 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e846b0c0 bootloader: Chane efibootmgr from fsadm. Signed-off-by: Chris PeBenito ieee.org> Signed-off-by: Jason Zaman gentoo.org> policy/modules/admin/bootloader.fc | 2 ++ policy/modules/system/fstools.fc | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/admin/bootloader.fc b/policy/modules/admin/bootloader.fc index 58b2c7c3a..9166123f4 100644 --- a/policy/modules/admin/bootloader.fc +++ b/policy/modules/admin/bootloader.fc @@ -3,6 +3,7 @@ /etc/yaboot\.conf.* -- gen_context(system_u:object_r:bootloader_etc_t,s0) /usr/bin/bootctl -- gen_context(system_u:object_r:bootloader_exec_t,s0) +/usr/bin/efibootmgr -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/bin/grub -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/bin/grub2?-bios-setup -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/bin/grub2?-install -- gen_context(system_u:object_r:bootloader_exec_t,s0) @@ -15,6 +16,7 @@ /usr/bin/ybin.* -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/sbin/bootctl -- gen_context(system_u:object_r:bootloader_exec_t,s0) +/usr/sbin/efibootmgr -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/sbin/grub -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/sbin/grub2?-bios-setup -- gen_context(system_u:object_r:bootloader_exec_t,s0) /usr/sbin/grub2?-install -- gen_context(system_u:object_r:bootloader_exec_t,s0) diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc index ac67213ea..1f0e104aa 100644 --- a/policy/modules/system/fstools.fc +++ b/policy/modules/system/fstools.fc @@ -12,7 +12,6 @@ /usr/bin/e4fsck -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/bin/e2label -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/bin/e2mmpstatus -- gen_context(system_u:object_r:fsadm_exec_t,s0) -/usr/bin/efibootmgr -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/bin/fatsort -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/bin/fdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/bin/findfs -- gen_context(system_u:object_r:fsadm_exec_t,s0) @@ -69,7 +68,6 @@ /usr/sbin/e4fsck -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/e2label -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/e2mmpstatus -- gen_context(system_u:object_r:fsadm_exec_t,s0) -/usr/sbin/efibootmgr -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/fatsort -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/fdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/findfs -- gen_context(system_u:object_r:fsadm_exec_t,s0)