Rob Landley [Sun, 22 Jan 2006 23:17:18 +0000 (23:17 -0000)]
Close bug 644: loop incrementing twice, skipping ever other device.
Rob Landley [Sun, 22 Jan 2006 23:14:16 +0000 (23:14 -0000)]
There was a missing ! on strcmp (despite the fact it worked in my testing,
I have no idea _how_), and a simpler fix for the extra \n problem. I tested
this and it worked for me, for what that's worth...
Bernhard Reutner-Fischer [Sun, 22 Jan 2006 22:55:11 +0000 (22:55 -0000)]
- add platform.h.
- use shorter boilerplate while at it.
Rob Landley [Sun, 22 Jan 2006 02:41:51 +0000 (02:41 -0000)]
The whole "init is sometimes pid 3" thing is silly. Init is pid 1, anything
else is a kernel bug. Both 2.4 and 2.6 should get this right now. This
should fix the bug IraquiGeek is seeing (although killall still needs to
be fixed.)
Rob Landley [Sun, 22 Jan 2006 01:44:29 +0000 (01:44 -0000)]
Start of developer documentation for busybox.
Paul Fox [Fri, 20 Jan 2006 21:48:06 +0000 (21:48 -0000)]
compile on 2.96 for a while longer -- no floating declarations.
Rob Landley [Fri, 20 Jan 2006 18:28:50 +0000 (18:28 -0000)]
Patch from Aurelien Jacobs to add unlzma. (A new decompression type,
see www.7-zip.org)
Rob Landley [Fri, 20 Jan 2006 17:47:09 +0000 (17:47 -0000)]
Zap sysdeps directory, moving Config.in and defconfig to top of tree.
(Busybox should not be system dependent enough to have different default
configurations for different platforms. We're not a kernel.)
Rob Landley [Thu, 19 Jan 2006 21:22:37 +0000 (21:22 -0000)]
Update readme and install.sh usage message.
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 18:04:15 +0000 (18:04 -0000)]
- Document -m, -c, -s and provide a default shell for standalone build.
- Wrap overlong lines plus a few whitespace fixes.
- add GPL header.
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 14:51:17 +0000 (14:51 -0000)]
- missing bits of patch attached to bug #249 (constify).
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 14:45:16 +0000 (14:45 -0000)]
- need to have config MODULE in order to make tristate work..
Thanks to Robert Schwebel for pointing this out. I must be blind..
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 14:42:23 +0000 (14:42 -0000)]
- cleanup Config.in. Use "select CONFIG_FOO" and add the corresponding
"depends on CONFIG_BAR" instead of the if !CONFIG_FOO ...default y stanza.
"Vladimir N. Oleynik" [Thu, 19 Jan 2006 11:23:34 +0000 (11:23 -0000)]
restore 8-bit syntax works, last debian patch is broken. Noticed by Vladimir Dronnikov
Bernhard Reutner-Fischer [Thu, 19 Jan 2006 09:22:39 +0000 (09:22 -0000)]
- bump version to 1.1.1 nonrelease series (let's say -pre0).
Bernhard Reutner-Fischer [Tue, 17 Jan 2006 15:56:59 +0000 (15:56 -0000)]
- remove debian/
Bernhard Reutner-Fischer [Tue, 17 Jan 2006 12:07:03 +0000 (12:07 -0000)]
- make CONFIG_MD5SUM_SIZE_VS_SPEED configurable via menuconfig.
- use shorter boilerplate.
"Vladimir N. Oleynik" [Sun, 15 Jan 2006 14:55:48 +0000 (14:55 -0000)]
setgid and setuid have changes effective id too
"Vladimir N. Oleynik" [Sun, 15 Jan 2006 14:21:01 +0000 (14:21 -0000)]
sync with dash_0.5.3-1
Bernhard Reutner-Fischer [Sun, 15 Jan 2006 14:04:57 +0000 (14:04 -0000)]
- shared libbusybox.
- IMA compilation option (aka IPO, IPA,..)
Please holler if i broke something..
"Vladimir N. Oleynik" [Sun, 15 Jan 2006 09:29:41 +0000 (09:29 -0000)]
restore erronyous 'cleanups' by Rob Sullivan and landley
Rob Landley [Sun, 15 Jan 2006 02:20:06 +0000 (02:20 -0000)]
Cleanup patch from Rob Sullivan.
Rob Landley [Sat, 14 Jan 2006 07:43:22 +0000 (07:43 -0000)]
1.1.0 is out.
Paul Fox [Fri, 13 Jan 2006 21:05:41 +0000 (21:05 -0000)]
add find's "-mmin" option. configurable.
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 18:11:59 +0000 (18:11 -0000)]
- revert last change for now..
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 17:29:46 +0000 (17:29 -0000)]
this applet needlessly big! TODO: bb_getopt_ulflags()
- use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number().
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 16:25:03 +0000 (16:25 -0000)]
- turn off "nc gaping hole" and devfsd in allbareconfig, the latter doesn't
use the FEATURE notation and noone will update it to use it.
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 12:03:26 +0000 (12:03 -0000)]
- correct definitions.
Bernhard Reutner-Fischer [Fri, 13 Jan 2006 08:46:39 +0000 (08:46 -0000)]
- Mention code-cleanup possibilities in TODO.
Bernhard Reutner-Fischer [Thu, 12 Jan 2006 15:38:12 +0000 (15:38 -0000)]
- shrink simple obscure stuff a tiny bit:
text data bss dec hex filename
789 0 0 789 315 obscure.o.oorig
771 0 0 771 303 obscure.o
- replace bzero by memset while at it.
Bernhard Reutner-Fischer [Thu, 12 Jan 2006 13:15:49 +0000 (13:15 -0000)]
- remove warning about redeclaration of __constant_htons
- remove warning about format '%ld' expects type 'long int *', but argument #num
has type 'long unsigned int *'
Bernhard Reutner-Fischer [Thu, 12 Jan 2006 12:08:46 +0000 (12:08 -0000)]
- mark argument who of print_route as unused.
Rob Landley [Thu, 12 Jan 2006 06:13:50 +0000 (06:13 -0000)]
Frank Sorenson added hotplug support to mdev. (I tweaked it a bit. Need
to come up with a test suite for all the stuff that requires root access.
Something involving User Mode Linux or QEMU, probably...)
Rob Landley [Thu, 12 Jan 2006 03:07:49 +0000 (03:07 -0000)]
The major:minor read from dev ends with \n, need to trim that.
Rob Landley [Wed, 11 Jan 2006 03:44:11 +0000 (03:44 -0000)]
Ok, ping needs a rewrite from the ground up. (This is not a busybox app.)
Fix bug 309, where ping -s 1 localhost would give an elapsed time 9 digits
long due to a stack overflow. Apparently, iputils also does this.
Rob Landley [Tue, 10 Jan 2006 19:48:53 +0000 (19:48 -0000)]
And lo, we hath reached Release Candidate 1. 1.1.0 should happen this week.
"Vladimir N. Oleynik" [Tue, 10 Jan 2006 12:35:43 +0000 (12:35 -0000)]
can use TMPDIR if user's HOMEDIR do not found. Noticed by Bernhard
Rob Landley [Tue, 10 Jan 2006 06:36:00 +0000 (06:36 -0000)]
The brain-dead FTP servers on Solaris don't support the size command.
Rob Landley [Tue, 10 Jan 2006 06:19:56 +0000 (06:19 -0000)]
Don't return 0 when there's an error.
Rob Landley [Tue, 10 Jan 2006 05:30:28 +0000 (05:30 -0000)]
With -a, the jump to mount_it_now can skip the initialization of f, and
if we don't zero it after closing it we re-close a filehandle that isn't
open, and since this is a file _pointer_ it segfaults on a double free.
Yeah, subtle bug. I need to break this out into separate functions if I can
figure out how to avoid making the code larger while doing so. Part of
the general -a and -o remount work I need to do, but that's after 1.1.0...
Rob Landley [Tue, 10 Jan 2006 02:37:20 +0000 (02:37 -0000)]
Both atime and diratime should switch _off_ the corresponding no* flag.
Mike Frysinger [Tue, 10 Jan 2006 01:43:40 +0000 (01:43 -0000)]
upgrade ZyXEL from hall of shame to hall of [product] fame
"Vladimir N. Oleynik" [Mon, 9 Jan 2006 13:28:31 +0000 (13:28 -0000)]
removed a warning about an unused pargv in bb_getopt_ulflags. Noticed by Tito
Rob Landley [Mon, 9 Jan 2006 05:26:58 +0000 (05:26 -0000)]
Bug 112, return value of awk should be /256. In reality, we should probably
be using WEXITSTATUS(), but until I can figure out why the heck that would
want to do (*(int *) &(status)) on the value, I'm happy just fixing the bug we
actually see.
Rob Landley [Mon, 9 Jan 2006 03:45:43 +0000 (03:45 -0000)]
Fix bug 603: "chown :root thingy" should work now.
Rob Landley [Mon, 9 Jan 2006 03:07:44 +0000 (03:07 -0000)]
Bug 547: writing out the tar file header before we confirm we can actually
open and read from the file isn't something we can recover from after the
fact. Resequence things to check first, write second.
Rob Landley [Mon, 9 Jan 2006 01:07:24 +0000 (01:07 -0000)]
Minor cosmetic fix from Tito.
Rob Landley [Mon, 9 Jan 2006 00:54:46 +0000 (00:54 -0000)]
Why we didn't take a watchdog.c suggestion this time 'round, in case anybody
comes up with a fix...
Mike Frysinger [Sun, 8 Jan 2006 11:15:53 +0000 (11:15 -0000)]
declare const for fun
Mike Frysinger [Sun, 8 Jan 2006 11:15:34 +0000 (11:15 -0000)]
Tito writes:
Somehow while applying the bb_do_delay patch a change slipped
in libbb.h that broke compilation.
libbb.h Line 355
extern char bb_path_mtab_file[];
This conflicts with mtab_file.c
#if defined(CONFIG_FEATURE_MTAB_SUPPORT)
const char bb_path_mtab_file[] = "/etc/mtab";
#else
const char bb_path_mtab_file[] = "/proc/mounts";
#endif
Rob Landley [Fri, 6 Jan 2006 20:59:09 +0000 (20:59 -0000)]
patch from tito: consolidate delay functions as bb_do_delay()
Rob Landley [Fri, 6 Jan 2006 20:28:05 +0000 (20:28 -0000)]
Bug 624 wants quoted char support for printf, so you can do something like:
printf '%d\n' '"x"'
and have it print out 120. This is the smallest implementation I can think
of at the moment.
Rob Landley [Fri, 6 Jan 2006 18:22:05 +0000 (18:22 -0000)]
No, we _want_ the suid and sgid bits reverted by chown, for security reasons.
They mean something different when the user they're switching to is different,
so if you still want suid you reset it afterwards. This is a safety feature.
Bernhard Reutner-Fischer [Wed, 4 Jan 2006 13:35:09 +0000 (13:35 -0000)]
- better wording
Mike Frysinger [Wed, 4 Jan 2006 07:31:19 +0000 (07:31 -0000)]
use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)
Mike Frysinger [Wed, 4 Jan 2006 00:13:22 +0000 (00:13 -0000)]
Jason Schoon writes:
Here is a patch for kill that I posted long ago, but forgot about
until today. This allows kill to specify a negative process/group
(such as -1). The shell already had this fix applied by Vodz some
time ago.
Mike Frysinger [Wed, 4 Jan 2006 00:11:26 +0000 (00:11 -0000)]
import nios2 support from microtronix
Mike Frysinger [Wed, 4 Jan 2006 00:04:08 +0000 (00:04 -0000)]
make mount usage a bit more terse
Mike Frysinger [Tue, 3 Jan 2006 23:59:17 +0000 (23:59 -0000)]
just use bb_xfopen()
Mike Frysinger [Tue, 3 Jan 2006 23:59:01 +0000 (23:59 -0000)]
fix comment documentation
Bernhard Reutner-Fischer [Thu, 29 Dec 2005 21:17:05 +0000 (21:17 -0000)]
- silence warning about unused param
needs revisit later on like many others to use ATTRIBUTE_UNUSED from platform.h
Bernhard Reutner-Fischer [Thu, 29 Dec 2005 16:53:47 +0000 (16:53 -0000)]
- use HOSTCC instead of a hardcoded cc
"Vladimir N. Oleynik" [Mon, 26 Dec 2005 17:26:59 +0000 (17:26 -0000)]
remove buffer overflow by Erik and decodeString problem by Glenn, add error check of decodeString as Apache
Rob Landley [Wed, 21 Dec 2005 17:00:25 +0000 (17:00 -0000)]
When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.
Rob Landley [Wed, 21 Dec 2005 16:53:57 +0000 (16:53 -0000)]
Trying to losetup a device as a regular user shouldn't result in an endless
loop, and the error messages should display correctly now.
Rob Landley [Wed, 21 Dec 2005 16:33:41 +0000 (16:33 -0000)]
Second attempt to simplify the login menu. Shadow password stuff at the top,
with no dependencies (since depending on 9 of the 13 apps in the menu gets
a bit silly). And fix my attempt to make internal shadow password support
automatically depend on internal password support plus shadow password
support.
Bernhard Reutner-Fischer [Wed, 21 Dec 2005 15:07:30 +0000 (15:07 -0000)]
- fix check for group and user, remove some whitespace while at it.
Rob Landley [Tue, 20 Dec 2005 17:25:51 +0000 (17:25 -0000)]
Fix chroot, leave console alone if -c not specified, and yank debug code.
(I still haven't set up a test environment to confirm this works...)
Rob Landley [Tue, 20 Dec 2005 17:18:01 +0000 (17:18 -0000)]
Some minor cleanups/bugfixes split off from the big remount work:
Shorten GPL boilerplate.
Enabling FEATURE_CLEAN_UP broke things in two places.
Move the NFS with uClibc check to nfsmount.c
Rob Landley [Tue, 20 Dec 2005 15:25:25 +0000 (15:25 -0000)]
Shadow password support went beyond the dependency event horizon, just make
it an independent menu. And make internal shadow password support a subset
of the other internal password function support.
Rob Landley [Tue, 20 Dec 2005 15:23:20 +0000 (15:23 -0000)]
Actually, static buffers look like _this_...
"Vladimir N. Oleynik" [Tue, 20 Dec 2005 11:02:54 +0000 (11:02 -0000)]
remove debug feature for production
Rob Landley [Mon, 19 Dec 2005 16:30:33 +0000 (16:30 -0000)]
Make a few warnings go away.
Rob Landley [Mon, 19 Dec 2005 16:29:19 +0000 (16:29 -0000)]
Do an svn log -v, the information in this changelog is stunningly
obsolete.
Rob Landley [Mon, 19 Dec 2005 02:52:48 +0000 (02:52 -0000)]
Shadow password support involves vlock too.
Rob Landley [Mon, 19 Dec 2005 02:50:10 +0000 (02:50 -0000)]
Patch from Tito to make vlock much smaller.
Rob Landley [Sun, 18 Dec 2005 20:34:41 +0000 (20:34 -0000)]
strncmp isn't automatically superior to strcmp. Especially when it isn't
used right.
Rob Landley [Sat, 17 Dec 2005 10:54:17 +0000 (10:54 -0000)]
Sigh. Left the debug path in. Fixed.
Rob Landley [Sat, 17 Dec 2005 10:52:30 +0000 (10:52 -0000)]
Added /etc/mdev.conf support. Adds about 1.9k to mdev.
Rob Landley [Fri, 16 Dec 2005 21:33:10 +0000 (21:33 -0000)]
Bug 601: When we fork an archiver and feed stuff to it through a pipe, if
we don't close the pipe the child process won't exit, and we'll hang in
waitpid().
Rob Landley [Fri, 16 Dec 2005 08:03:34 +0000 (08:03 -0000)]
Ahem. Vladimir checked in a different fix bug didn't close out the bug.
Reverting...
Rob Landley [Fri, 16 Dec 2005 08:02:11 +0000 (08:02 -0000)]
Less would segfault if it had no tty. (Bug 600.)
Rob Landley [Fri, 16 Dec 2005 06:18:06 +0000 (06:18 -0000)]
I screwed up the last commit: if dt is null when ENABLE_MULTIPLE_OPTIONS is
off, we'd dereference the null. Oops.
Rob Landley [Fri, 16 Dec 2005 06:12:46 +0000 (06:12 -0000)]
Stephane Billiart said:
the attached patch makes applet list in busybox.links
correctly include tr and watchdog.
Currently, they don't appear because they are prefixed
with ENABLE_ in include/applets.h
"Vladimir N. Oleynik" [Thu, 15 Dec 2005 12:01:49 +0000 (12:01 -0000)]
sync license from mainstream
"Vladimir N. Oleynik" [Thu, 15 Dec 2005 11:53:22 +0000 (11:53 -0000)]
fopen(TTY...) to bb_xfopen(), close bug 600
Bernhard Reutner-Fischer [Thu, 15 Dec 2005 11:47:16 +0000 (11:47 -0000)]
- Stephane Billiart writes:
Fix the compilation of head and tail.
thanks!
Bernhard Reutner-Fischer [Thu, 15 Dec 2005 11:44:31 +0000 (11:44 -0000)]
- remove duplicate entry for switch_root
Rob Landley [Thu, 15 Dec 2005 08:04:17 +0000 (08:04 -0000)]
Add a fflush(stdout).
Rob Landley [Thu, 15 Dec 2005 07:42:13 +0000 (07:42 -0000)]
Better use of the ENABLE guards.
Rob Landley [Thu, 15 Dec 2005 07:25:54 +0000 (07:25 -0000)]
The rest of Yann E. Morin's install revamp.
Rob Landley [Thu, 15 Dec 2005 06:51:52 +0000 (06:51 -0000)]
Eliminate unnecessary allocation from md5sum that was leaked without ever being used.
Rob Landley [Thu, 15 Dec 2005 05:42:55 +0000 (05:42 -0000)]
Fix -g and -p options. Patch from Traceman. (I don't know who that is,
it's the darn bug generator again.)
Rob Landley [Thu, 15 Dec 2005 05:29:48 +0000 (05:29 -0000)]
Patch from dlively (whoever that is, see bug 591) to fix
"ip link set <dev> addr".
Bernhard Reutner-Fischer [Wed, 14 Dec 2005 14:13:15 +0000 (14:13 -0000)]
- several functions depend on IPv4 or IPv6 od IPX support.
removes warning about unused code for allbareconfig.
Bernhard Reutner-Fischer [Wed, 14 Dec 2005 08:32:44 +0000 (08:32 -0000)]
- remove warning (thanks Yann E. MORIN) and switch to ENABLE_
- typo: s/begining/beginning/g
"Vladimir N. Oleynik" [Tue, 13 Dec 2005 13:24:23 +0000 (13:24 -0000)]
remove sigsetmask, noticed by Bernhard
Bernhard Reutner-Fischer [Tue, 13 Dec 2005 11:52:46 +0000 (11:52 -0000)]
- check if CC supports -funsigned-char
- add CC_MAJOR and CC_MINOR variables. (gcc centric for now)
Bernhard Reutner-Fischer [Tue, 13 Dec 2005 10:48:45 +0000 (10:48 -0000)]
- wrap label GET_COUNT in #if ENABLE_FEATURE_FANCY_applet to avoid warning
about unused label.
Bernhard Reutner-Fischer [Tue, 13 Dec 2005 10:28:25 +0000 (10:28 -0000)]
- do away with superfluous keyword.