aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-07-14Remove all the llseek junk and just use regular old lseek. When DOLFS isEric Andersen
enabled, regular lseek is transparently promoted to lseek64 anyways, rendering the llseek stuff pointless. -Erik
2003-07-14On second thought, this is a better way to fix thingsEric Andersen
2003-07-14Don't use Linux kernel headersEric Andersen
-Erik
2003-07-07This declaration no longer needs to hide when using dmallocEric Andersen
2003-07-05Be certain to not abort prematurely when reading stuff from pipes.Eric Andersen
2003-07-05Fixup compile problem with dmallocEric Andersen
2003-07-05As noted by Thomas Eckert:Eric Andersen
bb-tar "cjf" does not create a valid tbz2-archive -- if fact the result is a plain tar-file (no compression) -- but does not warn about the unrecognized parameter combination "cj" (bb does not have bzip2-compression yet, right?). to fix this I have added an error message stating this does not work. He also reported cosmetic: versose "-v" does not show any output when used with "create" which I have now fixed as well. -Erik
2003-07-05oopsEric Andersen
2003-07-05Daniel writes:Eric Andersen
I've found a problem with job control when the init process is restarted. If the system boots for the first time, I get job control on a serial terminal - no problems. However, when I restart init by issuing "init -q", then the shell no longer has job control. I traced this a problem in console_init in the file init.c. What was happening after the restart is that the first compare if (ioctl(0, TIOCGSERIAL, &sr) == 0) { ... } else if (ioctl(0, VT_GETSTATE, &vt) == 0) { ... } else { ... // assume /dev/console } returned error and subsequently the code assumes /dev/console as the console, which does not support job control. Checking the errno after the first call showed that the system was complaining about the file descriptor. This is probably because the previous init process had closed all its file descriptors which the new init process had inherited.
2003-07-05Patch from Lars Kellogg-Stedman:Eric Andersen
Glibc 2.1.3 (used by the Hardhat Linux SDK distributed by Cyclades) does not define IF_NAMESIZE in net/if.h.
2003-07-05Patch from Lars Kellogg-Stedman:Eric Andersen
This patch fixes endian problems with get_netmask(). I don't know if this is the cleanest solution, but it makes 'ipcalc -n' work on both an i386 system and a ppc system.
2003-07-05Patch from Kent Robotti adding a bunch of needed docs!Eric Andersen
-Erik
2003-07-05Add the fdformat utility, based on a patch from Kent Robotti,Eric Andersen
but I then completely reworked the fdformat utility to comply with the current busybox way of doing things.
2003-07-05Glenn McGrath (bug1) isaway from my email till the 17th, but caught me on IRC.Eric Andersen
He took a look into the recent reports of tar problems, and found an obvious typo in last_patch91 from vodz which converted tar to use bb_getopt_ulflags.
2003-07-03Patch from Vladimir N. Oleynik (vodz):Eric Andersen
Last patch have changed for "ipcalc" applet with usage new get_ulflags() function.
2003-07-03Patch from Lars Kellogg-Stedman:Eric Andersen
Erik, et al. The attached patch makes the following changes to networking/ifupdown.c: (1) It swaps all calls to 'ip link set' and 'ip addr set'. This solves two problems: (a) Calling 'ip link set <dev> up' before assigning an address generates an error message, and (b) Under User Mode Linux, running in with ethernet interfaces in daemon mode, the MAC address for an interface is selected based on the IP address assigned to that interface. If the interface is brought up before being assigned an IP address, it gets a null MAC. (2) It further cleans up run_mapping(). This patch is against ifupdown.c revision 1.25. -- Lars
2003-07-03Fix stupid unterminated parenthesisEric Andersen
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-07-03Patch from Kent Robotti updating fdisk to version v2.11zEric Andersen
2003-07-03Patch from Kent Robotti adding a bunch of menuconfig helpEric Andersen
2003-07-03Using safe_read seems, well, safer...Eric Andersen
2003-07-03As implemented, sha1sum would sometimes give the wrong answer.Eric Andersen
This fixes it and uses faster sha1 code from Dr. Gladman. -Erik
2003-06-30Patch from Pavel Roskin to fixup toplevel help textEric Andersen
2003-06-27Apply last_patch93 from vodz:Eric Andersen
andersen@busybox.net wrote: >Message: 4 >Modified Files: > init.c >Log Message: >Remove code for unsupported kernel versions Hmm. Current init.c have check >= 2.2.0 kernel one time too. Ok. Last patch removed this point and move common init code to new file for /init dir
2003-06-27Remove bdflush garbage, which is only relevant to unsupportedEric Andersen
kernel versions
2003-06-26oops. make this actually work as intended....Eric Andersen
2003-06-26Make sure we end up with a unix2dos link to busyboxEric Andersen
2003-06-26Oops.Eric Andersen
2003-06-26last_patch91 from vodz to convert tar to use bb_getopt_ulflagsEric Andersen
2003-06-26Geir Thomassen wrote, regarding networking/httpd.c line 1358Eric Andersen
Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-)
2003-06-26Per patch from Nick Fedchik, use SHADOW_FILE, not "/etc/shadow".Eric Andersen
Change fopen to bb_xfopen
2003-06-25Oops. As Andrew Dennison just noticed, I left a strayEric Andersen
space in the Makefile, thereby totally breaking it.
2003-06-25Regenerate the busybox.links file when the .config changesEric Andersen
2003-06-22New applet: patch, applies a unified diffGlenn L McGrath
2003-06-22Save a few bytes by using bb_getopt_ulflags and a few other minorGlenn L McGrath
improvments
2003-06-21Based on a tinylogin patch from Philip Blundell, add severalEric Andersen
additional options to adduser. -Erik
2003-06-21Fix a silly bug I introduced yesterdayEric Andersen
2003-06-20Fixup whitespace handing, fixing some annoying behavior andEric Andersen
a couple of segfaults
2003-06-20Fall back to looking in /lib/modules/modules.dep ifEric Andersen
/lib/modules/<kernel version>/modules.dep is missing
2003-06-20Patch from Andrew Dennison:Eric Andersen
I've had some issues with modprobe which I reported a few months ago. This is still an issue so I decided to sort it out. The attached diff includes the changes against the unstable cvs tree that work for me. Changes are: mod_process() will report success if the module at the head of the list loads successfully. It will also report success if any module unloads successfully. The net result being that modprobe will succeed in the cases outlined below. I've also added error reporting to modprobe -r. Previously it would silently fail (but report success) if the module could not be unloaded. Andrew
2003-06-20Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display aEric Andersen
"rootfs" entry as well as the traditional "/dev/root" entry. This caused applets such as mount and df to display two root filesystem entries.... This teaches the relevant utilities to ignore the "rootfs" entry. -Erik
2003-06-20Don't shadow a paramaterEric Andersen
2003-06-20Fix a couple vars that could be used uninitializedEric Andersen
2003-06-20use an explicit cast on some types that change size whenEric Andersen
large file support is enabled.
2003-06-20Make gcc not whine about "deprecated use of label at end of compound statement"Eric Andersen
2003-06-20Add prototype update missing from last_patch89. Fix screwyEric Andersen
formatting in cut.
2003-06-20Patch from Lars Kellogg-Stedman:Eric Andersen
I'm building BusyBox using a development kit for MontaVista Hardhat Linux (PPC) -- which, at least in this instance, is based around kernel 2.2.14. I've had to massage a few files in networking/libiproute/ to make it compile. Specifically: (1) Added a #include <sys/uio.h> for the iovec structure in libnetlink.c, (2) Put ifdefs in ll_types.c and ll_proto.c around various constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined, (3) Make do_changename() in iplink.c require a kernel >= 2.4.0 -- the ifr structure in my environment doesn't have the ifr_name attribute. I've assumed this is a kernel dependency -- let me know if I ought to be checking something else. In the absence of the correct kernel, do_changename() always returns 0. Attached is a patch against the current CVS that will make these changes. -- Lars
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-06-15Fix rpm usage msgEric Andersen
2003-06-14Add missing pieces from vodz' last_patch88Eric Andersen