fragattacks/wpa_supplicant/dbus
Daniel Gnoutcheff d7692b8d1c dbus: Terminate cleanly on messagebus shutdown
By default, dbus_connection_dispatch() will call _exit() if the bus
connection has been closed. This caused wpa_supplicant to terminate
without properly cleaning up after itself.

To ensure that we terminate cleanly when the messagebus terminates,
override the exit_on_disconnect behavior and install a filter to handle
libdbus's "Disconnected" signal.

[Bug 474]

Signed-hostap: Daniel Gnoutcheff <daniel@gnoutcheff.name>
2013-05-16 20:47:28 +03:00
..
.gitignore dbus: Clean dbus build files on wpa_supplicant 'make clean' 2009-12-20 20:29:09 +02:00
dbus_common_i.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_common.c dbus: Terminate cleanly on messagebus shutdown 2013-05-16 20:47:28 +03:00
dbus_common.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_dict_helpers.c Convert os_realloc() for an array to use os_realloc_array() 2012-08-13 21:21:23 +03:00
dbus_dict_helpers.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_new_handlers_p2p.c P2P: Use peer's channel list to limit GO freq on invitation 2013-03-01 20:01:01 +02:00
dbus_new_handlers_p2p.h Update copyright and license notification in D-Bus interace P2P files 2012-05-07 13:07:22 +03:00
dbus_new_handlers_wps.c WPS: Allow PIN timeout to be specified with wpa_supplicant AP/GO 2012-10-10 17:22:35 +03:00
dbus_new_handlers.c dbus_new: Add EAP logon/logoff 2013-04-23 17:57:55 +03:00
dbus_new_handlers.h dbus_new: Add EAP logon/logoff 2013-04-23 17:57:55 +03:00
dbus_new_helpers.c Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_new_helpers.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_new_introspect.c Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_new.c dbus_new: Add EAP logon/logoff 2013-04-23 17:57:55 +03:00
dbus_new.h dbus: Add getter for WPS properties 2012-11-03 18:38:51 +02:00
dbus_old_handlers_wps.c Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_old_handlers.c Fix build with CONFIG_NO_CONFIG_BLOBS 2013-03-16 12:20:21 +02:00
dbus_old_handlers.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_old.c Fix build with CONFIG_NO_CONFIG_BLOBS 2013-03-16 12:20:21 +02:00
dbus_old.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus-wpa_supplicant.conf Move D-Bus related files into their own subdirectory 2009-12-20 20:11:14 +02:00
fi.epitest.hostap.WPASupplicant.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
fi.w1.wpa_supplicant1.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
Makefile dbus: Remove unused D-Bus version defines 2012-01-29 12:53:12 +02:00