summaryrefslogtreecommitdiffstats
path: root/package/hotplug2/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Fix a memory leak in hotplug2 environment handling.nbd2009-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* hotplug2: compile in the worker module statically, saves >20k uncompressednbd2009-10-201-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] update hotplug2 to r199, fixes build failures on brcm-2.4florian2009-09-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2 may need -fPICjow2009-05-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] add hotplug2 v1.0hcg2009-05-281-0/+50
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] Move hotplug2 v0.9 to hotplug2-oldhcg2009-05-281-42/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: add platform hotpluggingjuhosg2009-01-281-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move hotplug2 & udevtrigger to base sectionnico2008-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bump package versions after updatesnbd2007-09-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move package description to a separate definition, remove it when ↵nico2007-09-071-2/+3
| | | | | | DESCRIPTION=TITLE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix ↵nbd2007-07-091-1/+1
| | | | | | permissions of various devices (fixes #2052) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update to hotplug2 svn version (recommended by iSteve)nbd2007-06-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix failsafe on broadcom, send netlink events in diag when running linux 2.6nbd2007-06-251-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: add a missing cflag, allow hotplug events that are not 'add'nbd2007-06-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make hotplug2 use the build system cflagsnbd2007-06-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use hotplug2 for serializing hotplug events on 2.6nbd2007-05-051-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add file type autodetection for the unpack command and nuke PKG_CAT:= in ↵nbd2007-03-161-1/+0
| | | | | | lots of places git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵nbd2007-03-161-2/+0
| | | | | | KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make hotplug2 depend on udevtriggernbd2007-03-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add hotplug2nbd2007-03-041-0/+42
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6510 3c298f89-4303-0410-b956-a3cf2f4a3e73