1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00
OpenWrt XBurst, development environment for Qi Hardware device. http://projects.qi-hardware.com/index.php/p/openwrt-xburst/
Go to file
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
docs Add documentation for passphrase option. 2009-09-24 21:50:17 +00:00
include [package] iptables: add comment match to the core package 2009-12-08 20:52:58 +00:00
package Fix a memory leak in hotplug2 environment handling. 2009-12-09 18:50:49 +00:00
scripts metadata.pl: fix menuconfig code for package features 2009-11-12 00:06:35 +00:00
target ar71xx: sync kernel configs 2009-12-09 08:03:35 +00:00
toolchain [toolchain] fix gcc version selection for octeon 2009-11-26 18:44:00 +00:00
tools ar71xx: TL-WR1043ND support cleanup 2009-12-08 12:46:30 +00:00
.gitignore add logs/ to .gitignore 2009-04-24 01:04:57 +00:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in make lzo compressed initramfs selectable, too 2009-11-21 15:20:11 +00:00
feeds.conf.default [feeds] switch back to LuCI main repo 2009-11-07 00:09:53 +00:00
LICENSE rename GPL to LICENSE 2005-08-13 12:29:03 +00:00
Makefile add a "make prepare" target which builds everything up to target/compile, useful for scripts/deptest.sh 2009-05-28 18:40:37 +00:00
README change readme to point to scripts/flashing/flash.sh instead of scripts/flash.sh 2008-12-31 14:52:23 +00:00
rules.mk oops, forgot one small change in the last commit 2009-12-04 22:18:36 +00:00

This is the buildsystem for the OpenWrt Linux distribution

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, patch, bzip2, flex, bison,
make, gettext, pkg-config, unzip, libz-dev and libc headers.

Simply running 'make' will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use scripts/flashing/flash.sh for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type make -C docs/ to build it.

Building your own firmware you need to have access to a Linux, BSD or MacOSX system.
Cygwin will not be supported because of the lack of case sensitiveness.

Sunshine!
	Your OpenWrt Project
	http://openwrt.org