Go to file
Eric Andersen 46a38dbb9b Don't allow mkfifo to create files such as "--help"
This patch checks if the name of FIFO to be created begins with "-" and
calls usage() if it does.

Regards,
Pavel Roskin
2000-06-04 05:17:35 +00:00
applets A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
archival A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
console-tools Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
coreutils Don't allow mkfifo to create files such as "--help" 2000-06-04 05:17:35 +00:00
docs oops. Don't commit autogenerated stuff. 2000-06-02 03:23:28 +00:00
editors Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
examples Some more updates and such... 2000-04-21 21:53:58 +00:00
findutils More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
init Minor doc fix. Added several bugs to the todo list. Fixed the way init 2000-05-31 20:04:38 +00:00
miscutils Some updates for better portability. 2000-05-16 20:07:38 +00:00
modutils Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
networking More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
procps A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
scripts Update the sample inittab to add the "ctrlaltdel" action. 2000-02-09 04:40:25 +00:00
shell First pass at fixing tar segfault, and more portability updates. 2000-05-20 00:40:08 +00:00
sysklogd A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
tests Some more updates and such... 2000-04-21 21:53:58 +00:00
util-linux This patch 2000-06-04 05:08:29 +00:00
.cvsignore Stuf 1999-10-23 07:09:58 +00:00
ar.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
AUTHORS A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
basename.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
busybox.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
busybox.def.h Turn off debugging in the Makefile. 2000-06-03 05:22:31 +00:00
busybox.mkll Fix sed regexp replacement, which I had hosed (thanks to 2000-04-06 07:37:35 +00:00
busybox.sh Use gcc -E instead of cpp to enhance portability for brain 2000-04-06 00:10:39 +00:00
busybox.spec Some more updates and such... 2000-04-21 21:53:58 +00:00
cat.c More Doc updates. cmdedit and more termio fixes. 2000-04-21 01:26:49 +00:00
Changelog This patch 2000-06-04 05:08:29 +00:00
chmod_chown_chgrp.c Some more portability updates 2000-05-17 05:24:24 +00:00
chroot.c This is a fix for chroot 2000-06-02 17:56:45 +00:00
chvt.c Latest and greatest. Some effort at libc5 (aiming towards newlib) 2000-04-28 00:18:56 +00:00
clear.c Upates to include copyright 2000 to everything 2000-04-13 01:18:56 +00:00
cmdedit.c First pass at fixing tar segfault, and more portability updates. 2000-05-20 00:40:08 +00:00
cmdedit.h More Doc updates. cmdedit and more termio fixes. 2000-04-21 01:26:49 +00:00
cp_mv.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
cut.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
date.c Some updates for better portability. 2000-05-16 20:07:38 +00:00
dd.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
deallocvt.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
define.sh + this is a small script for helping TargetWizard auto-generate 2000-02-23 18:17:35 +00:00
df.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
dirname.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
dmesg.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
du.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
dutmp.c Some updates for better portability. 2000-05-16 20:07:38 +00:00
echo.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
fbset.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
fdflush.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
find.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
free.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
freeramdisk.c This patch 2000-06-04 05:08:29 +00:00
fsck_minix.c First pass at fixing tar segfault, and more portability updates. 2000-05-20 00:40:08 +00:00
grep.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
gunzip.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
gzip.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
halt.c Patch to make killall actually kill all PIDs with the specified name, 2000-04-07 06:00:07 +00:00
head.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
hostid.c Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
hostname.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
id.c Some more portability updates 2000-05-17 05:24:24 +00:00
init.c Minor doc fix. Added several bugs to the todo list. Fixed the way init 2000-05-31 20:04:38 +00:00
insmod.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
install.sh Fix creation of /linuxrc 2000-04-18 23:32:10 +00:00
internal.h A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
kill.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
lash.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
length.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
LICENSE Fixed spelling of my name. Geez. 1999-12-11 23:25:59 +00:00
ln.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
loadacm.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
loadfont.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
loadkmap.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
logger.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
logname.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
ls.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
lsmod.c Upates to include copyright 2000 to everything 2000-04-13 01:18:56 +00:00
makedevs.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
Makefile Turn off debugging in the Makefile. 2000-06-03 05:22:31 +00:00
math.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
messages.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
mkdir.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
mkfifo.c Don't allow mkfifo to create files such as "--help" 2000-06-04 05:17:35 +00:00
mkfs_minix.c First pass at fixing tar segfault, and more portability updates. 2000-05-20 00:40:08 +00:00
mknod.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
mkswap.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
mktemp.c Several more updates 2000-04-25 23:24:55 +00:00
more.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
mount.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
mt.c Some updates for better portability. 2000-05-16 20:07:38 +00:00
mtab.c Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
nc.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
nfsmount.c Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
nfsmount.h Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
nslookup.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
ping.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
poweroff.c Patch to make killall actually kill all PIDs with the specified name, 2000-04-07 06:00:07 +00:00
printf.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
ps.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
pwd.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
README More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
reboot.c Patch to make killall actually kill all PIDs with the specified name, 2000-04-07 06:00:07 +00:00
regexp.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
regexp.h Some formatting updates (ran the code through indent) 2000-02-08 19:58:47 +00:00
rm.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
rmdir.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
rmmod.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
sed.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
setkeycodes.c Forgot this file... 2000-04-28 01:26:31 +00:00
sfdisk.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
sh.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
sleep.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
sort.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
swaponoff.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
sync.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
syslogd.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
tail.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
tar.c Fixed tar option parsing segfault, and make "tar xv" and "tar -xv" 2000-05-30 19:05:57 +00:00
tee.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
telnet.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
test.c A number of additional fixed from Pavel Roskin, note some more bugs in the 2000-06-02 03:21:42 +00:00
TODO Note that I broke mkfs_minix's parser in rev 1.7. 2000-06-03 00:27:00 +00:00
touch.c Fix touch so it behaves itself (it could segfault in some cases). 2000-06-02 23:26:44 +00:00
tr.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
true_false.c Upates to include copyright 2000 to everything 2000-04-13 01:18:56 +00:00
tty.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
umount.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
uname.c Fix touch so it behaves itself (it could segfault in some cases). 2000-06-02 23:26:44 +00:00
uniq.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
update.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
uptime.c Upates to include copyright 2000 to everything 2000-04-13 01:18:56 +00:00
usleep.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
utility.c Fix /etc/passwd misspelling. 2000-06-02 17:38:18 +00:00
wc.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
which.c More libc portability updates, add in the website (which has not been 2000-05-19 05:35:19 +00:00
whoami.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
yes.c Pavel fixed a segfault in yes. 2000-06-02 17:51:39 +00:00

Please see the LICENSE file for copyright information.
    
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides minimalist replacements for most of the utilities
you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
tar, etc. BusyBox provides a fairly complete POSIX environment for any small or
emdedded system. The utilities in BusyBox generally have fewer options then
their full featured GNU cousins; however, the options that are included provide
the expected functionality and behave very much like their GNU counterparts.

BusyBox has been written with size-optimization and limited resources in mind.
It is also extremely modular so you can easily include or exclude commands (or
features) at compile time. This makes it easy to customize your embedded
systems. To create a working system, just add a kernel, a shell (such as ash),
and an editor (such as elvis-tiny or ae).

Busybox was originally written to support the Debian Rescue/Install disks, but
it also makes an excellent environment for any small or embedded system.

As of version 0.20 there is a version number. : ) Also as of version 0.20,
BusyBox is now modularized to easily allow you to build only the components you
need, thereby reducing binary size. To turn off unwanted Busybox components,
simply edit the file busybox.def.h and comment out the components you do not
need using C++ style (//) comments.

After the build is complete a busybox.links file is generated which is then
used by 'make install' to create symlinks to the busybox binary for all
compiled in functions.  By default, 'make install' will place the symlink
forest into `pwd`/_install unless you have defined the PREFIX environment
variable (i.e. make PREFIX="/tmp/foo" install)

Please feed suggestions, bug reports, insults, and bribes back to:
	Erik Andersen 
	<andersen@lineo.com>
	<andersee@debian.org>

<blatent plug>
Many thanks to go to Lineo for paying me to work on busybox. 
</blatent plug>