aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2006-09-29losetup: use /dev/loopN or /dev/loop/N according to CONFIG_FEATURE_DEVFS=n/yDenis Vlasenko
2006-09-29grep: add help text; fix styleDenis Vlasenko
2006-09-29top: add support for -b, -n <iterations>Denis Vlasenko
2006-09-27usage.h: fix compile-time bugs exposed by previous changeDenis Vlasenko
2006-09-27usage.h: remove ugly tricks. We have USE_FEATURE_xxx now.Denis Vlasenko
Few bugs are now exposed...
2006-09-27losetup: with no arguments lists all /dev/loopN. Corrected help text.Denis Vlasenko
(patch by Vladimir Dronnikov <dronnikov@gmail.ru>)
2006-09-27kill: implement killall5. OpenWRT folks will be happy.Denis Vlasenko
However their code was unusably different from sysvinit original. Run tested.
2006-09-27kill: fix bugs (kill -l output was horrible), fix style, constify dataDenis Vlasenko
2006-09-26several fixes from openWRT projectDenis Vlasenko
2006-09-26wget: add (configurable) large file support. Run tested.Denis Vlasenko
2006-09-22"I'll think about it" != "apply it now". It means I need to think about it.Rob Landley
2006-09-22- add new applet resize.Bernhard Reutner-Fischer
text data bss dec hex filename 185 0 0 185 b9 console-tools/resize.o 255 0 0 255 ff console-tools/resize.o.print
2006-09-20The Software Freedom Law Center wants us to add a copyright notice to theRob Landley
generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: > Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others. > Licensed under GPLv2.  See source distribution for full notice. And the busybox help message seems the least offensive place to put it. (At some point in the future, I need to strip 128 bytes from the binary to feel good about this, though. :) Minor header file cleanup while I was there, since libbb.h already #includes most of that stuff...
2006-09-20- fix documentation for the command-line options of ipcs. Closes #1036Bernhard Reutner-Fischer
2006-09-19change char *string = "foo" -> char string[] = "foo"Denis Vlasenko
function old new delta xsetenv 45 44 -1 iproute_list_or_flush 1834 1833 -1 ipaddr_modify 1915 1914 -1 ipaddr_list_or_flush 1861 1860 -1 invarg 39 38 -1 do_set 1259 1258 -1 bb_verror_msg 268 267 -1 create_icmp_socket 142 140 -2 create_icmp6_socket 142 140 -2 bb_full_fd_action 324 322 -2 bb_path_mtab_file 10 - -10 .rodata 214796 214720 -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99) Total: -99 bytes
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-15- Steven Scholz pointed out that ssd's make-pid doesn't take an argument.Bernhard Reutner-Fischer
2006-09-15Unbreak allbareconfig.Rob Landley
We've had -Werror in the tree for quite a while, so adding #warning somewhat counterproductve way to make comments on the code that belong on the mailing list anyway.
2006-09-14mount: move code from nfsmount.c into mount.cDenis Vlasenko
2006-09-12Revert duplicate patch.Rob Landley
I don't know why patch decided to apply this even though it was already in the tree. I thought the other hunks failed because they were totally unrelated leakage from Bernhard's tree (which they are; was the a reason for bundling them in with this fix? Do they have something to do with the GCC 2.95 fix? I suspect they prevent me from backporting this patch to 1.2.2 because the header consolidation into libbb.h hadn't been done yet, and no I'm not fixing it up: if that's the case then this patch won't be in 1.2.2 due to extraneous changes bundled with it that prevent a clean backport without rolling a new patch).
2006-09-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-09-12Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.Rob Landley
2006-09-12- small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵Bernhard Reutner-Fischer
__va_copy.
2006-09-11nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko
option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.
2006-09-11- merge xstat.c into xfuncs.cBernhard Reutner-Fischer
2006-09-11Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley
implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...)
2006-09-08login: style fixesDenis Vlasenko
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-09-03uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko
2006-09-03tar: revert older fix (non-portable), added new one.Denis Vlasenko
testsuite tar-extracts-all-subdirs now passes.
2006-09-02ping: implement -I optionDenis Vlasenko
2006-09-02- patch from Csaba Henk to make the "User-Agent" header field configurable.Bernhard Reutner-Fischer
2006-08-28- pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer
Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-08-28No real need for my_query_module() and this eliminates some type-punnedRob Landley
pointer warning on certain gcc versions (and saves 38 bytes).
2006-08-20Michael Opdenacker contributed a readahead applet.Rob Landley
2006-08-10Ok, features.h already defines _OPEN_SOURCE (and complains if it's alreadyRob Landley
defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.)
2006-08-09Another whack at scripts/individual. Now builds 212 applets.Rob Landley
2006-08-09Update usage to talk about the new shared subtree stuff in mount.Rob Landley
2006-08-08Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley
few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems...
2006-08-06Teach md5sum and sha1sum to work the way other applets do so I don't have toRob Landley
teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app...
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
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.
2006-08-03These should have been part of 15767 too.Rob Landley
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
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.)
2006-07-20move lchown/chown define out of specific files and into platform.h where it ↵Mike Frysinger
belongs
2006-07-20"formated" -> "formatted" throughout the code base."Robert P. J. Day"
2006-07-17Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.Rob Landley
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-15We need xsetuid() and xsetgid() because per-user process resource limits canRob Landley
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/