aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2003-06-12Fix the location for the default config so 'make defconfig'Eric Andersen
actually works
2003-06-12Handle hard links by converting them to symlinksGlenn L McGrath
2003-06-10Vodz, last_patch_88Glenn L McGrath
2003-06-08sha1sum option to compare checksumsGlenn L McGrath
2003-06-07Better error handlingGlenn L McGrath
2003-06-07Minor correctionGlenn L McGrath
2003-06-07Fix bug (wrong value computed) when reading file from stdin, implementGlenn L McGrath
-s option
2003-06-07Run through indentGlenn L McGrath
2003-06-05Patch from Lars Kellogg-Stedman, lars at larsshack.org, toEric Andersen
make ifupdown's mapping function work as documented.
2003-05-27Put this back the way it was. I misunderstood what vodz was doing.Eric Andersen
2003-05-26Make all syscall declarations use the syscall() functionEric Andersen
2003-05-26This was doing some silly stuff that is not necessary when usingEric Andersen
vfork(), so I have simplified it.
2003-05-26cleanup a bit to remove needless verify() functionEric Andersen
2003-05-26Skip printing "/proc/%d/cmdline" stuff when it is not relevantEric Andersen
2003-05-26Remove cruftEric Andersen
2003-05-26Vodz, last_path_87, formatiing changesGlenn L McGrath
2003-05-26Vodz, last_patch_86Glenn L McGrath
2003-05-24Update mkdep, per the "touchless dependencies for 2.4.x" patchEric Andersen
from Geert Uytterhoeven posted to the lkml. -Erik
2003-05-23oopsEric Andersen
2003-05-23This patch from Vitezslav Batrla, is a cleaner fix for theEric Andersen
problem with syslogd logging the '<' char.
2003-05-22Patch from Russell Coker:Eric Andersen
The attached patch fixes a compilation error. If you compile ping6 without the CONFIG_FEATURE_FANCY_PING6 option then the compile will fail without this patch.
2003-05-19Patch from Glenn EngelGlenn L McGrath
- more comments - larger allowed number of CGI script variables - ifdefs for regression test hooks - default to ./ rather than /www (if unspecified) for compatibility with earlier versions. - Allow ip: as a synomym for A: rules for compatibility with earlier versions. - Setting of CGI_ARGLIST_ when automatic setting of env vars for form scripting is utilized. This helps with minimal systems like openap.
2003-05-18Handle -O preceding -x.Matt Kraai
2003-05-16Apply patch from Georg Magschok to fix syslog behavior so that theEric Andersen
'>' charactor can be logged, per rfc3164. Also, a small patch from me to fix it so we use MAXLINE when allocating the buffer, which is consistant with use everywhere else. This is needed since uClibc defines BUFSIZE as 255, causing lines to be truncated at 255...
2003-05-14Part of a patch from Glenn Engel, updates httpd helpGlenn L McGrath
2003-05-14vodz, last_patch_85Glenn L McGrath
2003-05-13Re-use existing variables, patch from TitoGlenn L McGrath
2003-05-13last_patch84 by Vodz.Glenn L McGrath
2003-05-13Add some missing lines for getty, patch by Steven ScholzGlenn L McGrath
2003-05-13Fix \l so it doesnt print the character as well as the tty, from oldGlenn L McGrath
patch by Nick Fedchik
2003-05-11minit, a Minimal init system.Glenn L McGrath
2003-05-08Use xopen instead of xfopenGlenn L McGrath
2003-05-02Patch from Dmitry V. Levin to fix a fd leakEric Andersen
2003-04-27A couple of patches from Tito <farmatito@tiscali.it>Eric Andersen
2003-04-27Use bb_xgetlargGlenn L McGrath
2003-04-27New applet, foldGlenn L McGrath
2003-04-27Config option to create an fgrep aliasGlenn L McGrath
2003-04-27Fix segfault when cleaning upGlenn L McGrath
2003-04-27grep -f support, adds only 60 Bytes, but regex's now compiled asGlenn L McGrath
required, rather than being pre-compiled.
2003-04-26Always preserve dateGlenn L McGrath
2003-04-26New commands, 'G' and 'H'Glenn L McGrath
2003-04-26Add the -d option, its used by old versions of config.guess, change toGlenn L McGrath
use getopt.
2003-04-26iPatch from waldi, fixes usage of ip route flush (from)? (match|exact)Glenn L McGrath
2003-04-25Patch from Steven Scholz to fix telnetd compile problemEric Andersen
2003-04-24There have been many reports of init failing to reboot and/or failing to haltEric Andersen
over the years. Well I finally took the time to track this down. It turns out that inside linux/kernel/sys.c the kernel will call machine_halt(); do_exit(0); when halting, or will call machine_power_off(); do_exit(0); during a reboot. Unlike sysv init, we call reboot from within the init process, so if the call to machine_halt() or machine_power_off() returns, the call to do_exit(0) will cause the kernel to panic. Which is a very bad thing to happen. So I just added this little patch to fork and call the reboot syscall from within the forked child process, thereby neatly avoiding the problem. But IMHO, both calls to do_exit(0) within linux/kernel/sys.c are bugs and should be fixed. -Erik