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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4CF81580FD for ; Sun, 15 Dec 2024 00:30:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DF96E09F3; Sun, 15 Dec 2024 00:30:22 +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 71D57E09F3 for ; Sun, 15 Dec 2024 00:30:21 +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 0CDBA34106C for ; Sun, 15 Dec 2024 00:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 856C4227B for ; Sun, 15 Dec 2024 00:30:16 +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: <1734221982.4f429f0243579b4c83971008066d1f19fb7e5939.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/systemd.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4f429f0243579b4c83971008066d1f19fb7e5939 X-VCS-Branch: master Date: Sun, 15 Dec 2024 00:30:16 +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: 63e323ab-6c1c-432c-a71d-1b002d04bda7 X-Archives-Hash: 11f211d654011ec6633f4c0ddb2b19d7 commit: 4f429f0243579b4c83971008066d1f19fb7e5939 Author: Rahul Sandhu sandhuservices dev> AuthorDate: Wed Dec 4 21:41:46 2024 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Dec 15 00:19:42 2024 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4f429f02 systemd-homed: use files_read_etc_runtime_files to read machine-id Signed-off-by: Rahul Sandhu sandhuservices.dev> Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/systemd.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index 2d4b48afa..41f67fec5 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -691,7 +691,7 @@ allow systemd_homed_t systemd_homed_var_lib_t:file manage_file_perms; init_var_lib_filetrans(systemd_homed_t, systemd_homed_var_lib_t, dir) # read /etc/machine-id -files_read_etc_runtime(systemd_homed_t) +files_read_etc_runtime_files(systemd_homed_t) # Entries such as /sys/devices/virtual/block/loop1/uevent: dev_read_sysfs(systemd_homed_t) @@ -748,7 +748,7 @@ create_files_pattern(systemd_homework_t, systemd_homed_runtime_work_dir_t, syste delete_files_pattern(systemd_homework_t, systemd_homed_runtime_work_dir_t, systemd_homed_record_t) # read /etc/machine-id -files_read_etc_runtime(systemd_homework_t) +files_read_etc_runtime_files(systemd_homework_t) # mount on /run/systemd/user-home-mount allow systemd_homework_t systemd_homed_runtime_work_dir_t:dir mounton;