No description
Find a file
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
docs Add documentation for passphrase option. 2009-09-24 21:50:17 +00:00
include 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. Bump hotplug2 to the latest svn revision, remove obsolete patches. 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 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 switch back to LuCI main repo 2009-11-07 00:09:53 +00:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01: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