hostapd/wpa_supplicant/dbus
Johannes Berg a1f11e34c4 Use os_memdup()
This leads to cleaner code overall, and also reduces the size
of the hostapd and wpa_supplicant binaries (in hwsim test build
on x86_64) by about 2.5 and 3.5KiB respectively.

The mechanical conversions all over the code were done with
the following spatch:

    @@
    expression SIZE, SRC;
    expression a;
    @@
    -a = os_malloc(SIZE);
    +a = os_memdup(SRC, SIZE);
    <...
    if (!a) {...}
    ...>
    -os_memcpy(a, SRC, SIZE);

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-03-07 13:19:10 +02:00
..
.gitignore dbus: Clean dbus build files on wpa_supplicant 'make clean' 2009-12-20 20:29:09 +02:00
dbus-wpa_supplicant.conf D-Bus: Don't do <deny send_interface="..." /> in dbus service file 2016-02-07 11:55:09 +02:00
dbus_common.c D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_common.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_common_i.h dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_dict_helpers.c dbus: Remove unused dict helper functions 2015-11-01 00:16:57 +02:00
dbus_dict_helpers.h dbus: Remove unused dict helper functions 2015-11-01 00:16:57 +02:00
dbus_new.c D-Bus: Implement Pmf property 2017-01-14 17:28:00 +02:00
dbus_new.h D-Bus: Implement Pmf property 2017-01-14 17:28:00 +02:00
dbus_new_handlers.c Use os_memdup() 2017-03-07 13:19:10 +02:00
dbus_new_handlers.h D-Bus: Implement Pmf property 2017-01-14 17:28:00 +02:00
dbus_new_handlers_p2p.c D-Bus: Use a helper function to get possibly NULL strings 2016-12-23 21:28:43 +02:00
dbus_new_handlers_p2p.h dbus: Pass property description to getters/setters 2015-10-28 23:40:49 +02:00
dbus_new_handlers_wps.c D-Bus: Use a helper function to get possibly NULL strings 2016-12-23 21:28:43 +02:00
dbus_new_helpers.c dbus: Pass property description to getters/setters 2015-10-28 23:40:49 +02:00
dbus_new_helpers.h dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_new_introspect.c dbus: Expose interface globals via D-Bus properties 2015-10-28 23:41:32 +02:00
dbus_old.c D-Bus: Fix operations when P2P management interface is used 2015-04-29 20:42:25 +03:00
dbus_old.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers.c Move network add/remove operations to a common function 2016-08-18 20:46:18 +03:00
dbus_old_handlers.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers_wps.c D-Bus (old): Fix wpsReg error message 2015-01-07 13:19:00 +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 Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00