Eric Andersen [Sun, 4 Jun 2000 05:17:35 +0000 (05:17 -0000)]
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
Eric Andersen [Sun, 4 Jun 2000 05:08:29 +0000 (05:08 -0000)]
This patch
- eliminates the need to have a buffer and strcpy to it
- makes freeramdisk complain if it's given more than one argument
Regards,
Pavel Roskin
Eric Andersen [Sat, 3 Jun 2000 05:22:31 +0000 (05:22 -0000)]
Turn off debugging in the Makefile.
-Erik
Eric Andersen [Sat, 3 Jun 2000 00:27:00 +0000 (00:27 -0000)]
Note that I broke mkfs_minix's parser in rev 1.7.
-Erik
Eric Andersen [Fri, 2 Jun 2000 23:26:44 +0000 (23:26 -0000)]
Fix touch so it behaves itself (it could segfault in some cases).
Fix uname help info formatting.
-Erik
Eric Andersen [Fri, 2 Jun 2000 17:56:45 +0000 (17:56 -0000)]
This is a fix for chroot
- Fixed error message when the command is not specified (possibly crash on
libc5 systems!)
- Debugging output removed
- Using fatalError() whenever appropriate
Regards,
Pavel Roskin
Eric Andersen [Fri, 2 Jun 2000 17:51:39 +0000 (17:51 -0000)]
Pavel fixed a segfault in yes.
-Erik
Eric Andersen [Fri, 2 Jun 2000 17:38:18 +0000 (17:38 -0000)]
Fix /etc/passwd misspelling.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:35:22 +0000 (03:35 -0000)]
Some Makefile fixes for the docs.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:25:00 +0000 (03:25 -0000)]
Note the addition of ar.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:23:28 +0000 (03:23 -0000)]
oops. Don't commit autogenerated stuff.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:42 +0000 (03:21 -0000)]
A number of additional fixed from Pavel Roskin, note some more bugs in the
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:41 +0000 (03:21 -0000)]
Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:36 +0000 (03:21 -0000)]
Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:32 +0000 (03:21 -0000)]
More stuff to do...
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:21:32 +0000 (03:21 -0000)]
Acknowledge contributions of Pavel Roskin, and fix doc building
so the html goes into the website directory.
-Erik
Eric Andersen [Fri, 2 Jun 2000 03:20:22 +0000 (03:20 -0000)]
Point to the local BusyBox.html docs.
-Erik
Eric Andersen [Fri, 2 Jun 2000 02:33:24 +0000 (02:33 -0000)]
Forgot to checkin the busybox website graphics. Here they are...
-Erik
Eric Andersen [Wed, 31 May 2000 20:08:30 +0000 (20:08 -0000)]
More stuff.
-Erik
Eric Andersen [Wed, 31 May 2000 20:04:38 +0000 (20:04 -0000)]
Minor doc fix. Added several bugs to the todo list. Fixed the way init
scans /etc/inittab entries so that commands can contain ":"s.
-Erik
Eric Andersen [Tue, 30 May 2000 19:11:50 +0000 (19:11 -0000)]
Remove the now-fixed tar segfault from the TODO list.
-Erik
Eric Andersen [Tue, 30 May 2000 19:05:57 +0000 (19:05 -0000)]
Fixed tar option parsing segfault, and make "tar xv" and "tar -xv"
both work (i.e. it works with or w/o the "-").
-Erik
Eric Andersen [Thu, 25 May 2000 00:18:59 +0000 (00:18 -0000)]
Minor update to web page.
-Erik
Erik Andersen [Sat, 20 May 2000 00:40:08 +0000 (00:40 -0000)]
First pass at fixing tar segfault, and more portability updates.
-Erik
Erik Andersen [Fri, 19 May 2000 05:35:19 +0000 (05:35 -0000)]
More libc portability updates, add in the website (which has not been
archived previously). Wrote 'which' during the meeting today.
-Erik
Erik Andersen [Wed, 17 May 2000 05:28:05 +0000 (05:28 -0000)]
Another bug to fix...
-Erik
Erik Andersen [Wed, 17 May 2000 05:24:24 +0000 (05:24 -0000)]
Some more portability updates
-Erik
Erik Andersen [Tue, 16 May 2000 20:07:38 +0000 (20:07 -0000)]
Some updates for better portability.
-Erik
Erik Andersen [Sat, 13 May 2000 19:08:58 +0000 (19:08 -0000)]
TODO update
-Erik
Erik Andersen [Sat, 13 May 2000 19:08:42 +0000 (19:08 -0000)]
Change a description
-Erik
Erik Andersen [Sat, 13 May 2000 19:00:07 +0000 (19:00 -0000)]
Minor fixes to being a standalone shell.
-Erik
Erik Andersen [Sat, 13 May 2000 06:33:19 +0000 (06:33 -0000)]
BusyBox shell (lash) can now be used as a standalone shell when
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace
sash). Also fixed it so shell builtins now respect pipes and redirects.
-Erik
Erik Andersen [Sat, 13 May 2000 05:36:13 +0000 (05:36 -0000)]
More doc updates
-Erik
Erik Andersen [Sat, 13 May 2000 00:28:25 +0000 (00:28 -0000)]
So much for my evil optimization. Doesn't seem to work. Will test
more on it later.
-Erik
Erik Andersen [Fri, 12 May 2000 19:41:47 +0000 (19:41 -0000)]
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
Erik Andersen [Fri, 12 May 2000 19:38:40 +0000 (19:38 -0000)]
Some experimental stuff (work in progress). heheh.
-Erik
Erik Andersen [Wed, 10 May 2000 05:05:45 +0000 (05:05 -0000)]
* cp -fa now works as expected for symlinks (it didn't before)
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
Erik Andersen [Wed, 10 May 2000 05:00:31 +0000 (05:00 -0000)]
Add suffix stripping support to basename
-Erik
Mark Whitley [Mon, 8 May 2000 23:25:59 +0000 (23:25 -0000)]
Added some bugs / TODOs.
Erik Andersen [Mon, 8 May 2000 17:56:25 +0000 (17:56 -0000)]
Fix umount dependency on find_real_root_device_name
-Erik
Erik Andersen [Fri, 5 May 2000 19:50:32 +0000 (19:50 -0000)]
Doc updates
-Erik
Erik Andersen [Fri, 5 May 2000 19:49:33 +0000 (19:49 -0000)]
Add support for "noatime" and "nodiratime" mount flags to mount.
Change umount "-f" to mean force, and actually use umount2.
Change umount "-l" to mean "Do not free loop device".
Updates docs accordingly.
-Erik
Erik Andersen [Wed, 3 May 2000 03:25:43 +0000 (03:25 -0000)]
Tell cvs to never checkin the resultant docs.
-Erik
Erik Andersen [Wed, 3 May 2000 03:24:21 +0000 (03:24 -0000)]
Sensibly put the docs under the docs directory.
-Erik
Erik Andersen [Wed, 3 May 2000 03:19:06 +0000 (03:19 -0000)]
Remove BB_FEATURE_REMOUNT (small, and should always be present)
and fix documentation dependancy checks, so it is only built when
it should be built.
-Erik
Erik Andersen [Tue, 2 May 2000 06:40:02 +0000 (06:40 -0000)]
More formatting bugs fixed
-Erik
Erik Andersen [Tue, 2 May 2000 05:32:07 +0000 (05:32 -0000)]
Bug fixes in the docs
-Erik
Erik Andersen [Tue, 2 May 2000 05:31:00 +0000 (05:31 -0000)]
Make the dependancies on the docs work properly
-Erik
Erik Andersen [Tue, 2 May 2000 00:07:56 +0000 (00:07 -0000)]
More stuff
-Erik
Erik Andersen [Mon, 1 May 2000 22:34:24 +0000 (22:34 -0000)]
Document tr change
-Erik
Erik Andersen [Mon, 1 May 2000 22:30:37 +0000 (22:30 -0000)]
Due to the license change I can now use Minix code. Minix tr
(adapted) now replaces BSD tr. Goes from 5k to 1k, and eliminates
bsearch from the list of libc symbols.
-Erik
Mark Whitley [Mon, 1 May 2000 22:08:54 +0000 (22:08 -0000)]
Minor source modifications to improve readability.
Erik Andersen [Mon, 1 May 2000 19:50:37 +0000 (19:50 -0000)]
Minor doc change
Erik Andersen [Mon, 1 May 2000 19:49:20 +0000 (19:49 -0000)]
My little adventure of analyzing lib usage has already rooted out
a big "P" Policy violator -- logname was using getlogin(3), which uses
utmp under the hood. We don't need no stinkin' utmp (and if we
are using tinylogin, it is unlikely to be useful trying).
-Erik
Erik Andersen [Mon, 1 May 2000 19:27:17 +0000 (19:27 -0000)]
Note how to find list of BusyBox libc dependancies, the ide being to
limit them much more.
-Erik
Erik Andersen [Mon, 1 May 2000 19:11:16 +0000 (19:11 -0000)]
Oops.
-Erik
Erik Andersen [Mon, 1 May 2000 19:10:52 +0000 (19:10 -0000)]
Some accrued fixes/updates.
* cp/mv now accepts (and ignores) the -f flag, since it always
does force anyway
* tail can now accept -<num> commands (e.g. -10) for better
compatibility with the standard tail command
* added a simple id implementation; doesn't support supp. groups yet
Erik Andersen [Fri, 28 Apr 2000 22:51:49 +0000 (22:51 -0000)]
Foo
Erik Andersen [Fri, 28 Apr 2000 22:49:08 +0000 (22:49 -0000)]
Fix changelog
-Erik
Erik Andersen [Fri, 28 Apr 2000 22:32:13 +0000 (22:32 -0000)]
Fix tarball creation. In an attempt to accomodate the whiners
that wanted "tar cf foo.tar foo" (i.e. no "-" before options)
I broke creation of tarballs. Now fixed.
-Erik
Erik Andersen [Fri, 28 Apr 2000 22:10:34 +0000 (22:10 -0000)]
Fix stupid bugs. update was segfaulting. mknod minor # was always 0
due to a parsing bug. Oops.
-Erik
Erik Andersen [Fri, 28 Apr 2000 01:26:31 +0000 (01:26 -0000)]
Forgot this file...
-Erik
Erik Andersen [Fri, 28 Apr 2000 00:18:56 +0000 (00:18 -0000)]
Latest and greatest. Some effort at libc5 (aiming towards newlib)
compatability.
-Erik
Erik Andersen [Tue, 25 Apr 2000 23:24:55 +0000 (23:24 -0000)]
Several more updates
-Erik
John Beppu [Mon, 24 Apr 2000 18:07:30 +0000 (18:07 -0000)]
+ grep -v # yay!
Erik Andersen [Fri, 21 Apr 2000 21:53:58 +0000 (21:53 -0000)]
Some more updates and such...
-Erik
Erik Andersen [Fri, 21 Apr 2000 01:26:49 +0000 (01:26 -0000)]
More Doc updates. cmdedit and more termio fixes.
Erik Andersen [Fri, 21 Apr 2000 01:23:36 +0000 (01:23 -0000)]
Doc updates
-Erik
Erik Andersen [Wed, 19 Apr 2000 20:02:50 +0000 (20:02 -0000)]
Add #include <sys/param.h> to syslogd.
-Erik
Erik Andersen [Wed, 19 Apr 2000 18:52:56 +0000 (18:52 -0000)]
Make the sys logger for so that concurrent logging will work
properly (see tests/syslog_test.c for example).
-Erik
Erik Andersen [Wed, 19 Apr 2000 05:15:12 +0000 (05:15 -0000)]
Fix email address
-Erik
Erik Andersen [Wed, 19 Apr 2000 05:12:02 +0000 (05:12 -0000)]
Minor doc change
-Erik
Erik Andersen [Wed, 19 Apr 2000 04:34:06 +0000 (04:34 -0000)]
Some emails I exchanged with Alan Cox and Linus re my /dev/ps
kernel patch. To summarize, it won't be going into the kernel.
-Erik
Erik Andersen [Wed, 19 Apr 2000 04:26:30 +0000 (04:26 -0000)]
Fix the makefile so docs get built
-Erik
Erik Andersen [Wed, 19 Apr 2000 03:59:10 +0000 (03:59 -0000)]
More minor updates to docs (and making apps behave as the docs
suggest they should)
-Erik
Erik Andersen [Wed, 19 Apr 2000 03:38:01 +0000 (03:38 -0000)]
make ps accept (and ignore) all options (--help works of course).
tar now works with or without the leading "-" on the options.
-Erik
Erik Andersen [Tue, 18 Apr 2000 23:51:51 +0000 (23:51 -0000)]
More stuff
-Erik
Erik Andersen [Tue, 18 Apr 2000 23:32:10 +0000 (23:32 -0000)]
Fix creation of /linuxrc
-Erik
Erik Andersen [Tue, 18 Apr 2000 22:41:30 +0000 (22:41 -0000)]
Really fix the killall segfault this time.
-Erik
Erik Andersen [Tue, 18 Apr 2000 22:09:06 +0000 (22:09 -0000)]
Fix symlink following bug in chmod -R and friends. Allow SYSV style
'chown foo:bar' in addition to 'chown foo.bar', and fix a bug in the
busybox globbing routine such that 'find /dir -name [i]' no longer
segfaults.
-Erik
Erik Andersen [Tue, 18 Apr 2000 21:18:57 +0000 (21:18 -0000)]
Fix stupid bug (wrong variable)
-Erik
Jim Gleason [Tue, 18 Apr 2000 20:40:38 +0000 (20:40 -0000)]
Reset DODEBUG to false
Erik Andersen [Tue, 18 Apr 2000 20:00:03 +0000 (20:00 -0000)]
More little stuff.
-Erik
Erik Andersen [Tue, 18 Apr 2000 18:38:29 +0000 (18:38 -0000)]
Fix killall
-Erik
Erik Andersen [Tue, 18 Apr 2000 01:09:29 +0000 (01:09 -0000)]
Remove debug noise
-Erik
Erik Andersen [Tue, 18 Apr 2000 00:00:52 +0000 (00:00 -0000)]
Updates
-Erik
John Beppu [Mon, 17 Apr 2000 17:49:44 +0000 (17:49 -0000)]
- grep -v ^\.PHONY < Makefile
+ busybox.def.h
BB_FEATURE_TRIVIAL_HELP
+ uname.c has an example of how BB_FEATURE_TRIVIAL_HELP
is to be applied.
John Beppu [Mon, 17 Apr 2000 17:46:46 +0000 (17:46 -0000)]
- removal of (stray|stealth) spaces
John Beppu [Mon, 17 Apr 2000 16:53:45 +0000 (16:53 -0000)]
+ no need for comments.
Erik Andersen [Mon, 17 Apr 2000 16:44:46 +0000 (16:44 -0000)]
Bugfixes.
-Erik
Erik Andersen [Mon, 17 Apr 2000 16:16:10 +0000 (16:16 -0000)]
More updates to the docs, and fixes to sync things with the docs.
-Erik
John Beppu [Mon, 17 Apr 2000 05:13:59 +0000 (05:13 -0000)]
+ added John Lombardo to AUTHORS section
John Beppu [Mon, 17 Apr 2000 04:41:15 +0000 (04:41 -0000)]
- got rid of the .PHONY: docs, because I didn't want it to
generate the qw(man html txt) documentation every time I
ran make.
Unfortunately, "make docs" never amounts to anything, because
make sees the docs/ directory and thinks, "oh, I don't have
to do any work". Maybe the target should be "doc" to make it
different from "docs"?
John Beppu [Mon, 17 Apr 2000 04:22:09 +0000 (04:22 -0000)]
+ in the interest of robustness, I added
utility.c :: cstring_alloc()
utility.c :: cstring_lineFromFile() /* they're at the bottom */
so that I could read in lines of arbitrary length from FILE*s
(instead of using fgets(huge_ass_buffer,...)).
+ I tested it out on sort, and it seems to be fine.
John Beppu [Mon, 17 Apr 2000 03:37:52 +0000 (03:37 -0000)]
+ added a .PHONY: docs
target
John Beppu [Sun, 16 Apr 2000 10:55:27 +0000 (10:55 -0000)]
+ fixed segfault when no parameters are given to math
John Beppu [Sun, 16 Apr 2000 10:22:28 +0000 (10:22 -0000)]
+ wrap things in B<> to make pod2man happy
Erik Andersen [Sat, 15 Apr 2000 16:37:45 +0000 (16:37 -0000)]
Turn off debugging
-Erik
Erik Andersen [Sat, 15 Apr 2000 16:34:54 +0000 (16:34 -0000)]
More documentation updates, and minor fixes to make things sync
up with the docs.
-Erik
Erik Andersen [Fri, 14 Apr 2000 21:45:29 +0000 (21:45 -0000)]
Fix a tar bug: tar removed leading '/'s for symlink targets.
Fix a syslogd bug: Only the first sizeof(buffer) was read from the
/dev/log socket, causing (for most cases) only every other log item to be logged.
-Erik