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 07E9013832F for ; Sun, 31 Jul 2016 10:38:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FAE3E0994; Sun, 31 Jul 2016 10:38:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FFABE0912 for ; Sun, 31 Jul 2016 10:38:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54FB7340C7C for ; Sun, 31 Jul 2016 10:38:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB3137E2 for ; Sun, 31 Jul 2016 10:38:17 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1469961455.eb7f919fae509df9aa4f003cd69208e62346c92b.swift@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.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: eb7f919fae509df9aa4f003cd69208e62346c92b X-VCS-Branch: master Date: Sun, 31 Jul 2016 10:38:17 +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: 35f8a4f8-54bf-4e4e-a4a4-292a77690a39 X-Archives-Hash: d0699b7fe45066fd8e4e7823b351a5e9 commit: eb7f919fae509df9aa4f003cd69208e62346c92b Author: Dominick Grift gmail com> AuthorDate: Thu Jul 28 19:44:46 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jul 31 10:37:35 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=eb7f919f Revert "dbus: allow system, and session bus clients to answer to dbus unconfined domains" Is considered a "security hole" This reverts commit 6bef7a14757124c56fadc08c255e9dd6c29a15f9. policy/modules/contrib/dbus.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/dbus.te b/policy/modules/contrib/dbus.te index 0f1d8a7..255b860 100644 --- a/policy/modules/contrib/dbus.te +++ b/policy/modules/contrib/dbus.te @@ -260,5 +260,5 @@ optional_policy(` # Unconfined access to this module # -allow dbusd_unconfined { system_dbusd_t session_bus_type dbusd_session_bus_client dbusd_system_bus_client }:dbus all_dbus_perms; -allow { dbusd_session_bus_client dbusd_system_bus_client } dbusd_unconfined:dbus send_msg; +allow dbusd_unconfined { dbusd_session_bus_client dbusd_system_bus_client }:dbus send_msg; +allow dbusd_unconfined { system_dbusd_t session_bus_type }:dbus all_dbus_perms;