aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-07-21Fixed two compiler warningsRobert Griebl
2002-07-21Initial checkin of a very primitive hwclock replacementRobert Griebl
2002-07-19Applied syslogd fix submitted by Bart Visscher:Robert Griebl
I am using BB 0.60.2 in a floppy distro, and the syslog (and logger) is unable to log the "<" char. This shows up in ppp logfiles. [...] #logger "<pcomp>" results in "comp>" arriving at the log.
2002-07-19- Forgot to cvs add bb_asprintf.c (from vodz' patch #50)Robert Griebl
- Applied Joel Coltoff's xconnect patch: On both my host system and with mipsel-linux for my embedded systems the function getservbyname() gives the port number already in host order. In fact, this is how it was used by rdate in version 0.60.3. The snapshot I have of the development tree from July 12, 2002 takes the port number and stuffs it into htons() before it uses it. This causes bugs in rdate, telnet and wget. This patch fixes that.
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
2002-07-18Added a compile time option to suppress the "Using fallback.." messageRobert Griebl
if no busybox.conf file is existant.
2002-07-16Fix for the totally broken adduser applet (parts/ideas from vodz and tito)Robert Griebl
2002-07-16Don't treat a non-existant/-readable config file as an empty config, butRobert Griebl
use the compiled in _BB_SUID_* flags (same as for parse errors)
2002-07-14Doh!Eric Andersen
2002-07-13Better clarify the CVS tree situationEric Andersen
-Erik
2002-07-13Try to be more clear about the current two-CVS-treesEric Andersen
situation. -Erik
2002-07-12Accept the --passive-ftp cmd.line option. We always use passive ftp mode,Robert Griebl
so it doesn't hurt (adds compatibility though)
2002-07-11Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen
-Erik
2002-07-11Brad Campbell <brad@seme.com.au> notes thatEric Andersen
xconnect.c needs #include <netinet/in.h> to compile if CONFIG_FEATURE_IPV6 is not defined
2002-07-08Some minor bits of scrubbingEric Andersen
2002-07-04Patch from Stewart Brodie <stewart.brodie@pace.co.uk> to fix ash:Eric Andersen
When alias support is not configured, ash believes that command parameters that look like dd's "if=/dev/zero" are requests to set a temporary environment variable whilst dd is running, even though it appears after the command name. This is caused by the re-use of the checkalias global variable to indicate when both alias checking and environment variable checking. The failure to reset this flag is due to the reset action being performed only inside the feature check CHECK_ASH_ALIAS. Hence ash works as expected when aliases are configured in, and fails when not. Example script using 'date' with different settings of TZ: # TZ=Europe/London # export TZ # date Thu May 30 17:18:49 BST 2002 # TZ=America/New_York date Thu May 30 12:19:10 EDT 2002 # date Thu May 30 17:19:12 BST 2002 # date TZ=America/New_York Thu May 30 12:19:30 EDT 2002 <----- wrong, should be BST time (or error!) # date Thu May 30 17:19:35 BST 2002 Attached is a patch against revision 1.52 of ash.c which moves the checks so that checkalias is updated regardless of whether CONFIG_ASH_ALIAS is set. With this patch applied, the command shown above which should generate an error does generate an error. I have tested this patch with the 'dd' command too and that now works correctly.
2002-07-03This is last_patch48 from vodz. More cleanups, kills a bitEric Andersen
of dead code, fixes one blatent bug.
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