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 09CE7158094 for ; Sat, 3 Sep 2022 19:10:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1045AE07D0; Sat, 3 Sep 2022 19:10:19 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CADA1E07D0 for ; Sat, 3 Sep 2022 19:10:18 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82D72340FA9 for ; Sat, 3 Sep 2022 19:10:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC2765BF for ; Sat, 3 Sep 2022 19:10:15 +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: <1662230515.aa7fdc2ac01b265a8e6233f8846f6ecbac3ddc8c.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.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: aa7fdc2ac01b265a8e6233f8846f6ecbac3ddc8c X-VCS-Branch: master Date: Sat, 3 Sep 2022 19:10:15 +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: 9fa07ea5-f4c3-4913-affc-d8a5fa1327fa X-Archives-Hash: 21dbb164de21d28e3edcee69883fd829 commit: aa7fdc2ac01b265a8e6233f8846f6ecbac3ddc8c Author: Kenton Groombridge concord sh> AuthorDate: Sat Apr 2 19:30:02 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Sep 3 18:41:55 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=aa7fdc2a systemd: minor fixes to systemd user domains Signed-off-by: Kenton Groombridge concord.sh> Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/systemd.if | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if index cc942879..c2b6824b 100644 --- a/policy/modules/system/systemd.if +++ b/policy/modules/system/systemd.if @@ -91,10 +91,14 @@ template(`systemd_role_template',` files_search_home($1_systemd_t) + fs_getattr_xattr_fs($1_systemd_t) fs_manage_cgroup_files($1_systemd_t) fs_watch_cgroup_files($1_systemd_t) kernel_dontaudit_getattr_proc($1_systemd_t) + # if systemd exists in the initrd, the journal socket stays labeled kernel_t + # without this access, user services cannot log to the journal + kernel_stream_connect($1_systemd_t) selinux_use_status_page($1_systemd_t)