aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-08-26Fix overflow for machines greater than 4GB, return unsigned int to avoidGlenn L McGrath
a cast and for greater accuracy.
2003-08-22"staywithu" writes:Eric Andersen
In BusyBox v1.00-pre2, commands like ls, df with -h option report a wrong file size for files larger than 4GBtye!! For example, when I execute 'ls -l', it reports -rw-r--r-- 1 root root 5368709120 Aug 17 2003 large_stream.tp when I execute 'ls -lh', I expect that -rw-r--r-- 1 root root 5.0G Aug 17 2003 large_stream.tp but it reports -rw-r--r-- 1 root root 1.0G Aug 17 2003 large_stream.tp I fixed this bug that... Line 31 in libbb/human_readable.c and line 275 include/libbb.h const char *make_human_readable_str(unsigned long size => const char *make_human_readable_str(unsigned long long size It's OK!
2003-08-22trivial doc fixEric Andersen
2003-08-22Fixup 'make clean' to properly clean the _install directoryEric Andersen
2003-08-19TypoGlenn L McGrath
2003-08-14Change hardlink handling for tar to work the same way as cpioGlenn L McGrath
2003-08-14Fix a bug reported by junkio@cox.net involving the mode_chars index.Manuel Novoa III
2003-08-13Patch from Paul Mundt (lethal) adding sh64 insmod support for busyboxEric Andersen
2003-08-13Rewrite timescmd() function to avoid the use of floating point and toManuel Novoa III
correct a bug in the seconds display where something like 65 seconds would be output as "1m65.000000s".
2003-08-13Remove unnecessary pointer dereference.Manuel Novoa III
2003-08-12fix style sheet so site doesn't look like crap with IEEric Andersen
2003-08-09Adjust Erik's change, as I don't claim copyright of the applet.Manuel Novoa III
2003-08-08Move shell descriptions to the config systemEric Andersen
2003-08-08Use the new 'select' option to make the shell configEric Andersen
much less evil and far more obvious. -Erik
2003-08-08Begin using the new "select" option. Good stuff!Eric Andersen
2003-08-08Implement a minimalist 'last' which allows the LEAF project toEric Andersen
no longer need dumtp. Remove the 'dumtp' applet. -Erik
2003-08-08quiet some noiseEric Andersen
2003-08-08Kent Robotti noted that mt.c uses "rewind" not "rew"Eric Andersen
2003-08-08Patch from Kent Robotti to being fdisk in sync with v2.12 final.Eric Andersen
2003-08-08Remove unnecessary defamatory commentEric Andersen
2003-08-08Fix a stupid bug I introduced several months agoEric Andersen
2003-08-06Begin preparing for another releaseEric Andersen
2003-08-06Latest dash update from vodzEric Andersen
2003-08-06Patch from Eric Spakman to update "run-parts" help text in Config.in.Eric Andersen
2003-08-06Eric Spakman writes:Eric Andersen
The attached patch adds "mtu" and "hwaddress" to the inet6 method and "mtu", "hwaddr" and "pointopoint" to the inet4 method (just like in the ifupdown part). Note: "hwaddress" can't be used with the busybox ip applet (this function isn't implemented in bb ip yet), but it can be of use with an external "full blown" ip package. The patch also removes "label" from the loopback configuration, labels (subinterfaces) aren't used with loopback interfaces. It further solves a problem in the bootp method, "ifconfig down %interface%" should be "ifconfig %interface% down" and it's now also possible to use ip with bootp. The patch is fully tested with both busybox ip and "stand-alone" ip and I didn't saw any problems.
2003-08-06Patch from vodz:Eric Andersen
I wrote: >>I think, fdisk have special ext2lseek special for: >>disk can have size > 4Gb, but all any partitions have < 4Gb and lseek64 >>not require. >>May be best create new configure option for set DOLFS for fdisk applet >>if global DOLFS unset? > Erik Andersen wrote: >Agreed. Using an extra configure option when ! DOLFS >would be a good idea. Ok. Patch attached.
2003-08-06Patch from Steven Scholz:Eric Andersen
should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch?
2003-08-06Steven Scholz writes:Eric Andersen
the output of lsmod (busybox-1.00-pre2) contains IMHO one "\n" too much when using CONFIG_FEATURE_CHECK_TAINTED_MODULE: ~ # lsmod Module Size Used by Tainted: P ds 8364 1 m8xx_pcmcia 5388 1 pcmcia_core 40736 0 [ds m8xx_pcmcia] and this patch from Steven fixes the problem
2003-08-06Sync hdparm -t and -T options with hdparm-5.3, which seemsEric Andersen
to produce sensible results,
2003-08-06Patch from vodz to cleanup libbb/obscure.c:password_check()Eric Andersen
to not copy too much data.
2003-08-06Joe.C writes:Eric Andersen
I've reported this bug in April and it still exists in 1.00-pre2. So I made patches for both 0.60.x and 1.00-pre2. The patch is very simple, just use strncmp instead of strcmp. Please apply if it is OK. Here's the procedure to test this problem: Create a executable with very long name, say 'test_1234567890123456' and execute it. Try using 'killall' or 'pidof' to find/kill this program. Without this patch, you can't find the program.
2003-08-06Fixup segfault on 'kill -q'Eric Andersen
2003-08-06extern inline is a bad bad thing. kill it (so mkfs_minix.c willEric Andersen
actually compile)
2003-08-05Seems I missed a spotEric Andersen
2003-08-05Merge/rework config system per the latest from linux-2.6.0-test2.Eric Andersen
Fix the config bugs revealed by the updated config system. -Erik
2003-08-02Might as well get my name in AUTHORS before 1.0...Manuel Novoa III
2003-08-02Save 0.5K.Manuel Novoa III
2003-08-01Remove code that too agressively disabled inlinesEric Andersen
2003-07-31Minor cleanupEric Andersen
2003-07-31Fix bug when handling debian packages.Glenn L McGrath
If we read the contents of compressed files within the ar archive, e.g. control.tar.gz, then file position gets all out of whack, so it has to be reset before reading thenext header.
2003-07-30Remove LRP (now defunct) and replace it with leaf.Eric Andersen
2003-07-30Update webpage and changelog for releaseEric Andersen
2003-07-30Lars Ekman writes:Eric Andersen
When using "losetup" the device is always setup as Read-Only. (I have only tested with the -o flag, but looking at the code the problem seems general) The problem is the "opt" variable in "losetup.c" that is reused in the "set_loop()" call. Clear it before the call and everything is OK; opt = 0; /* <-------- added line */ if (delete) return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE; else return set_loop (argv[optind], argv[optind + 1], offset, &opt) ? EXIT_FAILURE : EXIT_SUCCESS; } Best Regards, Lars Ekman
2003-07-30last_patch100 from vidz updating fdisk to 2.12preEric Andersen
2003-07-30Do not require that the signal number be specifiedEric Andersen
2003-07-30Eric Spakman writes:Eric Andersen
The recent changes in ifupdown where all calls to 'ip link set' and 'ip addr set' are swapped give some problems with v4tunnels. For plain ipv4 and ipv6 interfaces it works correct, other methods not tried. The patch below change the behaviour back for v4tunnels only. Without the patch the following errors are shown: RTNETLINK answers: Network is down RTNETLINK answers: No route to host and the tunnel is not fully brought up With this patch all works as expected.
2003-07-30Vladimir N. Oleynik writes:Eric Andersen
This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz
2003-07-30Christian Meyer provided this patch to fix more bugs with the tftp clientEric Andersen
2003-07-30Ronny L Nilsson writes:Eric Andersen
The login process should always timeout if user don't login sucessfully within reasonable time. Otherwise we're sensetive to a DOS attack by simply doing a bunch of simultaneous telnet connections (deploys all availible TTY's). This patch make login.c terminate the connection after "TIMEOUT" seconds.
2003-07-30Ronny L Nilsson writes:Eric Andersen
If BusyBox was compiled with -DCONFIG_FEATURE_CLEAN_UP dmesg command segfaults if invoked with the "-n" option. (Due to a free() of an uninitialized pointer).