aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make vodz happy and make fdisk always use large file support ifandersen2004-05-191-0/+8
| | | | | | | | possible, even if LFS is not enabled for the rest of busybox. -Erik git-svn-id: svn://busybox.net/trunk/busybox@8859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a compile problemandersen2004-05-191-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix timewarp in client (server fix later)russ2004-05-194-6/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove uneccessary check (already done in pidfile.c)russ2004-05-191-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix memory leak caused by switch to vforkruss2004-05-191-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use int instead of char for return type, in theory avoiding a castbug12004-05-161-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for debian bug #248106, should use int for returned getopt value.bug12004-05-101-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-051-1/+3
| | | | | | | | | | | | | | Hi, I just re-reviewed the patch I just sent...and it needed to be BUFSIZ-3 in dos2unix.c . tempFn is BUFSIZ so the last addressable spot it BUFSIZ-1. The loop increments by 2. That's why it should be BUFSIZ-3. Best Regards, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-052-3/+3
| | | | | | | | | | | | | | Hello, I found and patched 2 more bugs. The first is a misplaced semi-colon. The second one is a buffer overflow. I doubt the buffer overflow is triggered in real life. But you never know what those wily hackers are up to. Thanks, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-051-2/+4
| | | | | | | | | | | | | | | | | | Hello, Last November a bug was found in iproute. CAN-2003-0856 has more information. Basically, netlink packets can come from any user. If a program performs action based on netlink packets, they must be examined to make sure they came from the place they are expected (the kernel). Attached is a patch against pre8. Please apply this before releasing 1.00 final. All users of busy box may be vulnerable to local attacks without it. Best Regards, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix size command, safe_strtoul gives and error if the \r is left in, thebug12004-05-041-1/+6
| | | | | | | | RFC spec says the \r should be there. This fix is the same as a recent wget fix git-svn-id: svn://busybox.net/trunk/busybox@8799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add part of a patch from Vernon Sauder that i missed a while backbug12004-05-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update dpkg-deb usage to match current practicesbug12004-05-021-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch makes the id command SuS3 compliant and provides a groupsbug12004-05-011-0/+314
| | | | | | | | | | | | applet via an alias to id. - Add G option - Pedantic option checking - If effective group and user differs from the real one show both. id. - Alias id -Gn to groups applet git-svn-id: svn://busybox.net/trunk/busybox@8795 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not use getpass(3)andersen2004-05-017-38/+98
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-add the TODO list, mention trbug12004-05-011-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfixesbug12004-04-301-2/+2
| | | | | | | | | | | | | | 1) a non NULL terminated buffer that can mess up output, spotted by Ian Latter 2) in miscutils/strings.c: get rid of useless pointer dereference in third part of for(;;), spotted by Larry Doolittle 3) bug when reading from a pipe and being invoked as strings "cat Readme | strings" is broken "cat Readme | busybox strings" works spotted by Ian Latter and fixed by Tito. git-svn-id: svn://busybox.net/trunk/busybox@8791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix symlink handling and small memory leakbug12004-04-291-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thomas Koeller writes:andersen2004-04-262-2/+2
| | | | | | | | | | | | | | | | | Hi, the following output is from BusyBox 1.0.0-pre10: ~ # ip link help ip: Command "help" is unknown, try "ip link help". tk This patch fixes it by removing the advertisements for the "ip blah help" stuff that is not implemented. git-svn-id: svn://busybox.net/trunk/busybox@8784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync my tasks with AUTHORS filebug12004-04-251-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update my email address, document some of my tasks in the AUTHORS filebug12004-04-2519-25/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This sed patch can only be described as "duh". Stat the source file, chmodandersen2004-04-211-1/+1
| | | | | | | | | | | | | | the _destination_ file. (Ah hah! That works _much_ better...) I implemented the behavior, I just forgot to test this corner of it. My fault, sorry... No, gnu sed -i doesn't preverve ownership information. I checked. Permissions, yes, ownership info, no. Rob git-svn-id: svn://busybox.net/trunk/busybox@8776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* So I'm building a linux from scratch system, using a working script to do thisandersen2004-04-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the _only_ change to is that gnu sed has been replaced with busybox sed. And ncurses' install phase hangs. I trace it down, and it's trying to run gawk. (Insert obligatory doubletake, but this is FSF code we're talking about, so...) It turns out gawk shells out to sed, ala "sed -f /tmp/blah file.h". The /tmp/blah file is basically empty (it contains one character, a newline). So basically, gawk is using sed as "cat". With gnu sed, it works like cat, anyway. With busybox sed, it tests if its command list is empty after parsing the command line, and if the list is empty it takes the first file argument as a sed command string, and if that leaves the file list empty it tries to read the data to operate on from stdin. (Hence the hang, since nothing's coming in on stdin...) It _should_ be testing whether there were any instances of -f or -e, not whether it actually got any commands. Using sed as cat may be kind of stupid, but it's valid and gawk relies on this behavior. Here's a patch to fix it, turning a couple of ints into chars in hopes of saving a bit of the space this adds. Comments? Rob git-svn-id: svn://busybox.net/trunk/busybox@8775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont try and preserve hard links to directories.bug12004-04-191-1/+3
| | | | | | | | | | The linux kernel doesnt allow hard links to directories, SUS says its implementation specific. cramfs gives empty directories and 0 length files the same node it makies it difficult to distinguish from hard links. git-svn-id: svn://busybox.net/trunk/busybox@8767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add two fundamental tests for copying directoriesbug12004-04-182-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thats odd. I guess this was cut-n-paste error, but vodzandersen2004-04-161-1/+1
| | | | | | | email address was wrong! git-svn-id: svn://busybox.net/trunk/busybox@8765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update Acronis and Belkinandersen2004-04-152-6/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steven Scholz writes:andersen2004-04-141-0/+2
| | | | | | | | | | | | | | | Hi there, the "-h" option of httpd is not described in the usage text. Please find the attached patch. Thanks. Steven git-svn-id: svn://busybox.net/trunk/busybox@8761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove a warningandersen2004-04-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-1470-170/+170
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bump version, prepare for -pre10andersen2004-04-134-1658/+293
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix incorrect ipcalc usage textandersen2004-04-131-16/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* slightly clean the whacked out formattingandersen2004-04-131-46/+47
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8752 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix several problems with start-stop-daemon, add -m supportandersen2004-04-132-27/+46
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put the glibc nss junk back at the endandersen2004-04-132-23/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8750 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sigh. The patch from David Anders (prpplague) broke standardandersen2004-04-121-1/+3
| | | | | | | securetty files since the /dev was not stripped. git-svn-id: svn://busybox.net/trunk/busybox@8749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Wolfgang Denk writes:andersen2004-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | He, there is a bug in HUSH's handling of "if" / "elif" commands: $ if true > then > echo 1 > elif > true > then > echo 2 > elif > true > then > echo 3 > else > echo 4 > fi 1 2 3 $ The same bug exists in all versions of HUSH from BB v0.60.x up to and including v1.00-pre9. The attached patch fixes this: $ if true > then > echo 1 > elif > true > then > echo 2 > elif > true > then > echo 3 > else > echo 4 > fi 1 $ Best regards, Wolfgang Denk git-svn-id: svn://busybox.net/trunk/busybox@8747 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eric Spakman noticed that ifdown' will attempt to run 'ifconfig'andersen2004-04-121-1/+1
| | | | | | | | even if built with CONFIG_FEATURE_IFUPDOWN_IP when shutting down a dhcp connection. git-svn-id: svn://busybox.net/trunk/busybox@8743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silly meandersen2004-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8741 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As reported by Quy Tonthat, init has problems with inittab's thatandersen2004-04-121-8/+1
| | | | | | | | contain only actions sysinit/wait/once. It does not clean up zombies in that case. git-svn-id: svn://busybox.net/trunk/busybox@8740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Peter Milne writes:andersen2004-04-121-3/+22
| | | | | | | | | | | | | | | | | | | Just upgraded from 0.6 to 1.00-pre8 Dot command handling handled args correctly (same as bash) in 0.60, but failed in 1.00: I fixed this by reverting the dotcmd function back to previous 0.60 instantiation, please consider using the older version. Thanks Peter git-svn-id: svn://busybox.net/trunk/busybox@8739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jamie Guinan writes:andersen2004-04-123-6/+6
| | | | | | | | | | | | | | It looks like latest uClibc defines ARCH_HAS_MMU, but a few busybox files test UCLIBC_HAS_MMU, resulting in vfork() getting called instead of fork(), etc. Patch below. Only tested for lash. Cheers, -Jamie git-svn-id: svn://busybox.net/trunk/busybox@8738 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add an extra linkandersen2004-04-121-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8737 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rob Landley to fix sed documentation.andersen2004-04-121-4/+8
| | | | | | | | The -i option was not documented, and in genereal the formatting was a bit ugly. git-svn-id: svn://busybox.net/trunk/busybox@8736 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "Mac OS X" is how it is written on the Apple websiteandersen2004-04-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix spelling. "sort of" is two words.andersen2004-04-122-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabledandersen2004-04-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8733 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile error if CONFIG_FEATURE_IP_ADDR isnt enabledbug12004-04-121-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up conditional compile of files needed by ip appletsbug12004-04-121-0/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8731 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a comment explaining why we have to check for an extra \nbug12004-04-091-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8727 69ca8d6d-28ef-0310-b511-8ec308f3f277