aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add busybox_old to distclean.landley2006-08-041-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add comments to all the functions in this file documenting what they're for.landley2006-08-041-33/+76
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, that's not a typo, that's just me not thinking.landley2006-08-042-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15778 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Typo.landley2006-08-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15777 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Now that we have xopen3(), it's just plain unclean to have xopen() withlandley2006-08-042-2/+2
| | | | | | | | | | O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back. git-svn-id: svn://busybox.net/trunk/busybox@15776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xopen3() instead of an after-the-fact chown.landley2006-08-041-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thinko spotted by Vladimir Dronnikov.landley2006-08-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to make a "type-punned pointer" warning go away for somebody on thelandley2006-08-031-3/+2
| | | | | | | buildroot list. git-svn-id: svn://busybox.net/trunk/busybox@15773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito to improve options parsing.landley2006-08-031-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15772 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove xcalloc() and convert its callers to xzalloc(). About half of themlandley2006-08-0315-32/+22
| | | | | | | | were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack. git-svn-id: svn://busybox.net/trunk/busybox@15771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-039-61/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix umount so loop device disassociation hopefully doesn't screw up errno onlandley2006-08-031-16/+12
| | | | | | | | | a failed mount. And while I'm at it, legacy mdev removal was only being done in the _failure_ case? That can't be right. Plus minor header cleanups and an option parsing tweak. git-svn-id: svn://busybox.net/trunk/busybox@15769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt to fixup httpd.c to match svn 15767.landley2006-08-031-19/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-03143-1720/+710
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove apparent typo in "bool" line.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move declaration to be compatible with older gcc's.rpjday2006-08-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make a gcc 4.1 warning go away.landley2006-08-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15763 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Announce 1.2.1landley2006-07-311-0/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) ifeq is make syntax, #ifeq is a make comment.landley2006-07-311-7/+10
| | | | | | | | | | | | | 2) The check_cc macros should probably all have the same number of arguments. 3) Move the -Werror into the gcc 4.0 on i386 test, because gcc 4.1 is broken and produces warnings for things that provably aren't incorrect. In other news it would be nice if our check_ld macro actually did something, and why does or makefile do all the check_cc calls, then call itself as if it's building out of tree, then do all the check_cc calls again? git-svn-id: svn://busybox.net/trunk/busybox@15761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove code that can't be reached.landley2006-07-311-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito said that strings is a complete rewrite.landley2006-07-311-41/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15758 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)landley2006-07-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15756 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionlandley2006-07-272-3/+40
| | | | | | | right this time. git-svn-id: svn://busybox.net/trunk/busybox@15754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* And now, with a for loop, so it can handle the nested USE() case.landley2006-07-271-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15753 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There's no excuse for adding new #ifdefs to the code like that. None at all.landley2006-07-272-39/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15752 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I touched perl. I feel dirty.landley2006-07-271-2/+2
| | | | | | | | | | Make autodocifier suck less. It still doesn't handle nested USE( USE() ) case (the inner USE() winds up in the output), but making it recursive involves getting perl to accept a "for" loop and it's telling me that "break" is an unrecognized bareword and I hate perl. This is at least an improvement. git-svn-id: svn://busybox.net/trunk/busybox@15751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow people to display dmesg output without syslog levelsvapier2006-07-272-3/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15750 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eat gremlinsvapier2006-07-271-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* de-cuddle if( to if (vapier2006-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15748 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerlandley2006-07-262-35/+25
| | | | | | | | | fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there. git-svn-id: svn://busybox.net/trunk/busybox@15746 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Shaun Jackman, set optind by hand if we don't call getopt.landley2006-07-261-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15745 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, Ilandley2006-07-261-1/+1
| | | | | | | already have that one, but it moves up the list...) git-svn-id: svn://busybox.net/trunk/busybox@15744 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somebody on the buildroot list hit:landley2006-07-251-4/+0
| | | | | | | insmod.c:515:10: extra tokens at end of #ident directive git-svn-id: svn://busybox.net/trunk/busybox@15743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* get rid of udhcp submenuvapier2006-07-241-18/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15742 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move lchown/chown define out of specific files and into platform.h where it ↵vapier2006-07-202-6/+7
| | | | | | belongs git-svn-id: svn://busybox.net/trunk/busybox@15736 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "formated" -> "formatted" throughout the code base.rpjday2006-07-206-68/+68
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin to fix bug 941, underscores in module aliases.landley2006-07-202-3/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unnecessary consts.landley2006-07-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15729 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Replace the previous checkin with the correct fix.landley2006-07-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin to look for modules.conf in the right place on 2.6.landley2006-07-191-15/+23
| | | | | | | | Fixes http://bugs.busybox.net/view.php?id=942 git-svn-id: svn://busybox.net/trunk/busybox@15727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* For now, get around the error that "child" might be uninitialized.rpjday2006-07-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rearrange order of type qualifiers.rpjday2006-07-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.landley2006-07-172-3/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15708 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Tito to make sure /etc/group gets updated.landley2006-07-161-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15705 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New mkswap. Small and simple. Might even work. :)landley2006-07-161-380/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15704 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaup read() and write() variants, plus a couple of new functions likelandley2006-07-1639-224/+204
| | | | | | | xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert setuid/setgid users to xsetuid/xsetgid.landley2006-07-166-16/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15702 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add -Werror.landley2006-07-161-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We need xsetuid() and xsetgid() because per-user process resource limits canlandley2006-07-152-0/+14
| | | | | | | | prevent a process from switching to a user that has too many processes, and when that happens WE'RE STILL ROOT. See http://lwn.net/Articles/190331/ git-svn-id: svn://busybox.net/trunk/busybox@15700 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Comment tweak from tito.landley2006-07-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15699 69ca8d6d-28ef-0310-b511-8ec308f3f277