1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-05 22:33:15 +03:00
openwrt-xburst/package
nbd 09fc3a65d9 Fix a memory leak in hotplug2 environment handling.
Bump hotplug2 to the latest svn revision, remove obsolete patches.

Memory leak is caused by the way hotplug2 handles environment variables,
using setenv() and unsetenv(). setenv() creates copies of the supplied
strings, but, due to a POSIX blunder, these copies are never destroyed
by unsetenv(), neither in glibc nor uclibc - not until the program
terminates.

Since some events are handled directly in the main process, even when
configured with the "fork" worker, hotplug2 memory usage will keep
growing over time. This can be observed by running "udevtrigger" and
noting the increase in hotplug2 VmRSS after each run.

This patch uses putenv() instead, which leaves storage management to
the caller, so that we can explicitly delete stuff when it's no longer
needed.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 18:50:49 +00:00
..
acx [package] acx fixes for 2.6.30 2009-08-03 22:30:42 +00:00
acx-mac80211 [package] acx-mac80211 interface will not be created if NL80211_IFTYPE_STATION is not set, thanks to Stefan Weil for this patch 2009-05-30 19:20:07 +00:00
admswconfig get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
apex [packages] Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
ar7-atm [ar7] more compile fixes for sangam-atm and 2.6.31 2009-08-11 18:50:45 +00:00
arptables get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
avila-wdt avila-wdt: add support for disabling the watchdog 2009-05-27 15:33:18 +00:00
base-files add missing argument to debug/mount wrappers (thx, matteo) 2009-12-09 17:13:16 +00:00
br2684ctl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
bridge-utils get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
broadcom-57xx [package] bump some revisions and update copyrights 2009-09-10 10:07:04 +00:00
broadcom-diag [package] bump some revisions and update copyrights 2009-09-10 10:07:04 +00:00
broadcom-mmc get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
broadcom-wl broadcom-wl: add rts/frag threshold settings (patch from #4769) 2009-12-09 17:29:10 +00:00
busybox busybox: adjust hush default configuration 2009-12-09 13:36:28 +00:00
button-hotplug fix kernel modules compile (as in [13724]) 2009-01-08 01:03:54 +00:00
comgt get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
compcache [package] update compcache to 0.5.4 (#6018) 2009-11-23 22:30:42 +00:00
crda [crda] Update regulatory database to version 2009.11.25 2009-11-28 23:16:40 +00:00
dnsmasq new upstream release 2.51 with some fixes, see 2009-11-26 10:58:01 +00:00
dropbear #4985 - fixes dropbear banner file, thanks Roman Yepishev 2009-10-08 18:58:15 +00:00
e2fsprogs [package] libuuid needs to be compiled with fPIC/pic. 2009-11-26 16:05:20 +00:00
ead [package] ead: fix missing library error while building tinysrp 2009-06-03 13:53:15 +00:00
ebtables [package] update ebtables to 2.0.9-1, fixes #5001 2009-08-01 21:29:47 +00:00
fconfig [packages] Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
firewall firewall: get rid of recursive shell script inclusion to improve hush compatibility 2009-12-09 14:04:37 +00:00
fuse [package] disable fuse kernel compilation module, all versions that we have have it mainline (#5584) 2009-07-31 10:49:46 +00:00
fuse24 [package] add missing fuse24 init script 2009-07-22 08:49:13 +00:00
gdb [package] gdb: don't build on avr32 2009-10-05 09:47:24 +00:00
goldfish-qemu include a skin for the goldfish emulator 2009-06-14 21:17:50 +00:00
gpioctl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
grub [package] grub: fix potential build issues on redhat/fedora host systems (should close: #3793) 2009-05-04 23:08:08 +00:00
hostap-driver [package] allow building hostap-driver and its dependencies on 2.6.32 (#6305) 2009-12-05 12:54:30 +00:00
hostap-utils get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
hostapd hostapd: update to latest git, fixes ampdu settings in the beacon HT IE 2009-11-29 16:56:38 +00:00
hotplug2 Fix a memory leak in hotplug2 environment handling. 2009-12-09 18:50:49 +00:00
i2c-gpio-custom [package] make i2c-gpio-custom selectable (#5458) 2009-07-06 11:16:04 +00:00
ifenslave get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
ifxmips-dsl-api [ifxmips] clean up menuconfig path of dsl driver and userland helper 2009-11-01 19:05:32 +00:00
ifxmips-dsl-control [ifxmips] clean up menuconfig path of dsl driver and userland helper 2009-11-01 19:05:32 +00:00
iproute2 [package] iproute2: honour when building libnetlink.a, completes r18323 and fixes #6160 2009-11-14 21:32:30 +00:00
iptables iptables: move to 'Network' in menuconfig 2009-12-09 13:36:35 +00:00
iw [iw] Update iw to version 0.9.18 2009-11-28 23:16:11 +00:00
ixp4xx-microcode [packages] Various Makefile cleanup. 2009-06-13 16:47:22 +00:00
kernel [package] package nls cp866 support (#6281) 2009-12-07 23:59:06 +00:00
kexec-tools [package] add mips64 support to kexec-tools, counterpart of r17768. 2009-09-27 19:13:17 +00:00
libipfix get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
libnl get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
libnl-tiny libnl-tiny: fix potential redefinition of offsetof 2009-05-24 16:48:18 +00:00
libpcap libpcap: fix kernel version check 2009-08-21 22:32:14 +00:00
libreadline get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
libtool libtool: update to 1.5.26 (patch from #4905) 2009-09-24 22:19:33 +00:00
linux-atm remove 'svn:keywords' property, not needed anymore after [15242] 2009-04-17 14:32:29 +00:00
lua [package] lua: add the 100-no_readline.patch to host build 2009-10-28 13:56:33 +00:00
mac80211 mac80211: fix RTS threshold not being set for mac80211 devices 2009-12-09 17:22:25 +00:00
madwifi [package] prevent madwifi from being compiled on sibyte 2009-12-04 14:52:30 +00:00
mmc_over_gpio [package] do not load the spi_gpio module from mmc-over-gpio, bump release number (#4663) 2009-04-12 12:52:32 +00:00
mountd [package] mountd: mark as 2.6 only 2009-10-05 11:18:03 +00:00
mtd mtd: fix wrong open() return code checks 2009-09-21 19:13:34 +00:00
ncurses get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
nozomi get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
nvram [package] nvram: refuse nvram operations on the WGT634U 2009-06-08 11:59:41 +00:00
ocf-crypto-headers [package] set PKGARCH to all for packages in trunk containing only arch-neutral files (#5572) 2009-07-24 12:08:01 +00:00
openssl update openssl to 0.9.8l -- thanks puchu 2009-11-12 10:39:10 +00:00
opkg [package] opkg: forgot to remove two obsolete patches in last commit 2009-11-11 22:13:10 +00:00
pcmcia-cs get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
ppp [package] ppp: add dns servers to uci state in the ip-up script 2009-09-30 16:06:20 +00:00
pptp get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
ps3-utils ps3-utils: Add Build/InstallDev section to package makefile 2009-08-18 21:51:08 +00:00
qos-scripts adjust dependencies of firewall and qos-scripts, so that these packages are visible even when iptables is not selected 2009-12-09 13:36:39 +00:00
r8101 small fixes mostly for kernel 2.6.31 2009-09-26 21:23:53 +00:00
robocfg get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
rt2570 get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
rtc-rv5c386a [brcm-2.4/brcm47xx] add RTC RV5C386A package 2009-08-01 11:09:02 +00:00
siit [package] fix siit compilation failures on brcm-2.4 2009-10-30 14:14:53 +00:00
spi-ks8995 [package] kernel/modules: move SPI drivers into a new submenu 2009-06-04 06:39:36 +00:00
spidev_test get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
swconfig add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions 2009-09-26 19:01:50 +00:00
switch [brcm-2.4] change switch config to swconfig style format to remain consistent accross platforms 2009-11-15 18:43:46 +00:00
uboot-envtools mark uboot-envtools as broken, it looks more like a place holder than an actual packaging attempt 2009-10-19 19:15:08 +00:00
uboot-ifxmips make uboot work on arcaydian board 2009-12-08 14:37:12 +00:00
ubsec_ssb get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
uci uci: only use $(FPIC) on library parts, saves a few hundred bytes 2009-10-20 08:26:39 +00:00
udev [package] udev depends on 2.6, cleanup Makefile 2009-09-03 18:11:32 +00:00
udevtrigger udevtrigger: use the build system cflags 2009-10-10 19:25:31 +00:00
util-linux-ng [package] package sfdisk from util-linux-ng (#5998) 2009-11-23 22:30:45 +00:00
w1-gpio-custom fix kernel modules compile (as in [13724]) 2009-01-08 01:03:54 +00:00
wireless-tools wireless-tools: re-enable support for enabling/disabling powersave 2009-11-11 16:59:31 +00:00
wpa_supplicant [package] wpa_supplicant: relax parsing of encryption mode, drop support for uppercase modes 2009-12-05 15:09:20 +00:00
wprobe add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions 2009-09-26 19:01:50 +00:00
wrt55agv2-spidevs [atheros]: Add initial kernel 2.6.28 support for atheros target. 2009-02-20 16:27:42 +00:00
yamonenv get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
zlib zlib: replace -fPIC with $(FPIC) 2009-10-20 08:41:32 +00:00
Makefile fix opkg directory cleaning (#5646) 2009-10-06 04:50:53 +00:00