~ubuntu-branches/ubuntu/precise/wpasupplicant/precise-security

« back to all changes in this revision

Viewing changes to debian/patches/02_dbus_group_policy.patch

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 to control access to D-Bus. Activating both options in the conf file
5
5
 makes it work on Debian and Ubuntu.
6
6
 
7
 
--- a/wpa_supplicant/dbus-wpa_supplicant.conf
8
 
+++ b/wpa_supplicant/dbus-wpa_supplicant.conf
9
 
@@ -8,6 +8,10 @@
10
 
                 <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
11
 
                 <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
 
7
--- a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf
 
8
+++ b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf
 
9
@@ -14,6 +14,14 @@
 
10
                 <allow send_interface="fi.w1.wpa_supplicant1"/>
 
11
                 <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
12
12
         </policy>
13
13
+        <policy group="netdev">
14
14
+                <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
15
15
+                <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
 
16
+
 
17
+                <allow send_destination="fi.w1.wpa_supplicant1"/>
 
18
+                <allow send_interface="fi.w1.wpa_supplicant1"/>
 
19
+                <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
16
20
+        </policy>
17
21
         <policy context="default">
18
22
                 <deny own="fi.epitest.hostap.WPASupplicant"/>