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 4B0E515808B for ; Thu, 31 Mar 2022 03:31:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3AD4E07EF; Thu, 31 Mar 2022 03:31:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8E5FBE07D1 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 E68DE3414EB for ; Thu, 31 Mar 2022 03:31:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C468336F for ; Thu, 31 Mar 2022 03:31:23 +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.b3a7d999f44a74fcb84a309b909541a64a6d2ef5.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/init.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: b3a7d999f44a74fcb84a309b909541a64a6d2ef5 X-VCS-Branch: master Date: Thu, 31 Mar 2022 03:31:23 +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: dd09b90e-a40e-48bf-8c65-5247e33c4ae6 X-Archives-Hash: cd4cbf05aaac56192a84aed952335499 commit: b3a7d999f44a74fcb84a309b909541a64a6d2ef5 Author: Kenton Groombridge concord sh> AuthorDate: Wed Nov 10 00:51:33 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=b3a7d999 init: allow systemd to nnp_transition and nosuid_transition to daemon domains Signed-off-by: Kenton Groombridge concord.sh> Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/init.if | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if index 0559dc93..8d3eab4a 100644 --- a/policy/modules/system/init.if +++ b/policy/modules/system/init.if @@ -376,6 +376,8 @@ interface(`init_daemon_domain',` allow $1 init_t:unix_dgram_socket sendto; + allow init_t $1:process2 { nnp_transition nosuid_transition }; + optional_policy(` systemd_stream_connect_socket_proxyd($1) ')