summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* udhcpc: an option to perform ARP check (Jonas Danielsson ↵Denis Vlasenko2007-11-229-47/+138
| | | | | | | <jonas.danielsson@axis.com>) configurable, ~+300 bytes when on.
* cleanup comments and coding style and rewrite the mdev.conf parser to use ↵Mike Frysinger2007-11-191-95/+98
| | | | common busybox functions and call strdup() less often ... saves a ~few hundred bytes
* ip: stop propagating argc; optimize ip_parse_common_argsDenis Vlasenko2007-11-1811-212/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta find_pair 167 187 +20 static.families - 17 +17 die_must_be_on_off - 11 +11 ... on_off 33 22 -11 do_ipaddr 103 90 -13 do_iptunnel 1001 986 -15 iproute_list_or_flush 1237 1217 -20 static.ip_common_commands 43 22 -21 do_iproute 2217 2193 -24 parse_args 1444 1414 -30 ip_do 47 16 -31 do_iprule 994 963 -31 ip_main 153 113 -40 ipaddr_modify 1357 1305 -52 ipaddr_list_or_flush 2543 2490 -53 ip_parse_common_args 294 159 -135 ------------------------------------------------------------------------------ (add/remove: 4/1 grow/shrink: 4/24 up/down: 85/-563) Total: -478 bytes text data bss dec hex filename 775561 966 9236 785763 bfd63 busybox_old 775073 962 9236 785271 bfb77 busybox_unstripped
* stty: mark variable as staticDenis Vlasenko2007-11-181-1/+1
|
* make output a little more friendlyMike Frysinger2007-11-181-3/+3
|
* merge from upstream for systems that dont integrate libintl into their C ↵Mike Frysinger2007-11-182-8/+16
| | | | | | | | | | | | | | | | | | | | library: commit aa1e5ef5c1d95e7ebf0821d9ba27debe43a87a22 Author: Sam Ravnborg <sam@ravnborg.org> Date: Sun Aug 12 23:15:44 2007 +0200 kbuild: check if we can link gettext not just compile cygwin provides the header file but the lib file needs to be added manually. A generic fix is to check if we can compile and link a program that uses gettext() and if it fails fall back to NO_NLS. International users of cygwin may have to specify HOST_LOADLIBES := "-lintl" on the make command line. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* exported symbols may be weak, so allow symbols marked as WMike Frysinger2007-11-181-1/+1
|
* syslogd: use DEV_CONSOLE consistentlyDenis Vlasenko2007-11-182-5/+1
| | | | | init: remove obsolete comment
* hexdump: add hd alias, add -R optionDenis Vlasenko2007-11-184-32/+108
|
* add comment clarifying busybox's use of non-standard tar headerPaul Fox2007-11-172-1/+7
|
* tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko2007-11-162-4/+6
| | | | | which is not really there!
* dmesg,klogd: make code more readableDenis Vlasenko2007-11-163-69/+77
| | | | | | libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
* - use standard-imposed constants some moreBernhard Reutner-Fischer2007-11-164-5/+5
|
* - remove most of the forward declarations. No obj-code changes.Bernhard Reutner-Fischer2007-11-161-244/+241
|
* - add note about SUSv3 missing options.Bernhard Reutner-Fischer2007-11-161-1/+2
|
* who: add -a (by Tito)Denis Vlasenko2007-11-162-6/+8
|
* lash: fix compile-time warningDenis Vlasenko2007-11-151-14/+15
|
* df: add -aDenis Vlasenko2007-11-151-8/+14
| | | | | | | | | | | | df: don't special case rootfs and /dev/root function old new delta df_main 746 684 -62 find_block_device 111 - -111 find_block_device_in_dir 243 - -243 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/1 up/down: 0/-416) Total: -416 bytes
* df: add -i (conditional on CONFIG)Denis Vlasenko2007-11-153-36/+71
| | | | | uasge: trim a bit
* cosmetic change in message textDenis Vlasenko2007-11-151-1/+1
|
* bad syntax error should go to stderrPaul Fox2007-11-141-1/+1
|
* Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:Denis Vlasenko2007-11-142-3/+31
| | | | | | function old new delta str2sockaddr 328 344 +16
* tr: more of code shrink (getopt32-ification)Denis Vlasenko2007-11-132-70/+48
| | | | | | | | runtest: cleanup. Method of getting $applets was truly bizarre function old new delta tr_main 655 527 -128
* tr: better comments, small code shrinkDenis Vlasenko2007-11-131-47/+60
| | | | | | | function old new delta expand 2232 2230 -2 tr_main 677 655 -22
* tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko2007-11-132-7/+6
| | | | | | | | | readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20
* trylink: accomodate older versions of ldDenis Vlasenko2007-11-131-7/+18
|
* who: code shrink by Tito <farmatito@tiscali.it>Denis Vlasenko2007-11-131-3/+1
| | | | | | function old new delta who_main 271 259 -12
* add sed mini-docDenis Vlasenko2007-11-132-0/+645
|
* sed: support GNU-like '\t' escape in substitutionsDenis Vlasenko2007-11-133-6/+13
|
* inetd: revert bogus fix for bug 1562; shrink inetd a bitDenis Vlasenko2007-11-121-35/+15
| | | | | | | function old new delta dupconfig 159 146 -13 getconfigent 1123 1073 -50
* open_transformer: do not duplicate "<program> -cf -"Denis Vlasenko2007-11-127-20/+22
| | | | | | | text data bss dec hex filename 677858 738 7236 685832 a7708 busybox_old 677804 738 7236 685778 a76d2 busybox_unstripped
* gzip: fix a case where tar xzf fails (we use uninitialized fd)Denis Vlasenko2007-11-121-0/+1
|
* who: fix wrong date/time field sizeDenis Vlasenko2007-11-111-2/+3
|
* Announce 1.8.1Denis Vlasenko2007-11-101-0/+9
|
* init: fix bug 1584: improper check for fork errorDenis Vlasenko2007-11-101-2/+1
|
* umount: stop using excessive aounts of stack. Surprisingly,Denis Vlasenko2007-11-101-1/+2
| | | | | | | | code shrank a lot too function old new delta umount_main 751 640 -111
* lineedit: stop using both data/bss and tons of stack.Denis Vlasenko2007-11-101-93/+166
| | | | | | | | | stack usage was ~10 kb! unfortunately, noticeable code size growth: text data bss dec hex filename 9252 12 181 9445 24e5 busybox.t7/libbb/lineedit.o 9714 4 0 9718 25f6 busybox.t8/libbb/lineedit.o
* *: remove superfluous "?" in option parsingDenis Vlasenko2007-11-102-2/+2
|
* readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too smallDenis Vlasenko2007-11-102-4/+4
| | | | | umount: don't actually need char[2 * PATH_MAX] for realpath
* syslogd: support "symlink to symlink" for /dev/log; reduce stack usageDenis Vlasenko2007-11-102-32/+30
| | | | | | | | | | | | function old new delta create_socket - 134 +134 syslogd_main 1132 865 -267 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 134/-267) Total: -133 bytes text data bss dec hex filename 775603 974 9420 785997 bfe4d busybox_old 775445 974 9420 785839 bfdaf busybox_unstripped
* - commentary fixesBernhard Reutner-Fischer2007-11-081-11/+11
| | | | | | | - use common exit sequence for failure path: text data bss dec hex filename 308 0 0 308 134 libbb/xreadlink.o.pgf 296 0 0 296 128 libbb/xreadlink.o
* xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths,Paul Fox2007-11-083-17/+24
| | | | | return full path in cases where path doesn't resolve to a link. change name to better differentiate from xmalloc_readlink().
* xreadlink: code shrinkDenis Vlasenko2007-11-083-19/+20
| | | | | | | | | | udhcp: add missing tryagain member to client_config function old new delta xmalloc_readlink_follow 169 154 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-15) Total: -15 bytes
* follow symlinks to find the true passwd file before updating.Paul Fox2007-11-081-1/+6
|
* new xmalloc_readlink_follow() routine to fully expand trailing symlinksPaul Fox2007-11-082-0/+46
| | | | to get to a "real" file (or directory).
* add "-A N" / "--tryagain=N" option to client, to allow altering thePaul Fox2007-11-072-4/+13
| | | | default 60 second wait after failure to get a lease.
* flush typeahead before promptPaul Fox2007-11-071-0/+4
|
* login: fix PAM login (was unable to complete Kerberos login)Denis Vlasenko2007-11-071-23/+42
|
* modprobe: fix a bug where we were entering endless loopDenis Vlasenko2007-11-062-2/+12
| | | | | syslogd: strip trailing '\n' too, not only NULs
* login: clear dangerous environment variables if started by non-rootDenis Vlasenko2007-11-064-25/+42
|