summaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* umount: fix fallout from stack reduction changeDenis Vlasenko2007-12-241-2/+2
|
* perror_nomsg: don't print extra colonDenis Vlasenko2007-12-221-3/+3
| | | | | losetup: print name of loop device in error messages
* fix buglets found by randomconfigDenis Vlasenko2007-12-211-2/+2
|
* fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko2007-12-165-213/+225
| | | | | | | | (add/remove: 0/13 grow/shrink: 6/19 up/down: 74/-492) Total: -418 bytes text data bss dec hex filename 778330 860 7408 786598 c00a6 busybox_old 777970 840 7376 786186 bff0a busybox_unstripped
* mkfs.minix: add testsuite; disable code which makes images variableDenis Vlasenko2007-12-021-4/+3
|
* attack the biggest stack users:Denis Vlasenko2007-12-021-3/+21
| | | | | | | | | | | | | | | | | -mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
* fix buglets found by randomconfigDenis Vlasenko2007-11-231-0/+1
|
* 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
* hexdump: add hd alias, add -R optionDenis Vlasenko2007-11-182-19/+87
|
* dmesg,klogd: make code more readableDenis Vlasenko2007-11-161-26/+34
| | | | | | libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
* tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko2007-11-131-4/+1
| | | | | | | | | readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20
* 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
* readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too smallDenis Vlasenko2007-11-101-2/+2
| | | | | umount: don't actually need char[2 * PATH_MAX] for realpath
* fbset: fix buglet where we were using wrong pointerDenis Vlasenko2007-11-063-6/+10
| | | | | | readahead: stop using stdio.h *: style fixes
* swaponoff: prevent arithmetic overflow (spotted by Paul Fox ↵Denis Vlasenko2007-11-051-1/+1
| | | | <pgf@brightstareng.com>)
* mount: size-optimize mount_options[] and nfs_errtbl[]Denis Vlasenko2007-10-291-60/+107
| | | | | | 777253 974 9676 787903 c05bf busybox_old 777209 974 9676 787859 c0593 busybox_unstripped
* mkswap: selinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>Denis Vlasenko2007-10-191-1/+44
|
* remove trailing whitespaceDenis Vlasenko2007-10-141-1/+1
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-1124-33/+28
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-1/+1
|
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-013-3/+3
| | | | | 263 bytes saved.
* assorted static vars removalDenis Vlasenko2007-09-281-41/+36
| | | | | | | | | | | | | | | | | | | | | function old new delta tcpudpsvd_main 1829 1839 +10 update_status 567 569 +2 sigterm 1 - -1 ......... dhcprelay_signal_handler 8 - -8 nfs_strerror 60 49 -11 singlemount 4579 4564 -15 static.p 16 - -16 svstatus 20 - -20 dhcprelay_xid_list 32 - -32 runsv_main 1785 1746 -39 static.buf 74 28 -46 svd 56 - -56 dhcprelay_main 1141 1080 -61 ------------------------------------------------------------------------------ (add/remove: 0/20 grow/shrink: 2/10 up/down: 12/-386) Total: -374 bytes
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-277-23/+23
|
* style and message text fixesDenis Vlasenko2007-09-271-17/+13
|
* losetup: support -f (Loic Grenie <loic.grenie@gmail.com>)Denis Vlasenko2007-09-261-23/+37
| | | | | | | | | function old new delta losetup_main 238 278 +40 packed_usage 23021 23027 +6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 46/0) Total: 46 bytes
* make fdisk compile on libc without llseek64Denis Vlasenko2007-09-231-0/+8
|
* - actually mv microcom.c to miscutilsBernhard Reutner-Fischer2007-09-221-138/+0
|
* move microcom to miscutilsDenis Vlasenko2007-09-222-7/+0
|
* - remove some trailing whitespaceBernhard Reutner-Fischer2007-09-221-2/+3
|
* microcom: add copyright/license infoDenis Vlasenko2007-09-221-2/+4
|
* microcom: add new applet, this time for realDenis Vlasenko2007-09-211-0/+135
|
* microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2007-09-212-0/+7
|
* httpd: do not clear environmentDenis Vlasenko2007-09-152-15/+50
| | | | | mount: mount helpers support (by Vladimir Dronnikov <dronnikov@gmail.ru>)
* messages: by popular request allow PATH to be customized at build timeDenis Vlasenko2007-09-071-3/+2
| | | | | mount: smallish code shrink
* umount: support (by ignoring) -i; style fixesDenis Vlasenko2007-09-061-11/+16
|
* mount: ignore NFS bg option on NOMMU machinesDenis Vlasenko2007-09-041-2/+13
|
* mount: allow (and ignore) -iDenis Vlasenko2007-08-291-1/+2
|
* mount: don't close fd twice in NFS codeDenis Vlasenko2007-08-281-5/+8
|
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-1814-15/+15
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* introduce and use xdup2(int, int)Denis Vlasenko2007-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is) remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions sockaddr2str 142 156 +14 collect_blk 467 474 +7 xdup2 28 33 +5 singlemount 4456 4454 -2 print_host 214 212 -2 nslookup_main 139 137 -2 ftpgetput_main 414 412 -2 udhcpd_main 1258 1255 -3 udhcpc_main 2405 2402 -3 traceroute_main 4125 4122 -3 nc_main 1072 1069 -3 buffer_fill_and_print 76 73 -3 xmalloc_sockaddr2hostonly_noport 18 14 -4 xmalloc_sockaddr2host_noport 18 14 -4 xmalloc_sockaddr2host 15 11 -4 xmalloc_sockaddr2dotted_noport 18 14 -4 xmalloc_sockaddr2dotted 18 14 -4 wget_main 2618 2614 -4 ping_main 393 389 -4 ip_port_str 120 115 -5 dhcprelay_main 1146 1141 -5 dnsd_main 1531 1525 -6 passwd_main 1110 1102 -8 udhcp_kernel_packet 206 197 -9 udhcp_listen_socket 154 144 -10 getty_main 2576 2566 -10 setup 655 640 -15 xmove_fd 51 34 -17 dolisten 759 742 -17 tcpudpsvd_main 1866 1836 -30 startservice 339 299 -40
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-0/+2
|
* more: by Tristan Schmelcher <tpkschme@engmail.uwaterloo.ca>:Denis Vlasenko2007-08-151-46/+62
| | | | | | | | | | | - Fixed a number of deficiencies in the line wrapping. - Fixed a bug where the page could scroll multiple times per keypress. - Re-read terminal dimensions after user input, in case they resized the terminal while we were waiting. - Added an 'R' key to print the rest of the file without prompting. - Crudely support tabs in the line-wrapping code by converting them to 8 spaces.
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-133-12/+15
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-128-19/+19
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* mount: print errno on NFS error (again)Denis Vlasenko2007-08-031-14/+11
|
* multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko2007-07-271-4/+4
| | | | | | | | | | | | function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-243-42/+38
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* rework long option handling. saves ~1.2kDenis Vlasenko2007-07-232-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta tar_longopts - 222 +222 static.udhcpc_longopts - 192 +192 start_stop_daemon_longopts - 150 +150 getopt32 1045 1185 +140 static.wget_longopts - 111 +111 static.od_longopts - 105 +105 getopt_longopts - 96 +96 install_longopts - 67 +67 ipcalc_longopts - 63 +63 static.hwclock_longopts - 54 +54 ftpgetput_longopts - 52 +52 static.dumpleases_longopts - 32 +32 env_longopts - 31 +31 runparts_longopts - 30 +30 mv_longopts - 24 +24 mkdir_longopts - 19 +19 find_pair 164 180 +16 bb_null_long_options - 16 +16 setconsole_longopts - 10 +10 display_speed 91 98 +7 collect_blk 467 474 +7 show_color 4 1 -3 ls_main 913 904 -9 bb_default_long_options 16 - -16 ls_color_opt 32 10 -22 setconsole_long_options 32 - -32 arith 2077 2030 -47 mv_long_options 48 - -48 mkdir_long_options 48 - -48 env_long_options 48 - -48 static.options 248 184 -64 runparts_long_options 80 - -80 ftpgetput_long_options 96 - -96 static.hwclock_long_options 112 - -112 install_long_options 112 - -112 static.long_options 144 - -144 static.wget_long_options 160 - -160 longopts 160 - -160 static.arg_options 304 - -304 tar_long_options 320 - -320 long_options 384 - -384 ------------------------------------------------------------------------------ (add/remove: 17/15 grow/shrink: 4/5 up/down: 1444/-2209) Total: -765 bytes text data bss dec hex filename 782618 1328 11900 795846 c24c6 busybox_old 781354 1328 11900 794582 c1fd6 busybox_unstripped
* style fix (stray space before ';')Denis Vlasenko2007-07-213-8/+8
|
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-212-2/+2
| | | | | | | | | | | | | | | | | | | | find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped