diff options
author | Witold Sowa <witold.sowa@gmail.com> | 2009-11-16 13:25:51 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-11-16 13:25:51 +0200 |
commit | bd4ce0662974be99c941673233f98b718f8ff8ad (patch) | |
tree | a5d14269c28933d965f557fb0be72006ed43b788 /wpa_supplicant/dbus-wpa_supplicant.conf | |
parent | 1545457e04cfd625c1c9439e62a6a3b5fb1cf15c (diff) | |
download | external_wpa_supplicant_8_ti-bd4ce0662974be99c941673233f98b718f8ff8ad.zip external_wpa_supplicant_8_ti-bd4ce0662974be99c941673233f98b718f8ff8ad.tar.gz external_wpa_supplicant_8_ti-bd4ce0662974be99c941673233f98b718f8ff8ad.tar.bz2 |
dbus: Allow only root to receive signals
Change the dbus policy file to only allow root applications to receive
signals from wpa_supplicant. This keeps WPS Credentials data secret
from non-root listeners.
Diffstat (limited to 'wpa_supplicant/dbus-wpa_supplicant.conf')
-rw-r--r-- | wpa_supplicant/dbus-wpa_supplicant.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus-wpa_supplicant.conf b/wpa_supplicant/dbus-wpa_supplicant.conf index 1d4368e..c091234 100644 --- a/wpa_supplicant/dbus-wpa_supplicant.conf +++ b/wpa_supplicant/dbus-wpa_supplicant.conf @@ -12,7 +12,7 @@ <allow send_destination="fi.w1.wpa_supplicant1"/> <allow send_interface="fi.w1.wpa_supplicant1"/> - + <allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> <policy context="default"> <deny own="fi.epitest.hostap.WPASupplicant"/> @@ -22,5 +22,6 @@ <deny own="fi.w1.wpa_supplicant1"/> <deny send_destination="fi.w1.wpa_supplicant1"/> <deny send_interface="fi.w1.wpa_supplicant1"/> + <deny receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/> </policy> </busconfig> |