aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-09-01Busybox should only multiplex based on argv[1] when it's called as "busybox".Rob Landley
Otherwise if you build busybox without a given applet you get the wrong error message when you call it via a symlink to that applet. (You also get the wrong behavior; it tries to use argv[1] as the command name just like busybox does for _any_ unknown, and although I doubt "echo rm -rf *" is common usage there's no upside and enough downside to make me nervous.) This fixes it.
2005-08-31Anand Avati hit an integer overflow problem in our unzip code.Rob Landley
2005-08-30Don't comment warnings, _FIX_ warnings. (And putting in #warnings aboutRob Landley
other warnings is just gross.) On a side note, while I was there, I made the code slightly smaller.
2005-08-30Why have a separate CONFIG_INIT_SWAPON when we already have CONFIG_SWAPONOFF?Rob Landley
2005-08-30Bug system entry #1 says that when busybox doesn't have swapoff,Rob Landley
init shouldn't call swapoff.
2005-08-30Amir Shalem found some bugs in the new mount code; unknown options didn't getRob Landley
added to the list, and my assumption that nfsmount() actually called mount() was incorrect (and I coded it wrong anyway; I hate having to touch codepaths I can't personally test).
2005-08-30Dirk Clemens pointed out how easy it is to support bzip2 compression, since weRob Landley
shell out to an external program to handle gzip anyway...
2005-08-28point to busybox.netEric Andersen
2005-08-28Dumb little hack, "make sizes". Try it.Rob Landley
2005-08-27make sure __NF_sysfs exists before trying to use itMike Frysinger
2005-08-27some portability fixes by rmh in Bug 395Mike Frysinger
2005-08-24Bernhard Fischer submitted a couple of Makefile patches:Rob Landley
- Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@'
2005-08-23Remove something we did, not that I'm doing something, and add something weRob Landley
haven't done. Woo.
2005-08-23When compiling with FEATURE_MTAB_SUPPORT disabled, the call to erase_mtab()Rob Landley
can never be made because useMtab is initialized to 0, and all the other assignments of that variable assign 0 to it. Any compiler that can perform simple constant propogation on local variables will optimize away if statements testing against that variable, thus the call to erase_mtab() will never be made. When compiling for arm using gcc 3.3.3 with FEATURE_MTAB_SUPPORT disabled, the linker complains that it can't find erase_mtab(). The arm optimizer isn't exactly the brightest member of the family, and apparently needs to be hit over the head with a hammer to get its' attention...
2005-08-22Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.Rob Landley
2005-08-20Bernhard Fischer provided a mountpoint(1) applet. This is apparently somethingRob Landley
sysvinit provides, and which is used by the debian init scripts.
2005-08-17Announce busybox 1.01.Rob Landley
2005-08-17Tito (among others) writes: previous patch was wrong, please stop screwing ↵Mike Frysinger
things up
2005-08-17When doing 'make release' nuke the .svn directories, not theEric Andersen
CVS dirs (since they are no longer present)
2005-08-16the () around isspace actually mattersMike Frysinger
2005-08-16Bernhard Fischer says: use xmalloc() instead of malloc()Mike Frysinger
2005-08-16Bernhard Fischer says: fix comment typoMike Frysinger
2005-08-15Bernhard Fischer writes: fix devfsd usageMike Frysinger
2005-08-14If we goto singlemount, do _not_ try to continue through the loop we jumpedRob Landley
into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.)
2005-08-14Patch from Stephane Billiart to improve ash error message.Rob Landley
2005-08-14Stephane Billiart noticed that the return code of the new mount was horked.Rob Landley
(Cleaned up the return code path to consistently use numbers so I don't keep confusing EXIT_SUCCESS with TRUE and EXIT_FAILURE with FALSE...)
2005-08-13Very minor tweak to tail.Rob Landley
2005-08-11make sure distclean punts include/bbconfigopts.hMike Frysinger
2005-08-10Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley
things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
2005-08-09implemented a builtin echo command in ash. moved the guts of thePaul Fox
echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
2005-08-04commiting:Paul Fox
0000025: vi-editing mode for ash
2005-08-04applying jim bauer's patch to eliminate modprobe's dependencyPaul Fox
on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell
2005-08-02In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andRob Landley
obvious (and less side-effect prone in strange build environments) BB_CONFIG_H. Yeah, I know Erik ripped it out of our copy of menuconfig (which is a good thing), but that doesn't fix people whose headers have it inherited from linux-kernel headers or old versions of uclibc, and Erik's fix could easily get forgotten and reverted the next time we update menuconfig anyway...
2005-08-02Do not define 'AUTOCONF_INCLUDED'Eric Andersen
2005-08-01commiting:Paul Fox
0000028 03-16-05 patch: new setsid applet
2005-08-01fix bbconfigopts.h dependMike Frysinger
2005-08-01screw around with whitespaceMike Frysinger
2005-08-01commiting:Paul Fox
0000073: Add option to inetd applet to run in foreground this option was already there for uclinux -- this just exposes it in the normal case as well.
2005-08-01commiting patch from bug 71:Paul Fox
0000071: patch: implement "--color" option for ls coloring control
2005-08-01applying patch for bug 72:Paul Fox
0000072: Add applet to redirect console output via ioctl(..., TIOCCONS) applet name changed to setconsole, since suse has a very similar utility. better to treat differences as bugs than invent a new command.
2005-08-01applying patch from bug 24:Paul Fox
0000024 03-16-05 patch: allow init to set controlling tty
2005-08-01new config display applet, from bug 46. i've changed the namePaul Fox
of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
2005-08-01allow suppression of default client-id. fixes bug 000037. allowsPaul Fox
busybox to match kernel and u-boot behavior with respect to client-id.
2005-07-31patch by pkj in Bug 3 to not export all make variablesMike Frysinger
2005-07-31patch by apgo in Bug 345 to not use ether_hostton() with uClibcMike Frysinger
2005-07-31patch by srowe in Bug 359 to fix fgrep aliasingMike Frysinger
2005-07-31typecast to intMike Frysinger
2005-07-31use socklen_t instead of size_t with socket related functionsMike Frysinger
2005-07-31move -s from LDFLAGS to STRIPCMDMike Frysinger
2005-07-31use defines instead of const integersMike Frysinger