aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert duplicate patch.Rob Landley2006-09-121-8/+0
| | | | | | | | | | | | 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).
* Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley2006-09-121-1/+1
|
* Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.Rob Landley2006-09-121-0/+8
|
* - small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵Bernhard Reutner-Fischer2006-09-121-0/+8
| | | | __va_copy.
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko2006-09-111-2/+2
| | | | | | | | | 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.
* - merge xstat.c into xfuncs.cBernhard Reutner-Fischer2006-09-111-1/+1
|
* Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley2006-09-111-3/+7
| | | | | implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...)
* login: style fixesDenis Vlasenko2006-09-081-3/+3
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-071-0/+2
|
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-062-2/+13
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko2006-09-031-0/+4
|
* tar: revert older fix (non-portable), added new one.Denis Vlasenko2006-09-031-0/+1
| | | | | testsuite tar-extracts-all-subdirs now passes.
* ping: implement -I optionDenis Vlasenko2006-09-021-0/+1
|
* - patch from Csaba Henk to make the "User-Agent" header field configurable.Bernhard Reutner-Fischer2006-09-021-1/+3
|
* - pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer2006-08-283-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* No real need for my_query_module() and this eliminates some type-punnedRob Landley2006-08-281-2/+0
| | | | pointer warning on certain gcc versions (and saves 38 bytes).
* Michael Opdenacker contributed a readahead applet.Rob Landley2006-08-202-0/+7
|
* Ok, features.h already defines _OPEN_SOURCE (and complains if it's alreadyRob Landley2006-08-101-1/+0
| | | | | defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.)
* Another whack at scripts/individual. Now builds 212 applets.Rob Landley2006-08-092-0/+3
|
* Update usage to talk about the new shared subtree stuff in mount.Rob Landley2006-08-091-29/+21
|
* Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley2006-08-082-1/+30
| | | | | | 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...
* Teach md5sum and sha1sum to work the way other applets do so I don't have toRob Landley2006-08-061-2/+2
| | | | | | 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...
* scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley2006-08-051-1/+1
|
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-031-1/+0
| | | | | 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.
* These should have been part of 15767 too.Rob Landley2006-08-031-18/+4
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-22/+30
| | | | | | | | | | 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.)
* move lchown/chown define out of specific files and into platform.h where it ↵Mike Frysinger2006-07-201-1/+7
| | | | belongs
* "formated" -> "formatted" throughout the code base."Robert P. J. Day"2006-07-201-2/+2
|
* Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.Rob Landley2006-07-171-1/+2
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-162-6/+7
| | | | xlseek and fdlength() for the new mkswap.
* We need xsetuid() and xsetgid() because per-user process resource limits canRob Landley2006-07-151-0/+2
| | | | | 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/
* A couple things that got tangled up in my tree, easier to check in both thanRob Landley2006-07-121-1/+10
| | | | | | | | | | | | | | untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
* Patch from Tito to remove pwd_to_spwd (which we don't actually need), withRob Landley2006-07-111-6/+0
| | | | some #ifdef removal from me.
* Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley2006-07-102-12/+31
| | | | | | | what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
* Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.Rob Landley2006-07-061-0/+15
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-027-0/+7
|
* Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,Rob Landley2006-06-302-18/+0
| | | | | and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe...
* Some old kernel headers don't #include BLKSSZGET in sys/mount.h.Rob Landley2006-06-291-0/+3
|
* cleanup patch usageMike Frysinger2006-06-281-4/+4
|
* fix watchdog on no-mmu systems by adding -F option for rexecMike Frysinger2006-06-261-2/+3
|
* Upgrade mdev to allow commands to be run on create/delete.Rob Landley2006-06-261-8/+14
| | | | | | | | | | | Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements of both.  It's been upgraded so that you can specify that a given command should run at create, at delete, or at both using different special characters (@, $, and * respectively).  It uses the system() method of running command lines which means you can use environment variables on the command line (it sets $MDEV to the name of the current device being created/deleted, which is useful if you matched it via regex), and the documentation warns that you need a /bin/sh to make that work, so you probably want to pick a default shell.
* Document mount's new error return conventions.Rob Landley2006-06-241-1/+3
|
* Slowly pulling more common headers into libbb.h. Andre pointed out thatRob Landley2006-06-241-0/+5
| | | | | older uClibc didn't include sys/socket.h from netinet/in.h, so add an explicit #include for that too...
* Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.makRob Landley2006-06-221-1/+1
|
* CONFIG_DHCP -> CONFIG_APP_DHCP.Rob Landley2006-06-221-3/+3
|
* Since rangecoder is just a bunch of C functions, move it into the one userRob Landley2006-06-201-0/+1
| | | | | (decompress_unlzma.c). Also a slight #include cleanup, and I've been meaning to put #include <unistd.h> into libbb.h since it's so darn common...
* Undo all of the ugliness and some of the bloat from 15412.Rob Landley2006-06-181-2/+2
|
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-181-1/+1
| | | | that and callers wind up typecasting it back.
* We came up with our own names for ATTRIBUTE_*, so why check if they're alreadyRob Landley2006-06-151-22/+0
| | | | | #defined? Also remove a check for a gcc version older than RH9 (if non-linux needs that #define they can put it in their section.)
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-151-1/+4
| | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)