Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the ↵ | Felix Fietkau | 2009-12-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | hotplug2: compile in the worker module statically, saves >20k uncompressed | Felix Fietkau | 2009-10-20 | 1 | -3/+3 |
| | | | | SVN-Revision: 18104 | ||||
* | update hotplug2 to r199, fixes build failures on brcm-2.4 | Florian Fainelli | 2009-09-03 | 1 | -2/+2 |
| | | | | SVN-Revision: 17508 | ||||
* | hotplug2 may need -fPIC | Jo-Philipp Wich | 2009-05-29 | 1 | -1/+1 |
| | | | | SVN-Revision: 16199 | ||||
* | add hotplug2 v1.0 | Hamish Guthrie | 2009-05-28 | 1 | -0/+50 |
| | | | | SVN-Revision: 16136 | ||||
* | Move hotplug2 v0.9 to hotplug2-old | Hamish Guthrie | 2009-05-28 | 1 | -42/+0 |
| | | | | SVN-Revision: 16135 | ||||
* | get rid of $Id$ - it has never helped us and it has broken too many patches ;) | Felix Fietkau | 2009-04-17 | 1 | -1/+0 |
| | | | | SVN-Revision: 15242 | ||||
* | hotplug2: add platform hotplugging | Gabor Juhos | 2009-01-28 | 1 | -4/+4 |
| | | | | SVN-Revision: 14248 | ||||
* | move hotplug2 & udevtrigger to base section | Nicolas Thill | 2008-04-21 | 1 | -2/+2 |
| | | | | SVN-Revision: 10910 | ||||
* | bump package versions after updates | Felix Fietkau | 2007-09-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 8680 | ||||
* | move package description to a separate definition, remove it when ↵ | Nicolas Thill | 2007-09-07 | 1 | -2/+3 |
| | | | | | | DESCRIPTION=TITLE SVN-Revision: 8659 | ||||
* | hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix ↵ | Felix Fietkau | 2007-07-09 | 1 | -1/+1 |
| | | | | | | permissions of various devices (fixes #2052) SVN-Revision: 7892 | ||||
* | update to hotplug2 svn version (recommended by iSteve) | Felix Fietkau | 2007-06-25 | 1 | -0/+1 |
| | | | | SVN-Revision: 7725 | ||||
* | fix failsafe on broadcom, send netlink events in diag when running linux 2.6 | Felix Fietkau | 2007-06-25 | 1 | -1/+0 |
| | | | | SVN-Revision: 7722 | ||||
* | hotplug2: add a missing cflag, allow hotplug events that are not 'add' | Felix Fietkau | 2007-06-25 | 1 | -1/+1 |
| | | | | SVN-Revision: 7721 | ||||
* | make hotplug2 use the build system cflags | Felix Fietkau | 2007-06-25 | 1 | -0/+1 |
| | | | | SVN-Revision: 7720 | ||||
* | use hotplug2 for serializing hotplug events on 2.6 | Felix Fietkau | 2007-05-05 | 1 | -1/+3 |
| | | | | SVN-Revision: 7097 | ||||
* | add file type autodetection for the unpack command and nuke PKG_CAT:= in ↵ | Felix Fietkau | 2007-03-16 | 1 | -1/+0 |
| | | | | | | lots of places SVN-Revision: 6582 | ||||
* | add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵ | Felix Fietkau | 2007-03-16 | 1 | -2/+0 |
| | | | | | | KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise) SVN-Revision: 6580 | ||||
* | make hotplug2 depend on udevtrigger | Felix Fietkau | 2007-03-04 | 1 | -1/+1 |
| | | | | SVN-Revision: 6511 | ||||
* | add hotplug2 | Felix Fietkau | 2007-03-04 | 1 | -0/+42 |
SVN-Revision: 6510 |