aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libbb: introduce bb_signals and bb_signals_recursive,Denis Vlasenko2008-02-161-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
* random s/short/int/Denis Vlasenko2008-02-164-14/+15
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* we need to pass back the rtc device name that was actually used so that we ↵Mike Frysinger2008-02-152-8/+8
| | | | can turn around and check its sysfs status
* fix build failure when long opts are enabledMike Frysinger2008-02-151-11/+10
|
* split some rtc funcs out of hwclock and into an rtc header/lib so that the ↵Mike Frysinger2008-02-154-99/+232
| | | | new rtcwake applet as well as hwclock can utilize the same code
* umount: instead of non-standard -D, use -d with opposite meaningDenis Vlasenko2008-02-141-36/+37
| | | | | | | | | | | | | (closes bug 1604) umount: do not try to free loop device or erase mtab if remounted ro umount: do not complain several times about the same mountpoint function old new delta umount_main 646 638 -8 packed_usage 23662 23652 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18) Total: -18 bytes
* switch_root: stop at first non-option. Closes bug 1425.Denis Vlasenko2008-02-131-2/+2
|
* mkswap: fix help text to not lie about supported options.Denis Vlasenko2008-02-131-6/+39
| | | | | | mkswap: use uint32, not int, to match kernel. mkswap: optimization: use pre-zeroed buffer
* getpot: add support for "a+" specifier for nonnegative int parameters.Denis Vlasenko2008-02-101-19/+10
| | | | | | | | | | | | | By Vladimir Dronnikov <dronnikov at gmail.com>. fdisk and top are converted as an example. function old new delta getopt32 1340 1370 +30 top_main 1137 1120 -17 fdisk_main 3033 2949 -84 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 30/-101) Total: -71 bytes
* mkswap: do not do extra seekDenis Vlasenko2008-02-033-3/+28
| | | | | mount: add another mount helper call method
* add support for renaming/relocating device nodesMike Frysinger2008-02-012-5/+52
|
* - be C99 friendly. Anonymous unions are a GNU extension. This change isBernhard Reutner-Fischer2008-01-291-1/+1
| | | | | size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.
* mount: allow and ignore _netdev optionDenis Vlasenko2008-01-291-0/+2
|
* *: move getopt reset code to better place(s)Denis Vlasenko2008-01-281-1/+8
|
* mkswap, readahead: stop using fdlength, it is reported to be unreliableDenis Vlasenko2008-01-271-2/+4
|
* - fix conflicting decls of syslog related facilitynames and prioritynames tablesBernhard Reutner-Fischer2008-01-271-1/+1
|
* fdisk: comment out unused functionDenis Vlasenko2008-01-251-0/+2
|
* fdisk: fix a case where break was reached only for DOS labelsDenis Vlasenko2008-01-241-3/+2
|
* as reported by George Boudreau, make sure we properly skip blank linesMike Frysinger2008-01-231-2/+6
|
* save a bit of code with *strchrnul = '\0' trickDenis Vlasenko2007-12-261-1/+1
| | | | | | | | | function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko2007-12-241-1/+1
| | | | | | | | | | | | *: 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
* 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
|