summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-07-03tito <farmatito@tiscali.it> noticed that delgroup was actuallyEric Andersen
setting CONFIG_DELUSER. Oops.
2002-07-03A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen
xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
2002-07-03This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen
IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!
2002-07-03Apply last_patch47 from vodz to fix several problems, such as the ash "jobEric Andersen
control turned off" bug, console_setup() was called with a closed file descriptor, setsid() inconsistancy, and silly string handling bugs. I have modified his patch to allow the askfirst init actions to have a controlling terminal.
2002-07-03hide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDSEric Andersen
is not set -Erik
2002-07-03Patch from Martin Volf <volf@dragon.cz> to fix where I hadEric Andersen
screwed up the usage messages
2002-07-03Fix from vodz so that complex init commands actually workEric Andersen
2002-07-03Patch from Danny Lepage <danny.lepage@cognicase.com> to fixEric Andersen
dutmp for uClibc.
2002-07-03Patch from till busch <buti@gmx.at> -- unblock all signalsEric Andersen
in exec_signal() before calling exec()
2002-07-03Fix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>Eric Andersen
2002-07-03Cleanup shadow.h stuff so it behaves as intendedEric Andersen
-Erik
2002-07-03Little fix to avoid overflowEric Andersen
2002-07-03Silly spelling fixEric Andersen
-Erik
2002-07-02David Frascone <dave@frascone.com> noticed two problems. First, modprobe wasEric Andersen
trying to call 'insmod -q', which wasn't supported. Secondly, when modprobe was fed blank lines from modules.dep, we ended up calling xstrndup(ptr, -1), which with suitably bad results. David provided a patch to catch the blank lines, and I have added insmod -q support. So modprobe should work again. -Erik
2002-06-23Remove advertising clauses in accordance withAaron Lehmann
ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
2002-06-23inline many functions that are only called once. saves about 300 bytesAaron Lehmann
on i386. also staticify most functions.
2002-06-23Needs shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOWAaron Lehmann
2002-06-23remove cleanUpAndFail, and replace it with exit(). because that's whatAaron Lehmann
it does unless srcMode was set, and srcMode is never set.
2002-06-23Rework optimization code. Be more compiler aware.Eric Andersen
-Erik
2002-06-23Port over the last of the tinylogin appletsEric Andersen
-Erik
2002-06-22Several login cleanups from vodzEric Andersen
2002-06-22Apply vodz' last_patch44 -- cleanup several chars to be const, fixEric Andersen
rotten error handling, kill spare \n's, etc
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