From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 591D51384B4 for ; Thu, 17 Dec 2015 16:10:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05C08E0867; Thu, 17 Dec 2015 16:10:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0DA3E085A for ; Thu, 17 Dec 2015 16:10:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CAD5D3406AD for ; Thu, 17 Dec 2015 16:10:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61335CEC for ; Thu, 17 Dec 2015 16:10:39 +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: <1450366331.574b23826b265be34284368cea90fa8185413a91.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/dbus.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 574b23826b265be34284368cea90fa8185413a91 X-VCS-Branch: master Date: Thu, 17 Dec 2015 16:10:39 +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-Archives-Salt: 4a1322fc-6b58-4026-b980-5bb0ffe0c7c3 X-Archives-Hash: f89e1bc855a2d46b98d416c4c6a360be Message-ID: <20151217161039.0XR5W2n5WAV04apDMc3iTr4B8Uu30OrPw4_nJ4Ftj7M@z> commit: 574b23826b265be34284368cea90fa8185413a91 Author: Laurent Bigonville bigon be> AuthorDate: Mon Oct 26 12:26:06 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 17 15:32:11 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=574b2382 Transition D-Bus system service out of the init_t domain when PID1 is systemd D-Bus is not starting the activated system services anymore when PID1 is systemd, but it delegate the job to systemd. policy/modules/contrib/dbus.if | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/dbus.if b/policy/modules/contrib/dbus.if index 077dabc..89bbb25 100644 --- a/policy/modules/contrib/dbus.if +++ b/policy/modules/contrib/dbus.if @@ -573,6 +573,10 @@ interface(`dbus_system_domain',` userdom_read_all_users_state($1) + ifdef(`init_systemd',` + init_daemon_domain($1, $2) + ') + ifdef(`hide_broken_symptoms', ` dontaudit $1 system_dbusd_t:netlink_selinux_socket { read write }; ')