From patchwork Sat May 24 16:11:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zeeshan Ali (Khattak)" X-Patchwork-Id: 352139 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6A7EF14007B for ; Sun, 25 May 2014 02:12:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id BAFD79D24C; Sat, 24 May 2014 12:12:05 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LpVmx8+BYnKp; Sat, 24 May 2014 12:12:05 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 6887A17C034; Sat, 24 May 2014 12:11:53 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id AA0239D24B for ; Sat, 24 May 2014 12:11:51 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mjN-0GQspVuE for ; Sat, 24 May 2014 12:11:44 -0400 (EDT) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by maxx.maxx.shmoo.com (Postfix) with ESMTPS id 80D049D238 for ; Sat, 24 May 2014 12:11:44 -0400 (EDT) Received: by mail-we0-f172.google.com with SMTP id k48so6252876wev.31 for ; Sat, 24 May 2014 09:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id; bh=K4LP6hVDfqeBzalEIIxHFdz2FcYSQBwWtCqTXgN8bvk=; b=zf1PQSinMRQCK0O+OLuhS24XHGJU3BOGNVLwyG/LdsxtWChZBQXtzmC72ylu8m9h6P Jq9b6wwPW7i8DbvPSPQ7aFs9qNpNaW4UJcv7fdad5duS8dcTRB/cHYzSFHj4vekf6Z75 oFEXKSqIVzKyLAvJAd886j77zvcFjyBg5nRLuLhfn3315fpEIBEkyScAqGUxHKxpqgAP 9hbBc8R5K+ZFH/RBvcqs57Tz6Ens7sHZKHqbK/MFIs/UGw5cJ1Yr0JJkc4QeCT81fe+E BoU1TVhR7GnSe6d0cY3ZVAWs5Tq+QqGc8BYhzaZYDG+XF4PDkPbzwIhtEhy/9NMRMcdL Xzug== X-Received: by 10.194.84.101 with SMTP id x5mr13732357wjy.52.1400947903071; Sat, 24 May 2014 09:11:43 -0700 (PDT) Received: from localhost.localdomain (dab-far1-h-1-8.dab.02.net. [82.132.222.244]) by mx.google.com with ESMTPSA id fw11sm11202375wic.4.2014.05.24.09.11.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 May 2014 09:11:42 -0700 (PDT) From: "Zeeshan Ali (Khattak)" To: hostap@lists.shmoo.com Subject: [PATCH] More lenient D-Bus policy Date: Sat, 24 May 2014 17:11:26 +0100 Message-Id: <1400947886-18103-1-git-send-email-zeeshanak@gnome.org> X-Mailer: git-send-email 1.9.0 X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com It doesn't make sense to deny all non-root users access to all D-Bus API. Lets at least give everyone the ability to receive signals, read properties and introspect. Signed-off-by: Zeeshan Ali (Khattak) --- wpa_supplicant/dbus/dbus-wpa_supplicant.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf index c091234..06c9515 100644 --- a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf +++ b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf @@ -23,5 +23,22 @@ + + + + + + + + + + +