aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert duplicate patch.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). git-svn-id: svn://busybox.net/trunk/busybox@16111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "const". Bloatcheck says 0 bytes difference.landley2006-09-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16110 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.landley2006-09-121-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵aldot2006-09-121-0/+8
| | | | | | __va_copy. git-svn-id: svn://busybox.net/trunk/busybox@16107 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"vda2006-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. git-svn-id: svn://busybox.net/trunk/busybox@16102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge xstat.c into xfuncs.caldot2006-09-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Error reporting fix for sulogin, plus remove help entries for options we neverlandley2006-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...) git-svn-id: svn://busybox.net/trunk/busybox@16097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: style fixesvda2006-09-081-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16072 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getty, sulogin: convert to using bb_msg for syslog outputvda2006-09-071-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16065 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement optional syslog logging using ordinaryvda2006-09-062-2/+13
| | | | | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually. git-svn-id: svn://busybox.net/trunk/busybox@16058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uuencode: common implementation for wget and uuencode (closing bug 694)vda2006-09-031-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: revert older fix (non-portable), added new one.vda2006-09-031-0/+1
| | | | | | | | testsuite tar-extracts-all-subdirs now passes. git-svn-id: svn://busybox.net/trunk/busybox@16041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: implement -I optionvda2006-09-021-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Csaba Henk to make the "User-Agent" header field configurable.aldot2006-09-021-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pull from busybox_scratch: r15829:15850aldot2006-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 git-svn-id: svn://busybox.net/trunk/busybox@16009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* No real need for my_query_module() and this eliminates some type-punnedlandley2006-08-281-2/+0
| | | | | | | pointer warning on certain gcc versions (and saves 38 bytes). git-svn-id: svn://busybox.net/trunk/busybox@16003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Michael Opdenacker contributed a readahead applet.landley2006-08-202-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, features.h already defines _OPEN_SOURCE (and complains if it's alreadylandley2006-08-101-1/+0
| | | | | | | | defined), yet it's not doing it for scripts/individual for some reason. (I hate fighting with header files.) git-svn-id: svn://busybox.net/trunk/busybox@15794 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another whack at scripts/individual. Now builds 212 applets.landley2006-08-092-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update usage to talk about the new shared subtree stuff in mount.landley2006-08-091-29/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add shared subtree support, suggested by Vladimir Dronnikov. Also break out alandley2006-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... git-svn-id: svn://busybox.net/trunk/busybox@15789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach md5sum and sha1sum to work the way other applets do so I don't have tolandley2006-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... git-svn-id: svn://busybox.net/trunk/busybox@15786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* scripts/individual now builds 171 applets. Some of them may even work. :)landley2006-08-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove xcalloc() and convert its callers to xzalloc(). About half of themlandley2006-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. git-svn-id: svn://busybox.net/trunk/busybox@15771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-031-18/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move lchown/chown define out of specific files and into platform.h where it ↵vapier2006-07-201-1/+7
| | | | | | belongs git-svn-id: svn://busybox.net/trunk/busybox@15736 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "formated" -> "formatted" throughout the code base.rpjday2006-07-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.landley2006-07-171-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15708 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaup read() and write() variants, plus a couple of new functions likelandley2006-07-162-6/+7
| | | | | | | xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We need xsetuid() and xsetgid() because per-user process resource limits canlandley2006-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/ git-svn-id: svn://busybox.net/trunk/busybox@15700 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple things that got tangled up in my tree, easier to check in both thanlandley2006-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. git-svn-id: svn://busybox.net/trunk/busybox@15687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to remove pwd_to_spwd (which we don't actually need), withlandley2006-07-111-6/+0
| | | | | | | some #ifdef removal from me. git-svn-id: svn://busybox.net/trunk/busybox@15685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upgrade netcat a lot. Make -e able to take the rest of the command line aslandley2006-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. git-svn-id: svn://busybox.net/trunk/busybox@15675 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.landley2006-07-061-0/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15657 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Standardize on the vi editing directives being on the first line.rpjday2006-07-027-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,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... git-svn-id: svn://busybox.net/trunk/busybox@15563 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some old kernel headers don't #include BLKSSZGET in sys/mount.h.landley2006-06-291-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15543 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup patch usagevapier2006-06-281-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15538 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix watchdog on no-mmu systems by adding -F option for rexecvapier2006-06-261-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15520 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upgrade mdev to allow commands to be run on create/delete.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. git-svn-id: svn://busybox.net/trunk/busybox@15515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Document mount's new error return conventions.landley2006-06-241-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15502 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Slowly pulling more common headers into libbb.h. Andre pointed out thatlandley2006-06-241-0/+5
| | | | | | | | older uClibc didn't include sys/socket.h from netinet/in.h, so add an explicit #include for that too... git-svn-id: svn://busybox.net/trunk/busybox@15500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.maklandley2006-06-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15483 69ca8d6d-28ef-0310-b511-8ec308f3f277
* CONFIG_DHCP -> CONFIG_APP_DHCP.landley2006-06-221-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15482 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Since rangecoder is just a bunch of C functions, move it into the one userlandley2006-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... git-svn-id: svn://busybox.net/trunk/busybox@15446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Undo all of the ugliness and some of the bloat from 15412.landley2006-06-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowlandley2006-06-181-1/+1
| | | | | | | that and callers wind up typecasting it back. git-svn-id: svn://busybox.net/trunk/busybox@15420 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We came up with our own names for ATTRIBUTE_*, so why check if they're alreadylandley2006-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.) git-svn-id: svn://busybox.net/trunk/busybox@15394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot oflandley2006-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.) git-svn-id: svn://busybox.net/trunk/busybox@15393 69ca8d6d-28ef-0310-b511-8ec308f3f277