Rob Landley [Mon, 10 Apr 2006 17:07:15 +0000 (17:07 -0000)]
Patch from Rob Sullivan to consolidate crc32 table generation.
Rob Landley [Mon, 10 Apr 2006 16:40:47 +0000 (16:40 -0000)]
We use -funsigned-char now, so having a separate RESERVE_CONFIG_UBUFFER is
a bit silly. Wean of that where it currently makes no difference...
Rob Landley [Mon, 10 Apr 2006 16:09:52 +0000 (16:09 -0000)]
Modprobe update from Ignacio García Pérez, updating support for modprobe.conf.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 12:32:52 +0000 (12:32 -0000)]
- fix typo introduced in the last commit.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 12:26:47 +0000 (12:26 -0000)]
- typo: s/biltin/builtin/g
Rob Landley [Thu, 6 Apr 2006 22:49:04 +0000 (22:49 -0000)]
Another size reduction patch from Garrett.
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 16:07:08 +0000 (16:07 -0000)]
- patch from Rob Sullivan to add support for -L
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 11:28:19 +0000 (11:28 -0000)]
- shrink it a little bit and make it buildable with gcc-2.95
text data bss dec hex filename
7332 4 92 7428 1d04 diff.o-gcc-4.2-HEAD.orig
7185 4 92 7281 1c71 diff.o-gcc-4.2-HEAD.new
7336 4 92 7432 1d08 diff.o-gcc-4.1-HEAD.orig
7148 4 92 7244 1c4c diff.o-gcc-4.1-HEAD.new
7485 4 92 7581 1d9d diff.o-gcc-4.0.orig
7318 4 92 7414 1cf6 diff.o-gcc-4.0.new
7511 4 92 7607 1db7 diff.o-gcc-3.4.orig
7252 4 92 7348 1cb4 diff.o-gcc-3.4.new
8214 4 92 8310 2076 diff.o-gcc-3.3.orig
7882 4 92 7978 1f2a diff.o-gcc-3.3.new
- - - - - diff.o-gcc-2.95.orig
8238 8 88 8334 208e diff.o-gcc-2.95.new
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 08:23:11 +0000 (08:23 -0000)]
- remove unused args.
text data bss dec hex filename
7353 4 92 7449 1d19 coreutils/diff.o-gcc-4.2.oorig
7332 4 92 7428 1d04 coreutils/diff.o
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 08:15:24 +0000 (08:15 -0000)]
- move code around to avoid the need for the prototypes.
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 08:11:08 +0000 (08:11 -0000)]
- new applet diff. Rob Sullivan writes:
Here's my attempt at a mini diff applet - it's adapted from the code at
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports
unified diffs.
I've busyboxified everything to a reasonable degree, so I think the code is
suitable enough to be included, but there's still a fair bit of cleaning up
to be done.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 17:19:37 +0000 (17:19 -0000)]
- include inttypes.h as pointed out by Jason Schoon.
- use shorter boilerplate and switch to USE_FEATURE_STAT_FORMAT while at it.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 16:47:02 +0000 (16:47 -0000)]
- this applet should peruse USE_FEATURE_TFTP_...
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 16:37:25 +0000 (16:37 -0000)]
- make sure that the label expected_hwif_error is visible even when
CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF isn't set.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 16:21:37 +0000 (16:21 -0000)]
- include proper headers.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 14:57:59 +0000 (14:57 -0000)]
- use proper macros to print intmax_t.
PRIuMAX and PRIxMAX are defined in inttypes depending on the wordsize.
Paul Fox [Wed, 5 Apr 2006 14:17:24 +0000 (14:17 -0000)]
adjust ifdefs for inclusion of string_insert() routine
Rob Landley [Wed, 5 Apr 2006 01:43:39 +0000 (01:43 -0000)]
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs.
Rob Landley [Tue, 4 Apr 2006 19:26:37 +0000 (19:26 -0000)]
Some tests were always true. We need comm.tests...
Rob Landley [Tue, 4 Apr 2006 19:19:53 +0000 (19:19 -0000)]
Rewrite/shrink by tito.
Rob Landley [Tue, 4 Apr 2006 16:56:04 +0000 (16:56 -0000)]
You'd think there'd be a compiler warning for "pointless if", wouldn't you?
Rob Landley [Tue, 4 Apr 2006 15:39:23 +0000 (15:39 -0000)]
Avoid spurious error message. (Technically applet order should be "SKIPPED"
when you move the testsuite directory outside of busybox and run it, but as
long as the test doesn't fail we're ok.)
Bernhard Reutner-Fischer [Tue, 4 Apr 2006 12:17:24 +0000 (12:17 -0000)]
- remove unused ext2fs_find_first_bit_set() and ext2fs_find_next_bit_set()
Bernhard Reutner-Fischer [Tue, 4 Apr 2006 12:10:28 +0000 (12:10 -0000)]
- pull in prototype for e2fsck_main.
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 21:16:52 +0000 (21:16 -0000)]
- make sure that we see all lib*/.c in IMA-mode even when not building the .so
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 16:39:31 +0000 (16:39 -0000)]
- move buffer allocation schemes to libbb.h
- include the correct headers: applets need busybox.h while lib* need libbb.h
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 15:46:14 +0000 (15:46 -0000)]
- make append_option and multiconvert static.
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 12:29:12 +0000 (12:29 -0000)]
- coalesce printf calls.
text data bss dec hex filename
3474 4 96 3574 df6 networking/arping.o.orig
3424 4 96 3524 dc4 networking/arping.o
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 11:52:01 +0000 (11:52 -0000)]
- use bb_opt_complementally; Saves another 14 bytes. (thanks again, vodz)
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 11:25:48 +0000 (11:25 -0000)]
- do away with useless fwd-decls, redundant bb_printf calls, silence warning
about comparing signed and unsigned and make stuff static.
text data bss dec hex filename
6944 0 0 6944 1b20 util-linux/ipcs.o.oorig
6509 0 0 6509 196d util-linux/ipcs.o
TODO: bb_getopt_ulflags, and further simplifications
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 09:46:29 +0000 (09:46 -0000)]
- set flags in a more reasonable manner. Thanks, vodz.
text data bss dec hex filename
3520 4 96 3620 e24 networking/arping.o.oorig
3488 4 96 3588 e04 networking/arping.o
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 21:50:01 +0000 (21:50 -0000)]
- include proper prototypes in libunarchive.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 21:23:40 +0000 (21:23 -0000)]
- janitorial: huft_build is never used outside of decompress_unzip.c and has no
prototype (which suggests that it's of no general use) so make it static for now.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 21:14:19 +0000 (21:14 -0000)]
- janitorial: include proper prototypes in libiproute.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 20:41:55 +0000 (20:41 -0000)]
- switch Warning Of the Week to wrong or missing prototypes.
e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h
decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h"
etc, etc.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 20:17:55 +0000 (20:17 -0000)]
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 20:12:31 +0000 (20:12 -0000)]
- typo: s/compenent/component/g
add a bit of documentation.
Rob Landley [Sun, 2 Apr 2006 18:57:20 +0000 (18:57 -0000)]
New version from Tito.
Mike Frysinger [Sat, 1 Apr 2006 20:38:22 +0000 (20:38 -0000)]
work outside of the srctree
Rob Landley [Sat, 1 Apr 2006 17:36:31 +0000 (17:36 -0000)]
The build broke for me on gcc 4.0.3 due to an #include having the wrong patch.
Rob Landley [Sat, 1 Apr 2006 17:32:52 +0000 (17:32 -0000)]
Bug spotted by Kumar Gala. Hopefully this fixes it...
Rob Landley [Sat, 1 Apr 2006 17:28:11 +0000 (17:28 -0000)]
Patch from KRONSTORFER Horst to Fix a size mismatch in ping, such as the 56/84
mismatch inthe following example:
# ping -c 1 172.16.2.1
PING 172.16.2.1 (172.16.2.1): 56 data bytes
84 bytes from 172.16.2.1: icmp_seq=0 ttl=64 time=0.2 ms
Mike Frysinger [Sat, 1 Apr 2006 01:36:32 +0000 (01:36 -0000)]
new test for source code sanity
Mike Frysinger [Sat, 1 Apr 2006 01:36:13 +0000 (01:36 -0000)]
move source code tests out into a sep file rather than just disabling/breaking them
Mike Frysinger [Sat, 1 Apr 2006 01:35:52 +0000 (01:35 -0000)]
remove bogus "
Mike Frysinger [Sat, 1 Apr 2006 01:35:33 +0000 (01:35 -0000)]
silence error if busybox.links doesnt exist and run tests that begin with "all_"
Rob Landley [Sat, 1 Apr 2006 00:40:33 +0000 (00:40 -0000)]
Ext2fs cleanup from Garrett Kajmowicz.
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 22:36:15 +0000 (22:36 -0000)]
- use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:
text data bss dec hex filename
1307 0 0 1307 51b util-linux/hwclock.o.oorig
1255 0 0 1255 4e7 util-linux/hwclock.o
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:43:55 +0000 (18:43 -0000)]
- add option to suppress the terse usage messages. Saves 6.8k for defconfig:
text data bss dec hex filename
861791 11264
1039140 1912195 1d2d83 busybox.have-terse-usage
854799 11264
1039140 1905203 1d1233 busybox.no-terse
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:13:42 +0000 (18:13 -0000)]
- use RESERVE_CONFIG_BUFFER. For defconfig this gives:
text data bss dec hex filename
3627 4 120 3751 ea7 networking/arping.o.oorig
3548 4 96 3648 e40 networking/arping.o.r14710
3520 4 96 3620 e24 networking/arping.o
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:10:31 +0000 (18:10 -0000)]
- update help text.
the interface argument is now a lowercase 'i' to match the big arping
commandline-syntax.
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:02:46 +0000 (18:02 -0000)]
- shrink it a bit further.
text data bss dec hex filename
3627 4 120 3751 ea7 networking/arping.o.oorig
3548 4 96 3648 e40 networking/arping.o
Rob Landley [Thu, 30 Mar 2006 21:50:57 +0000 (21:50 -0000)]
Shrink patch from Bernhard Fischer.
Bernhard Reutner-Fischer [Thu, 30 Mar 2006 13:54:30 +0000 (13:54 -0000)]
- rename clean_up in tune2fs and mke2fs to be prefixed with their applet names.
Purely cosmetic to ease readability.
Bernhard Reutner-Fischer [Thu, 30 Mar 2006 13:38:19 +0000 (13:38 -0000)]
- fix paste'o which i overlooked when applying dalias' fmt stuff.
Rob Landley [Thu, 30 Mar 2006 02:01:48 +0000 (02:01 -0000)]
Clarify.
Rob Landley [Thu, 30 Mar 2006 01:59:30 +0000 (01:59 -0000)]
Update ipaddr help to match reality.
Paul Fox [Wed, 29 Mar 2006 23:01:33 +0000 (23:01 -0000)]
fix from David Daney, on busybox mailing list:
> The problem is that if the zcip protocol times out at about the same
> time another ARP packet is being received, the newly calculated timeout
> may be set to wait forever. This prevents the protocol from progressing
> through its various states.
>
> The Fix is to set the timeout to zero if it used to be a positive
> number, but it has already expired. This causes the next protocol state
> to be entered immediately instead of never.
>
> If OK please commit.
>
> Also note that if you may have to apply the patch on this page:
>
> http://www.science.uva.nl/research/air/wiki/LinkLocalARPMeasurements
>
> To the linux kernel to get proper zcip behavior.
>
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 22:34:47 +0000 (22:34 -0000)]
- Rich Felker writes: fix invalid printf format strings
http://busybox.net/lists/busybox/2006-March/019568.html
text data bss dec hex filename
900619 10316
1038724 1949659 1dbfdb busybox.oorig
900603 10316
1038724 1949643 1dbfcb busybox
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 22:28:27 +0000 (22:28 -0000)]
- warn a bit more verbosely about fmt stuff for non-release versions
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 22:22:37 +0000 (22:22 -0000)]
- mark trunk as 1.2.0-pre0
Paul Fox [Wed, 29 Mar 2006 19:54:02 +0000 (19:54 -0000)]
add public-domain release
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 18:57:09 +0000 (18:57 -0000)]
- we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 17:32:24 +0000 (17:32 -0000)]
- shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.
http://busybox.net/lists/busybox/2006-March/019326.html
2137 8 28 2173 87d util-linux/mkswap.o.orig
1890 8 28 1926 786 util-linux/mkswap.o.v0+v1
1560 4 28 1592 638 util-linux/mkswap.o.v1
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 17:26:14 +0000 (17:26 -0000)]
- shrink dmesg a bit.
http://busybox.net/lists/busybox/2006-March/019477.html
Rob Landley [Wed, 29 Mar 2006 16:52:56 +0000 (16:52 -0000)]
More extern removal from Robert P. Day.
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 15:51:19 +0000 (15:51 -0000)]
find ./ -name .cvsignore | xargs svn rm
Rob Landley [Wed, 29 Mar 2006 15:35:23 +0000 (15:35 -0000)]
Documentation from Jan Kiszka
Rob Landley [Wed, 29 Mar 2006 14:30:49 +0000 (14:30 -0000)]
Kumar Gala tracked down a problem with NFS mounting. This is a different fix
from his, but to the same problem.
Rob Landley [Tue, 28 Mar 2006 19:40:15 +0000 (19:40 -0000)]
Mike Frysinger pointed out we can go
CFLAGS=-I/usr/some/funky/path/to/selinux \
LDFLAGS=-L/usr/some/funky/path/to/selinux make
So Jan Kiszka reverted part of the selinux patch.
Rob Landley [Tue, 28 Mar 2006 19:19:19 +0000 (19:19 -0000)]
Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocate
it.
Paul Fox [Tue, 28 Mar 2006 14:18:21 +0000 (14:18 -0000)]
fix behavior of ZZ, with respect to readonly mode(s). original
patch and report from Alexander Griesser.
Mike Frysinger [Tue, 28 Mar 2006 06:11:51 +0000 (06:11 -0000)]
remove some more config code rob missed in rev 13701 cleanup as reported by Robert P. J. Day
Mike Frysinger [Tue, 28 Mar 2006 02:35:56 +0000 (02:35 -0000)]
just whitespace fixes
Rob Landley [Mon, 27 Mar 2006 23:23:43 +0000 (23:23 -0000)]
setlogcons, from Jan Kaszka.
Rob Landley [Mon, 27 Mar 2006 23:22:16 +0000 (23:22 -0000)]
Mention that 1.1.2 should be out Juneish.
Paul Fox [Mon, 27 Mar 2006 23:09:14 +0000 (23:09 -0000)]
ensure that corrupted file extraction causes both a message and
a failure exit code. delay the error exit until all (good) files
have been extracted.
filesystem errors (nodes of wrong type, permission problems, etc)
still cause immediate failure.
Rob Landley [Mon, 27 Mar 2006 23:09:12 +0000 (23:09 -0000)]
More from Jan Kiszka: this is a port of the latest sysv-init SELinux patch.
It makes busybox invoke the libselinux library function to load the binary
policy right at system start-up. It was successfully tested on a mini-SELinux
system. Note: requires recent libselinux. I'm using 1.28.
Rob Landley [Mon, 27 Mar 2006 23:04:42 +0000 (23:04 -0000)]
From Jan Kiszka: This patch fixes the security labelling of the login terminal
and process... There still remains some stuff to clean up (the whole
set_current_security_context() appears unnecessary complex to me), but this is
now at least working.
Rob Landley [Mon, 27 Mar 2006 23:00:32 +0000 (23:00 -0000)]
Patch from Jan Kiszka: In case the libselinux development installation is not
located at its default location, this patch allows to override the path via
SELINUX_INC and SELINUX_LIB when invoking make.
Rob Landley [Mon, 27 Mar 2006 22:43:40 +0000 (22:43 -0000)]
Software Freedom Law Center and the fixes.patch thing.
Paul Fox [Mon, 27 Mar 2006 21:51:16 +0000 (21:51 -0000)]
add support for :wn (initial patch from Alexander Griesser)
Paul Fox [Mon, 27 Mar 2006 20:29:33 +0000 (20:29 -0000)]
drop obsolete version string in favor of actual BB version (from
Bernhard Fischer)
Rob Landley [Mon, 27 Mar 2006 17:00:11 +0000 (17:00 -0000)]
Turn #if 0 into a comment.
Paul Fox [Mon, 27 Mar 2006 16:42:33 +0000 (16:42 -0000)]
prevent find from ever descending into an xdev'ed directory.
Rob Landley [Sun, 26 Mar 2006 21:49:42 +0000 (21:49 -0000)]
More dead code removal.
Rob Landley [Sun, 26 Mar 2006 21:42:40 +0000 (21:42 -0000)]
Robert P Day removed some commented out code.
Rob Landley [Sat, 25 Mar 2006 03:01:59 +0000 (03:01 -0000)]
Define both big endian and little endian macros.
Rob Landley [Sat, 25 Mar 2006 02:49:28 +0000 (02:49 -0000)]
Stephane Billiart found an endianness bug in insmod.
Bernhard Reutner-Fischer [Fri, 24 Mar 2006 14:30:05 +0000 (14:30 -0000)]
- commentary typos
Bernhard Reutner-Fischer [Fri, 24 Mar 2006 09:48:18 +0000 (09:48 -0000)]
- make sure that we see freeramdisk only once
Rob Landley [Fri, 24 Mar 2006 02:42:58 +0000 (02:42 -0000)]
When cross-compiling, the install directory for shared libraries has to come
from gcc (target machine), not uname (host machine).
Mike Frysinger [Thu, 23 Mar 2006 23:44:29 +0000 (23:44 -0000)]
remove in place of external link
Bernhard Reutner-Fischer [Thu, 23 Mar 2006 16:52:59 +0000 (16:52 -0000)]
- correct typo
Rob Landley [Thu, 23 Mar 2006 16:49:22 +0000 (16:49 -0000)]
Bug spotted by Stephane Billiart: losetup depends on loop.c.
Rob Landley [Thu, 23 Mar 2006 15:30:26 +0000 (15:30 -0000)]
Very nice patch from Rich Felker to portably set the stream error indicator and
thus remove a lot of nasty old code that didn't.
Mike Frysinger [Thu, 23 Mar 2006 03:47:19 +0000 (03:47 -0000)]
make the makefile a little more flexible so we can store in either location
Rob Landley [Thu, 23 Mar 2006 03:08:09 +0000 (03:08 -0000)]
News entry announcing 1.1.1.
Mike Frysinger [Thu, 23 Mar 2006 03:05:05 +0000 (03:05 -0000)]
sync busybox and udhcp trees
Mike Frysinger [Thu, 23 Mar 2006 02:07:41 +0000 (02:07 -0000)]
fixup style