blob: 111602fefc9cbcde312f5ead3ba95a927b4d25e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
From 66aadc368b8fdbf0699e3b6175a47d6001eec350 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Wed, 21 Jan 2009 01:24:14 +0100
Subject: [PATCH 31/48] aallowllow calling KillSwitch methods in D-Bus configuration
hal.conf.in: Update dbus permissions to include KillSwitch, which
NetworkManager needs. Taken from Fedora:
http://cvs.fedoraproject.org/viewvc//devel/hal/hal-dbus-perms.patch?view=markup
---
hal.conf.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hal.conf.in b/hal.conf.in
index ef97b8f..823e40f 100644
--- a/hal.conf.in
+++ b/hal.conf.in
@@ -16,6 +16,8 @@
<!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
<policy context="default">
+ <allow send_destination="org.freedesktop.Hal"
+ send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_interface="org.freedesktop.Hal.Manager"/>
<allow send_interface="org.freedesktop.Hal.Device"/>
<allow receive_interface="org.freedesktop.Hal.Manager"
@@ -26,6 +28,7 @@
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
<allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
receive_sender="org.freedesktop.Hal"/>
--
1.6.1.2
|