aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gvda2006-12-162-31/+31
| | | | | | | xstrtou: disallow leading '+' git-svn-id: svn://busybox.net/trunk/busybox@16976 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system: add "release" targetvda2006-12-122-23/+33
| | | | | | | find: support -size N (needed for above) git-svn-id: svn://busybox.net/trunk/busybox@16862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - s/:\t\t/\t/ for two helptexts.aldot2006-12-071-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* passwd: made smaller by ~130 bytes. size can go negativevda2006-12-011-1/+1
| | | | | | | if current trend will continue ;) git-svn-id: svn://busybox.net/trunk/busybox@16747 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix support for globally disabling --long-options.vda2006-11-291-1/+3
| | | | | | | (disabling them saves ~4K on fully configured bbox) git-svn-id: svn://busybox.net/trunk/busybox@16715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage: fix few help texts, fix breakage: '\<tab>'vda2006-11-281-50/+51
| | | | | | | sequence utterly confused cpp :) git-svn-id: svn://busybox.net/trunk/busybox@16700 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix udhcpc help message, take steps to make usage.h less messyvda2006-11-281-2241/+2240
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16698 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcpc: convert to getopt32vda2006-11-271-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Provide our own isdigit macro. saves more than 400 bytes.vda2006-11-271-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* safe_strtoXX interface proved to be a bit unconvenient.vda2006-11-272-22/+62
| | | | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. git-svn-id: svn://busybox.net/trunk/busybox@16684 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Closing bug 730. libbb run_parts is using scandir (a GNUism),vda2006-11-261-1/+0
| | | | | | | | and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...). git-svn-id: svn://busybox.net/trunk/busybox@16677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tee: fix bug: argv[-1] is a no-no!vda2006-11-251-1/+1
| | | | | | | | bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error" git-svn-id: svn://busybox.net/trunk/busybox@16669 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small improvements in str -> num convertorsvda2006-11-252-6/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* regularize str -> num convertorsvda2006-11-252-34/+95
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: sanitize option handlingvda2006-11-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16661 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: cache [ug]id->username/groupname mappings. Cuts down amountvda2006-11-241-0/+1
| | | | | | | | of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!) git-svn-id: svn://busybox.net/trunk/busybox@16654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* glibc makedev() is a large inline. Save 700+ bytes by wrapping itvda2006-11-241-0/+6
| | | | | | | into a function. git-svn-id: svn://busybox.net/trunk/busybox@16652 69ca8d6d-28ef-0310-b511-8ec308f3f277
* header_verbose_list: stop truncating file size in listingvda2006-11-241-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16651 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar:vda2006-11-241-1/+0
| | | | | | | | | | | | * unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777 git-svn-id: svn://busybox.net/trunk/busybox@16650 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),vda2006-11-221-0/+2
| | | | | | | | use them where appropriate. 200 bytes saved git-svn-id: svn://busybox.net/trunk/busybox@16641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert r15563 (pull current version of taskset off the busybox_scratch branch)aldot2006-11-222-0/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd: move generic stuff into libbb. It will make it easyvda2006-11-221-0/+12
| | | | | | | to make other server applets IPv6-aware too. git-svn-id: svn://busybox.net/trunk/busybox@16624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.vda2006-11-222-8/+11
| | | | | | | | What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd. git-svn-id: svn://busybox.net/trunk/busybox@16622 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_INET_default[] is really just a const "default",vda2006-11-212-5/+3
| | | | | | | nothing INET-specific git-svn-id: svn://busybox.net/trunk/busybox@16612 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add 'ip rule' support. First take..aldot2006-11-212-3/+15
| | | | | | | | text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o git-svn-id: svn://busybox.net/trunk/busybox@16609 69ca8d6d-28ef-0310-b511-8ec308f3f277
* insmod_ng_main: -80 bytes. Stopp mmapping, use xmalloc_open_read_close().vda2006-11-211-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dhcprelay: new appletvda2006-11-202-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16592 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rodata cleanup. "unable to" == "cannot". -300 bytesvda2006-11-181-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16580 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nc: fix --help textvda2006-11-181-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16575 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add -Wundef, fix uncovered bugsvda2006-11-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16571 69ca8d6d-28ef-0310-b511-8ec308f3f277
* runit: add runsv, runsvdir and sv. Oh yes.vda2006-11-172-0/+19
| | | | | | | It even seems to work. +11K. :( git-svn-id: svn://busybox.net/trunk/busybox@16569 69ca8d6d-28ef-0310-b511-8ec308f3f277
* httpd: reduce ifdef forest. comment out redundant PATH settingvda2006-11-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16541 69ca8d6d-28ef-0310-b511-8ec308f3f277
* httpd: add -i (inetd) and -f (foreground) otions.vda2006-11-161-2/+5
| | | | | | | | -i makes possible to run httpd in both inetd and standalone mode without recompile (or need to have two different binaries) git-svn-id: svn://busybox.net/trunk/busybox@16538 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svlogd: new applet. +9k. Still too big, but it was 12k yesterday.vda2006-11-163-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename: compare_string_array -> index_in_str_arrayvda2006-11-051-1/+2
| | | | | | | | introduce index_in_substr_array and use it in iproute2 git-svn-id: svn://busybox.net/trunk/busybox@16515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage.h: stop using ancient USAGE_xxx (we have USE_xx now)vda2006-11-051-34/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16512 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: implement POSIX-like options, most notably -ovda2006-11-051-0/+15
| | | | | | | (activated by CONFIG_DESKTOP) git-svn-id: svn://busybox.net/trunk/busybox@16511 69ca8d6d-28ef-0310-b511-8ec308f3f277
* smart_ulltoa5: make available in libbbvda2006-11-051-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16510 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replace /proc scanning code by more versatile one.vda2006-11-051-12/+36
| | | | | | | | | | Use it where appropriate. Stop scanning /etc/passwd *for every process*!!! (uid->username) top: reduce memory usage - we won't save unneeded fields from /proc info anymore. Downside: ~+250 bytes of code git-svn-id: svn://busybox.net/trunk/busybox@16509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* top: improve CPU% calculationvda2006-11-051-2/+2
| | | | | | | style fixes git-svn-id: svn://busybox.net/trunk/busybox@16508 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unneeded code removed, usused field "unsigned pscpu" removedvda2006-11-011-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* PID should be stored in pid_t, not int or long.vda2006-11-011-4/+3
| | | | | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead. git-svn-id: svn://busybox.net/trunk/busybox@16485 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ls: cleanup part 1vda2006-10-281-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* recursive_action: add depth paramvda2006-10-271-4/+4
| | | | | | | chmod: match coreutils versus following links git-svn-id: svn://busybox.net/trunk/busybox@16462 69ca8d6d-28ef-0310-b511-8ec308f3f277
* chgrp: just call chown! :)vda2006-10-271-2/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* chown: add -vcf support if CONFIG_DESKTOPvda2006-10-271-2/+7
| | | | | | | chmod: stop following symlinks git-svn-id: svn://busybox.net/trunk/busybox@16459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* chmod: support -vcf if CONFIG_DESKTOPvda2006-10-271-2/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16458 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reshuffle libbb.h contents so that order of decls makes sensevda2006-10-271-268/+250
| | | | | | | Found bad typo in largefile support :) git-svn-id: svn://busybox.net/trunk/busybox@16453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix minor breakage in previous commitvda2006-10-261-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16448 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename functions to more understandable namesvda2006-10-261-15/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16447 69ca8d6d-28ef-0310-b511-8ec308f3f277