a87bb60809
patch by Shaun Jackman to combine dup/close funcs into dup2
Mike Frysinger
2005-06-30 03:43:14 +00:00
8804c6a3b7
dont use f_frsize unless linux-2.6.0 or better
Mike Frysinger
2005-06-29 01:07:04 +00:00
fc379ba077
rip out all the non-linux code and ugly workarounds
Mike Frysinger
2005-06-28 23:50:18 +00:00
9e164578f2
tweak signed/unsigned char usage to avoid mismatches
Mike Frysinger
2005-06-24 21:37:59 +00:00
778ee6da60
- remove extra/unneeded function call. testing svn
Ned Ludd
2005-06-24 03:47:57 +00:00
5043ea1986
Enabling runtime SUID/SGID configuration via /etc/busybox.conf is not a very good default. Better to default to having it off and let people get the default behavior. If they want to enable /etc/busybox.conf they should explicitly ask for it.
Eric Andersen
2005-06-23 19:15:40 +00:00
576db48ef0
applets specified as _BB_SUID_ALWAYS in applets.h should also select CONFIG_FEATURE_SUID to ensure proper behavior when installed.
Eric Andersen
2005-06-23 18:58:57 +00:00
3efa51d943
characters encoded as html should have a trailing semicolon to be interpreted properly
Eric Andersen
2005-06-23 05:51:48 +00:00
6eb1e41674
Rodney Radford submitted ipcs and ipcrm (system V IPC stuff). They could use some more work to shrink them down.
Rob Landley
2005-06-20 04:30:36 +00:00
d0615ae73a
Tito says: strip unused program_name Vladimir N. Oleynik says: uname() can be replaced with get_kernel_revision()
Mike Frysinger
2005-06-17 01:35:52 +00:00
d5826903c1
use xmalloc instead of malloc
Mike Frysinger
2005-06-12 00:45:09 +00:00
7fde8debc4
use malloc instead of xmalloc
Mike Frysinger
2005-06-11 22:37:25 +00:00
d1a9d57bd6
use xmalloc() instead of malloc()
Mike Frysinger
2005-06-11 22:25:27 +00:00
2401ce5343
use xmalloc() and bb_perror_msg_and_die()
Mike Frysinger
2005-06-11 22:24:15 +00:00
958fa2a9cc
Note that memory allocaiton needs to be cleaned up too.
Rob Landley
2005-06-11 22:10:42 +00:00
0b3fc1a9ac
remove com_err.h includes
Mike Frysinger
2005-06-11 20:29:02 +00:00
16bc6159f3
DOS only crap
Mike Frysinger
2005-06-11 20:28:47 +00:00
6447ac0ef4
import initial fat mke2fs
Mike Frysinger
2005-06-11 05:29:40 +00:00
174808cedb
import tune2fs support
Mike Frysinger
2005-06-11 01:14:09 +00:00
a34f99930d
fix signed/unsigned char pointers
Mike Frysinger
2005-06-11 00:50:59 +00:00
7ffce0c119
oops, we only want to affect local CFLAGS
Mike Frysinger
2005-06-11 00:45:50 +00:00
d5624dcc0d
initial fat tune2fs/findfs/e2label source
Mike Frysinger
2005-06-11 00:40:20 +00:00
cae717e1f6
replace simple is_null func with a memcmp define
Mike Frysinger
2005-06-11 00:36:04 +00:00
f3d28845f8
force including of e2fsbb.h and move the HAVE_* defines to it
Mike Frysinger
2005-06-11 00:27:50 +00:00
e9903cfa0f
move config.h requirement to the actual .depend target rather than the depend alias
Mike Frysinger
2005-06-11 00:13:58 +00:00
e037622641
make sure clean removes objects in subdirs
Mike Frysinger
2005-06-11 00:12:12 +00:00
f98f5e37cd
need strings.h for ffs()
Mike Frysinger
2005-06-11 00:11:46 +00:00
0301ffab3d
only define some variables if legacy EXT2FS_ENABLE_SWAPFS is enabled
Mike Frysinger
2005-06-11 00:11:37 +00:00
1f96c97984
replace simple functions with defines
Mike Frysinger
2005-06-11 00:10:44 +00:00
68497c0bd3
whitespace updates
Mike Frysinger
2005-06-11 00:10:29 +00:00
3968082df4
replace functions with defines
Mike Frysinger
2005-06-11 00:09:46 +00:00
a1c9c66ac0
whitespace updates
Mike Frysinger
2005-06-11 00:09:39 +00:00
e2c51a8dc6
whitespace updates
Mike Frysinger
2005-06-11 00:09:24 +00:00
85cffcc83d
recode functions to shrink size
Mike Frysinger
2005-06-11 00:08:50 +00:00
942e137679
setup the HAVE_* defines
Mike Frysinger
2005-06-11 00:03:13 +00:00
3d9256225f
About time to just apply this and kill off the patches
Eric Andersen
2005-06-09 10:16:02 +00:00
06813d066b
Tito posted a devfsd error message fix. It's highly deprecated and will presumably be removed eventually (use udev), but as long as it's in there.
Rob Landley
2005-06-07 03:47:00 +00:00
16cd02e01e
Clean up strings.c to use busybox's option processing. Bug 006, apparently.
Rob Landley
2005-06-07 03:21:20 +00:00
ed830e8693
Patch from Dmitry Zakharov:
Rob Landley
2005-06-07 02:43:52 +00:00
f3133c4149
Thus spake Brenda J. Butler:
Rob Landley
2005-06-07 02:40:39 +00:00
f7662da2af
Shaun Jackman submitted a patch converting an allocation to use CONFIG_RESERVE_BUFFER. (Rob Landley removed an #ifdef, per discussion on the list.)
Rob Landley
2005-05-28 23:55:26 +00:00
47bc802e9e
Patch from Shaun Jackman to save a few bytes.
Rob Landley
2005-05-28 23:36:38 +00:00
0b1ff5a606
Tobias Krawutschke found a bug where the DHCP client would accept packets with the wrong ARP address, meaning we could easily get somebody else's IP. That is a bad thing, and this is the minimal two-line fix.
Rob Landley
2005-05-26 05:25:12 +00:00
8b2d02ed34
Add readprofile applet support.
Paul Mundt
2005-05-20 17:22:18 +00:00
93850a56b2
Patch from Colin Watson (mangled slightly by Rob Landley):
Rob Landley
2005-05-18 06:34:37 +00:00
5797c7f0ef
Doug Swarin pointed out a security bug in the -i option of sed.
Rob Landley
2005-05-18 05:56:16 +00:00
1fb7961e08
use more busybox functions and remove redundant code
Mike Frysinger
2005-05-16 22:35:59 +00:00
b2312e9901
make sure we add the local dir to the include path
Mike Frysinger
2005-05-16 22:05:07 +00:00
4079b00119
Tito pointed out I'd broken -t (argv[optind] can't be before getulflags), and replaced the use of system() (and resulting security implications).
Rob Landley
2005-05-15 01:32:47 +00:00
9ea8836357
Add automatic umount support to eject command. Patch from Tito, with tweaks from Mike Frysinger and Rob Landley.
Rob Landley
2005-05-14 00:46:18 +00:00
1ece21bddd
as Rob Landley pointed out, need to fix the 1 versus i typo in indexing
Mike Frysinger
2005-05-13 03:09:20 +00:00
0fb397e617
blah, forgot to save last time to fix whitespacing
Mike Frysinger
2005-05-13 00:58:18 +00:00
867a6080fe
remove duplicated code and rework algorithms to end up with smaller code
Mike Frysinger
2005-05-13 00:57:30 +00:00
dad4cf7e63
use a bunch of if statements since it is a few bytes smaller than a switch; also use bb_xfopen() instead of fopen() so comm doesnt segfault when given non-existant files :(
Mike Frysinger
2005-05-12 22:50:12 +00:00
b3a6ec3e62
err, added 2 to the wrong var :) also touchup the option detection to shrink size
Mike Frysinger
2005-05-12 22:41:13 +00:00
3ba93c0438
fix segfault if user only specifies 1 file
Mike Frysinger
2005-05-12 22:36:32 +00:00
4d149205c3
update usage to match actual behavior
Mike Frysinger
2005-05-12 22:36:07 +00:00
0d605e98b2
fix whitespace/coding style
Mike Frysinger
2005-05-12 22:25:41 +00:00
a84a512700
add missing comm.o rule
Mike Frysinger
2005-05-12 22:23:15 +00:00
5b300dd3a9
whitespace touchups
Mike Frysinger
2005-05-12 22:22:50 +00:00
9cc7f3230a
This makefile was a mess. Fix it to work as intended. -Erik
Eric Andersen
2005-05-11 23:20:09 +00:00
2acfd7bd26
Small comm implementatin from Rob Sullivan. Needed to build perl.
Rob Landley
2005-05-11 23:12:49 +00:00
b662f0d58b
import ether-wake applet by haveaniceday Bug 252
Mike Frysinger
2005-05-11 03:59:53 +00:00
348e84c202
change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
Mike Frysinger
2005-05-11 00:39:03 +00:00
55e2cf6533
import eject by Peter Willis / Tito Ragusa
Mike Frysinger
2005-05-11 00:25:47 +00:00
fb6d22c96c
now that mjn3 explained it to me, add documentation for the 3rd field in long opts
Mike Frysinger
2005-05-11 00:02:39 +00:00
00e76cb6b9
Patch from Jason Schoon to add IPV6 support to telnetd. Reworked by Rob Landley to remove an #ifdef and move another one out of the flow of code.
Rob Landley
2005-05-10 23:53:33 +00:00
e5d0bde697
add documentation for long options and touch up the current docs now that i actually understand how to use the function myself :)
Mike Frysinger
2005-05-10 23:48:35 +00:00
38a33f91c0
import more libs to prep for new e2fsprogs
Mike Frysinger
2005-05-09 22:13:22 +00:00
1fd98e039d
import ext2fs lib to prep for new e2fsprogs
Mike Frysinger
2005-05-09 22:10:42 +00:00
b32011943a
no longer applies
Mike Frysinger
2005-05-09 22:10:10 +00:00
7a121e92eb
import base_device.c for fsck
Mike Frysinger
2005-05-09 22:09:00 +00:00
8d929dab60
remove unused files
Mike Frysinger
2005-05-09 21:58:36 +00:00
a88d52237b
trim out useless defines and use some busybox funcs
Mike Frysinger
2005-05-09 21:57:44 +00:00
507d1f76e5
override nls P_() macro
Mike Frysinger
2005-05-09 21:53:25 +00:00
ae38d65e95
abort if user passes -r or if they dont pass anything
Mike Frysinger
2005-05-09 21:51:41 +00:00
9dc93ac561
syntax/whitespace touchup
Mike Frysinger
2005-05-09 21:51:15 +00:00
540d3f60f3
Patch from Shaun Jackman:
Rob Landley
2005-05-09 21:42:42 +00:00
b9dfb8c03f
Manuel points out that if printf needs a flush to act like dprintf, the result is bigger. Revert last patch.
Rob Landley
2005-05-07 17:45:38 +00:00
0fcd9430ce
This one's from me. Fix ash "standalone shell".
Rob Landley
2005-05-07 08:27:34 +00:00
cce1ae2ce5
Shaun Jackman pointed out that dprintf(STDOUT_FILENO,...) is just a printf.
Rob Landley
2005-05-07 07:53:16 +00:00
ea338fffb5
patch by Tito which uses a lot more busybox functions to reduce size nicely
Mike Frysinger
2005-05-07 07:17:43 +00:00
6adfd349e9
update e2p target to match condensed files
Mike Frysinger
2005-05-07 07:16:54 +00:00
548ffd49a3
patch by Tito which unifies common get/set functions into 1 get/set function and cuts down on the size used significantly :)
Mike Frysinger
2005-05-07 07:14:41 +00:00
ba3a01f5e0
add/remove defines to handle more e2fsprogs
Mike Frysinger
2005-05-07 06:49:54 +00:00
9c85ecdef4
use shared busybox error messages to save a few bytes
Mike Frysinger
2005-05-07 06:45:29 +00:00
7dc7f402a7
make the exec (-e) an optional feature of netcat
Mike Frysinger
2005-05-06 05:00:34 +00:00
60a5c38a4b
In bug 247, haveaniceday writes:
Mike Frysinger
2005-05-06 04:45:38 +00:00
4f65360a5f
Tweak the "pretty lsmod for 2.6" patch to be seperately selectable.
Rob Landley
2005-05-04 23:55:06 +00:00
918f2ab3d7
Revert the uptime() removal. Let the list sort it out...
Rob Landley
2005-05-04 02:15:23 +00:00
8b80c71d70
Patch from Shaun Jackman:
Rob Landley
2005-05-04 00:38:15 +00:00
15d3f7f143
Takeharu Kato's patch added 2.6 support to lsmod; this changes menuconfig dependencies so 2.6 support depends on insmod or lsmod...
Rob Landley
2005-05-04 00:25:49 +00:00
627814bdc3
Takeharu Kato said:
Rob Landley
2005-05-03 22:34:03 +00:00
93983040c5
Shaun Jackman said:
Rob Landley
2005-05-03 21:30:26 +00:00
60158cb93e
A patch from Takeharu KATO to update/fix SE-Linux support.
Rob Landley
2005-05-03 06:25:50 +00:00
988a78c61c
Add David Brownell as zcip maintainer.
Rob Landley
2005-05-03 03:33:23 +00:00
e3752e56a4
Revert Tito's patch to zcip. My bad, David Brownell had objected and I missed it...
Rob Landley
2005-05-03 03:28:55 +00:00
8445a9ff99
On Tuesday 19 April 2005 21:10, Tito wrote and today added: > Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
Rob Landley
2005-05-01 00:22:03 +00:00