aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-06-22Kill dead email addressEric Andersen
-Erik
2002-06-22Apply last_patch46 from vodz, to fix buffer overflows noted byEric Andersen
Gerardo Puga, and to optimize for size a little bit. Thanks vodz
2002-06-22Apply vodz' cleanup for insmod buffer overflows, which was cleanerEric Andersen
than my first effort.
2002-06-22Major revamp. I've been trying to clean up the code. the bzerror stuffAaron Lehmann
still needs major attention (i.e. removal). Removed references to uninitialized variables like progName, smallMode, noisy, etc. Remove functions and code for handling "small" decompression mode, since it is all unreachable. Remove total_{in,out}* counters - they are never used. Remove panic() function and assert_h and their uses because they are all for "should never happen" circumstances. Replace internal malloc/free wrappers with xmalloc and free. Remove conditional in if(foo)free(foo); situations. Remove bogus if (sizeof(int) != 4) { return BZ_CONFIG_ERROR; } (...etc...) code and code for handling BZ_CONFIG_ERROR. Someone should go through and change the applet to use well-defined types when appropriate - it expects sizeof(short)==2 && sizeof(int)==4. Until this commit these were explicitly checked for, and the applet would exit if these types were not the right size. (I think this is wrong even as an interim solution.) With gcc 3.1 reduces size of binary on i386-linux by about 700 bytes. Lightly tested.
2002-06-18As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don'tEric Andersen
lose the last letter of the module name.
2002-06-15Fix a potential macro expansion problem... isspace can beEric Andersen
a macro causing a double decrement...
2002-06-15Don't use pointless GNU-ismsEric Andersen
2002-06-11Patch from Simon Krahnke:Robert Griebl
I wrote a patch for busybox for our company's (www.lisa.de) private use. [...] To sed it adds the '!'-inversion of addresses.
2002-06-11* testsuite/sed/sed-recurses-properly: Mark XFAIL.Matt Kraai
2002-06-11* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.Matt Kraai
2002-06-08vodz' last_patch42_2, which is an updated fix for buffer overflowsEric Andersen
noted by Gerardo Puga
2002-06-06If config file can not be parsed, use compiled in BB_SUID_... values as aRobert Griebl
fallback method
2002-06-06Fix buffer overflows noted by Gerardo PugaEric Andersen
-Erik
2002-06-06Fix buffer overflows noted by Gerardo PugaEric Andersen
-Erik
2002-06-06Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>Eric Andersen
-Erik
2002-06-06Lets give this a try...Eric Andersen
2002-06-06Email addr fixEric Andersen
2002-06-06Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric Andersen
Fixed up domain removal for local domains. GNU traceroute does not do this. I don't know why we do. Fixed incorrect argument for reverse resolution. Clean up cruft that appears when CONFIG_FEATURE_TRACEROUTE_VERBOSE is defined
2002-06-06Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric Andersen
When DEBUG is defined 1. need to include resolv.h (for _resinit()) 2. remove _() call around string. It appears to be a remnant of i18n or some such notion
2002-06-06Patch from vodz to only setenv PATH when PATH changes, which is muchEric Andersen
smarter than my quick fix.
2002-06-06Per discussion with vodz, Tim's changes do not seem to make sense.Eric Andersen
Revert them. -Erik
2002-06-06last_patch41 from vodz to fix stty -F and similarEric Andersen
2002-06-05plug fd leak noticed by Russ DillEric Andersen
-Erik
2002-06-04Bigger patch for (partial) tinylogin integrationRobert Griebl
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]
2002-06-04Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl
[Parts of this patch may overlap with my other two patches]
2002-06-04Implement two types of suid/sgid support for BusyBox:Robert Griebl
1) tinylogin like with compile time selection and a chown root.root 2) Runtime configurable via /etc/busybox.conf (docu is in the works) [Parts of this patch may overlap with my other two patches]
2002-06-04Cleaned up Erik's fgets -> read patch and fixed a buffer overflowRobert Griebl
2002-06-04Avoid stack munching stdio implementations.Eric Andersen
-Erik
2002-06-02Fixed a realloc bug found by Martin VolfRobert Griebl
2002-05-29Include busybox.h before testing CONFIG_LOCALE_SUPPORT.Manuel Novoa III
2002-05-29Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵Glenn L McGrath
memory leaks and reorganise dependency checking. Some further memory leaks fixed by me.
2002-05-28Added support for /etc/modules.conf parsingRobert Griebl
for now only the 'alias' entries are evaluated
2002-05-27Added include for isdigit(); simplified -<num> detectionRobert Griebl
2002-05-24Ensure that insmod supports at least one MODULE_INTERFACEEric Andersen
-Erik
2002-05-24Patch from Magnus Damm <damm@opensource.se> to rework thingsEric Andersen
greatly, and keep the arch specific relocations together, fixes R_PPC_ADDR32 handling so powerpc can work, and changes the tlb tables to be linked lists (again so powerpc can work).
2002-05-22Made exit code SysV compliant. Also added -s (single pid) flag.Robert Griebl
2002-05-22Some cleanups, some size reductions and some buffer overflow checksRobert Griebl
Most of it based on ideas from vodz
2002-05-19Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl
(configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...]
2002-05-18ping return 1 if can't pingTim Riker
2002-05-17SUpport old style -[::digit::] options for head and tailRobert Griebl
Also make head behave like GNU head (-0/-n 0 is valid)
2002-05-16Reduced code size for new -e flag (suggested by vodz)Robert Griebl
2002-05-15Doh! Remember to close /etc/inittabEric Andersen
2002-05-15Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl
(configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
2002-05-15gunzip'ing many files to stdout works nowRobert Griebl
Fixed a missing initialisation and made a for loop more readable.
2002-05-15Don't delete source file when decompressing to stdoutRobert Griebl
This is the normal GNU gunzip behaviour
2002-05-14Complete rewrite to support stack loading/unloading with properRobert Griebl
handling of duplicates in the dependencies list.
2002-05-14Added support for -Y|--proxy=on/off to wgetRobert Griebl
2002-05-14Add --login support. This is the bash way of starting a shell that shouldRobert Griebl
parse the profile files.
2002-05-14This patch adds -e (extended information) to route and -r/-e (show routingRobert Griebl
tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts.
2002-05-14This patch adds -e (extended information) to route and -r/-e (show routingRobert Griebl
tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts.