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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF78A138334 for ; Sun, 9 Dec 2018 11:49:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DC21E0908; Sun, 9 Dec 2018 11:49:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F35BCE0908 for ; Sun, 9 Dec 2018 11:49:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA1FA335CB7 for ; Sun, 9 Dec 2018 11:48:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 766364D7 for ; Sun, 9 Dec 2018 11:48:57 +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: <1542538607.5ccbe3a67512a8fc056b2bed30fe8e346d347387.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/selinuxutil.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 5ccbe3a67512a8fc056b2bed30fe8e346d347387 X-VCS-Branch: master Date: Sun, 9 Dec 2018 11:48:57 +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: 2281a43f-502c-455d-8fac-dd8b53c80abf X-Archives-Hash: 287a5d8a9a9f0f5979da80170c17348b commit: 5ccbe3a67512a8fc056b2bed30fe8e346d347387 Author: Laurent Bigonville bigon be> AuthorDate: Thu Nov 1 14:14:43 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Nov 18 10:56:47 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5ccbe3a6 Allow semanage_t to connect to system D-Bus bus This is needed as systemd NSS modules is talking to systemd/PID1 over D-Bus Signed-off-by: Jason Zaman perfinion.com> policy/modules/system/selinuxutil.te | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te index c4a199f4..1293616c 100644 --- a/policy/modules/system/selinuxutil.te +++ b/policy/modules/system/selinuxutil.te @@ -560,6 +560,13 @@ optional_policy(` portage_eselect_module(semanage_t) ') +ifdef(`init_systemd',` + optional_policy(` + init_dbus_chat(semanage_t) + dbus_system_bus_client(semanage_t) + ') +') + optional_policy(` locallogin_use_fds(semanage_t) ')