openwrt-6.x/package
Felix Fietkau 679cab88fe 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>

SVN-Revision: 18725
2009-12-09 18:50:49 +00:00
..
acx
acx-mac80211
admswconfig
apex
ar7-atm
arptables
avila-wdt
base-files add missing argument to debug/mount wrappers (thx, matteo) 2009-12-09 17:13:16 +00:00
br2684ctl
bridge-utils
broadcom-57xx
broadcom-diag
broadcom-mmc
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
comgt
compcache update compcache to 0.5.4 (#6018) 2009-11-23 22:30:42 +00:00
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 http://www.thekelleys.org.uk/dnsmasq/CHANGELOG refreshed patches for new release 2009-11-26 10:58:01 +00:00
dropbear
e2fsprogs libuuid needs to be compiled with fPIC/pic. 2009-11-26 16:05:20 +00:00
ead
ebtables
fconfig
firewall firewall: get rid of recursive shell script inclusion to improve hush compatibility 2009-12-09 14:04:37 +00:00
fuse
fuse24
gdb
goldfish-qemu
gpioctl
grub
hostap-driver allow building hostap-driver and its dependencies on 2.6.32 (#6305) 2009-12-05 12:54:30 +00:00
hostap-utils
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. Bump hotplug2 to the latest svn revision, remove obsolete patches. 2009-12-09 18:50:49 +00:00
i2c-gpio-custom
ifenslave
ifxmips-dsl-api
ifxmips-dsl-control
iproute2 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 Update iw to version 0.9.18 2009-11-28 23:16:11 +00:00
ixp4xx-microcode
kernel package nls cp866 support (#6281) 2009-12-07 23:59:06 +00:00
kexec-tools
libipfix
libnl
libnl-tiny
libpcap
libreadline
libtool
linux-atm
lua
mac80211 mac80211: fix RTS threshold not being set for mac80211 devices 2009-12-09 17:22:25 +00:00
madwifi prevent madwifi from being compiled on sibyte 2009-12-04 14:52:30 +00:00
mmc_over_gpio
mountd
mtd
ncurses
nozomi
nvram
ocf-crypto-headers
openssl update openssl to 0.9.8l -- thanks puchu 2009-11-12 10:39:10 +00:00
opkg opkg: forgot to remove two obsolete patches in last commit 2009-11-11 22:13:10 +00:00
pcmcia-cs
ppp
pptp
ps3-utils
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
robocfg
rt2570
rtc-rv5c386a
siit
spi-ks8995
spidev_test
swconfig
switch change switch config to swconfig style format to remain consistent accross platforms 2009-11-15 18:43:46 +00:00
uboot-envtools
uboot-ifxmips make uboot work on arcaydian board 2009-12-08 14:37:12 +00:00
ubsec_ssb
uci
udev
udevtrigger
util-linux-ng package sfdisk from util-linux-ng (#5998) 2009-11-23 22:30:45 +00:00
w1-gpio-custom
wireless-tools wireless-tools: re-enable support for enabling/disabling powersave 2009-11-11 16:59:31 +00:00
wpa_supplicant wpa_supplicant: relax parsing of encryption mode, drop support for uppercase modes 2009-12-05 15:09:20 +00:00
wprobe
wrt55agv2-spidevs
yamonenv
zlib
Makefile