aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Apply vodz' cleanup for insmod buffer overflows, which was cleanerEric Andersen2002-06-221-25/+35
| | | | than my first effort.
* Major revamp. I've been trying to clean up the code. the bzerror stuffAaron Lehmann2002-06-221-562/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don'tEric Andersen2002-06-181-7/+10
| | | | lose the last letter of the module name.
* Fix a potential macro expansion problem... isspace can beEric Andersen2002-06-151-1/+1
| | | | a macro causing a double decrement...
* Don't use pointless GNU-ismsEric Andersen2002-06-151-2/+2
|
* Patch from Simon Krahnke:Robert Griebl2002-06-111-11/+28
| | | | | I wrote a patch for busybox for our company's (www.lisa.de) private use. [...] To sed it adds the '!'-inversion of addresses.
* * testsuite/sed/sed-recurses-properly: Mark XFAIL.Matt Kraai2002-06-111-0/+1
|
* * libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.Matt Kraai2002-06-111-1/+1
|
* vodz' last_patch42_2, which is an updated fix for buffer overflowsEric Andersen2002-06-081-25/+19
| | | | noted by Gerardo Puga
* If config file can not be parsed, use compiled in BB_SUID_... values as aRobert Griebl2002-06-061-55/+71
| | | | fallback method
* Fix buffer overflows noted by Gerardo PugaEric Andersen2002-06-061-1/+5
| | | | -Erik
* Fix buffer overflows noted by Gerardo PugaEric Andersen2002-06-061-14/+20
| | | | -Erik
* Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>Eric Andersen2002-06-061-1/+1
| | | | -Erik
* Lets give this a try...Eric Andersen2002-06-061-7/+6
|
* Email addr fixEric Andersen2002-06-061-2/+1
|
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric Andersen2002-06-061-10/+6
| | | | | | 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
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric Andersen2002-06-061-2/+7
| | | | | | 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
* Patch from vodz to only setenv PATH when PATH changes, which is muchEric Andersen2002-06-061-3/+3
| | | | smarter than my quick fix.
* Per discussion with vodz, Tim's changes do not seem to make sense.Eric Andersen2002-06-061-5/+5
| | | | | Revert them. -Erik
* last_patch41 from vodz to fix stty -F and similarEric Andersen2002-06-061-3/+22
|
* plug fd leak noticed by Russ DillEric Andersen2002-06-052-0/+2
| | | | -Erik
* Bigger patch for (partial) tinylogin integrationRobert Griebl2002-06-0430-2/+4123
| | | | | | | | | | | | | - 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]
* Fix for broken handling off BusyBox's own pwd/grp implementationsRobert Griebl2002-06-0412-14/+98
| | | | [Parts of this patch may overlap with my other two patches]
* Implement two types of suid/sgid support for BusyBox:Robert Griebl2002-06-045-180/+491
| | | | | | 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]
* Cleaned up Erik's fgets -> read patch and fixed a buffer overflowRobert Griebl2002-06-041-36/+38
|
* Avoid stack munching stdio implementations.Eric Andersen2002-06-041-75/+100
| | | | -Erik
* Fixed a realloc bug found by Martin VolfRobert Griebl2002-06-021-3/+3
|
* Include busybox.h before testing CONFIG_LOCALE_SUPPORT.Manuel Novoa III2002-05-291-2/+2
|
* Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵Glenn L McGrath2002-05-292-75/+127
| | | | | | memory leaks and reorganise dependency checking. Some further memory leaks fixed by me.
* Added support for /etc/modules.conf parsingRobert Griebl2002-05-281-18/+105
| | | | for now only the 'alias' entries are evaluated
* Added include for isdigit(); simplified -<num> detectionRobert Griebl2002-05-272-2/+4
|
* Ensure that insmod supports at least one MODULE_INTERFACEEric Andersen2002-05-241-0/+3
| | | | -Erik
* Patch from Magnus Damm <damm@opensource.se> to rework thingsEric Andersen2002-05-241-381/+488
| | | | | | 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).
* Made exit code SysV compliant. Also added -s (single pid) flag.Robert Griebl2002-05-221-12/+9
|
* Some cleanups, some size reductions and some buffer overflow checksRobert Griebl2002-05-221-61/+43
| | | | Most of it based on ideas from vodz
* Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl2002-05-193-0/+939
| | | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...]
* ping return 1 if can't pingTim Riker2002-05-181-5/+5
|
* SUpport old style -[::digit::] options for head and tailRobert Griebl2002-05-172-1/+11
| | | | Also make head behave like GNU head (-0/-n 0 is valid)
* Reduced code size for new -e flag (suggested by vodz)Robert Griebl2002-05-161-17/+9
|
* Doh! Remember to close /etc/inittabEric Andersen2002-05-151-0/+1
|
* Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl2002-05-156-4/+58
| | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
* gunzip'ing many files to stdout works nowRobert Griebl2002-05-151-6/+9
| | | | Fixed a missing initialisation and made a for loop more readable.
* Don't delete source file when decompressing to stdoutRobert Griebl2002-05-151-1/+2
| | | | This is the normal GNU gunzip behaviour
* Complete rewrite to support stack loading/unloading with properRobert Griebl2002-05-141-94/+145
| | | | handling of duplicates in the dependencies list.
* Added support for -Y|--proxy=on/off to wgetRobert Griebl2002-05-142-8/+17
|
* Add --login support. This is the bash way of starting a shell that shouldRobert Griebl2002-05-141-3/+10
| | | | parse the profile files.
* This patch adds -e (extended information) to route and -r/-e (show routingRobert Griebl2002-05-141-2/+5
| | | | | tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts.
* This patch adds -e (extended information) to route and -r/-e (show routingRobert Griebl2002-05-142-23/+70
| | | | | tables/extended information) to netstat. This makes them behave (more) like their GNU counterparts.
* Entries with "noauto" options are ignored correctly when mounting allRobert Griebl2002-05-141-0/+1
| | | | | ("mount -a"), but mount fails when these entries are specified explicitly In these cases the "noauto" option has to be simply ignored.
* Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.Eric Andersen2002-05-051-2/+4
|