summaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2008-01-28*: move getopt reset code to better place(s)Denis Vlasenko
2008-01-27mkswap, readahead: stop using fdlength, it is reported to be unreliableDenis Vlasenko
2008-01-27- fix conflicting decls of syslog related facilitynames and prioritynames tablesBernhard Reutner-Fischer
2008-01-25fdisk: comment out unused functionDenis Vlasenko
2008-01-24fdisk: fix a case where break was reached only for DOS labelsDenis Vlasenko
2008-01-23as reported by George Boudreau, make sure we properly skip blank linesMike Frysinger
2007-12-26save a bit of code with *strchrnul = '\0' trickDenis Vlasenko
function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
2007-12-24nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko
*: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
2007-12-24umount: fix fallout from stack reduction changeDenis Vlasenko
2007-12-22perror_nomsg: don't print extra colonDenis Vlasenko
losetup: print name of loop device in error messages
2007-12-21fix buglets found by randomconfigDenis Vlasenko
2007-12-16fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko
(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
2007-12-02mkfs.minix: add testsuite; disable code which makes images variableDenis Vlasenko
2007-12-02attack the biggest stack users:Denis Vlasenko
-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
2007-11-23fix buglets found by randomconfigDenis Vlasenko
2007-11-19cleanup comments and coding style and rewrite the mdev.conf parser to use ↵Mike Frysinger
common busybox functions and call strdup() less often ... saves a ~few hundred bytes
2007-11-18hexdump: add hd alias, add -R optionDenis Vlasenko
2007-11-16dmesg,klogd: make code more readableDenis Vlasenko
libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
2007-11-13tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko
readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20
2007-11-10umount: stop using excessive aounts of stack. Surprisingly,Denis Vlasenko
code shrank a lot too function old new delta umount_main 751 640 -111
2007-11-10readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too smallDenis Vlasenko
umount: don't actually need char[2 * PATH_MAX] for realpath
2007-11-06fbset: fix buglet where we were using wrong pointerDenis Vlasenko
readahead: stop using stdio.h *: style fixes
2007-11-05swaponoff: prevent arithmetic overflow (spotted by Paul Fox ↵Denis Vlasenko
<pgf@brightstareng.com>)
2007-10-29mount: size-optimize mount_options[] and nfs_errtbl[]Denis Vlasenko
777253 974 9676 787903 c05bf busybox_old 777209 974 9676 787859 c0593 busybox_unstripped
2007-10-19mkswap: selinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>Denis Vlasenko
2007-10-14remove trailing whitespaceDenis Vlasenko
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-01printf("%s\n") -> puts()Denis Vlasenko
2007-10-01'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko
263 bytes saved.
2007-09-28assorted static vars removalDenis Vlasenko
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
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-09-27style and message text fixesDenis Vlasenko
2007-09-26losetup: support -f (Loic Grenie <loic.grenie@gmail.com>)Denis Vlasenko
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
2007-09-23make fdisk compile on libc without llseek64Denis Vlasenko
2007-09-22- actually mv microcom.c to miscutilsBernhard Reutner-Fischer
2007-09-22move microcom to miscutilsDenis Vlasenko
2007-09-22- remove some trailing whitespaceBernhard Reutner-Fischer
2007-09-22microcom: add copyright/license infoDenis Vlasenko
2007-09-21microcom: add new applet, this time for realDenis Vlasenko
2007-09-21microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko
2007-09-15httpd: do not clear environmentDenis Vlasenko
mount: mount helpers support (by Vladimir Dronnikov <dronnikov@gmail.ru>)
2007-09-07messages: by popular request allow PATH to be customized at build timeDenis Vlasenko
mount: smallish code shrink
2007-09-06umount: support (by ignoring) -i; style fixesDenis Vlasenko
2007-09-04mount: ignore NFS bg option on NOMMU machinesDenis Vlasenko
2007-08-29mount: allow (and ignore) -iDenis Vlasenko
2007-08-28mount: don't close fd twice in NFS codeDenis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(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
2007-08-18introduce and use xdup2(int, int)Denis Vlasenko
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
2007-08-17assorted fixes for breakage found by randomconfigDenis Vlasenko
2007-08-15more: by Tristan Schmelcher <tpkschme@engmail.uwaterloo.ca>:Denis Vlasenko
- 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.