aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libbb: smaller isdigit. -95 bytesDenys Vlasenko2009-10-231-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use better isspace implementationDenys Vlasenko2009-10-221-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta asciifile 90 106 +16 expand 653 658 +5 skip_non_whitespace 21 25 +4 bb_iswspace 25 28 +3 readcmd 1071 1072 +1 find_range 496 497 +1 singlemount 772 771 -1 ifupdown_main 2134 2133 -1 edir 370 369 -1 volume_id_set_label_string 82 79 -3 trim 85 82 -3 rtc_adjtime_is_utc 141 138 -3 rewrite 1039 1036 -3 do_cmd 4465 4462 -3 bb_dump_add 358 355 -3 awk_split 553 550 -3 fbset_main 1273 1268 -5 skip_thing 259 253 -6 get_trimmed_slice 46 39 -7 bb__parsegrent 245 238 -7 parse_file_cmd 116 108 -8 check 1532 1523 -9 bb__pgsreader 198 188 -10 dot_skip_over_ws 61 46 -15 colon 3032 3012 -20 if_readlist_proc 655 634 -21 normalize 193 165 -28 add_cmd 1162 1133 -29 get_key 528 476 -52 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/23 up/down: 30/-241) Total: -211 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mke2fs: mention -F in usage textDenys Vlasenko2009-10-221-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trimming help textDenys Vlasenko2009-10-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir)Denys Vlasenko2009-10-221-7/+8
| | | | | | | | | | function old new delta mkfs_ext2_main 2385 2495 +110 packed_usage 26400 26447 +47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 157/0) Total: 157 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tune2fs: new applet by Vladimir. Only supports -L LABELDenys Vlasenko2009-10-222-9/+11
| | | | | | | | | | | | | | function old new delta tune2fs_main - 165 +165 packed_usage 26692 26702 +10 applet_names 2148 2156 +8 applet_main 1264 1268 +4 applet_nameofs 632 634 +2 applet_install_loc 158 159 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 190/0) Total: 190 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-10-191-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fixes for huge filesystemsDenys Vlasenko2009-10-181-1/+1
| | | | | | | | | function old new delta mkfs_ext2_main 2145 2617 +472 div_roundup 15 35 +20 packed_usage 26792 26776 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: make it able to create images larger than 4GDenys Vlasenko2009-10-181-2/+3
| | | | | | | | | | | | function old new delta mkfs_ext2_main 1904 2145 +241 has_super 29 23 -6 PUT 52 40 -12 packed_usage 26807 26792 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 241/-33) Total: 208 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim usage textDenys Vlasenko2009-10-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: new applet by VladimirVladimir Dronnikov2009-10-172-33/+38
| | | | | | | | | | | | | | | | | | | function old new delta mkfs_ext2_main - 2011 +2011 static.supers - 184 +184 allocate - 118 +118 packed_usage 26692 26791 +99 PUT - 52 +52 has_super - 28 +28 applet_names 2143 2160 +17 applet_main 1264 1272 +8 applet_nameofs 632 636 +4 applet_install_loc 158 159 +1 ------------------------------------------------------------------------------ (add/remove: 5/0 grow/shrink: 5/0 up/down: 2522/0) Total: 2522 bytes Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move generate_uuid from mkswap to libbbVladimir Dronnikov2009-10-151-0/+3
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/human_readable.c: shrink; and reduce bss usageDenys Vlasenko2009-10-131-0/+4
| | | | | | | | | | | | | | | | | | | | also, move smart_ulltoaN there and comment usage locations function old new delta static.unit_chars 7 9 +2 utoa_to_buf 110 108 -2 make_human_readable_str 262 258 -4 fallbackSort 1723 1719 -4 static.fmt 97 92 -5 static.fmt_tenths 10 - -10 static.str 21 4 -17 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/5 up/down: 2/-42) Total: -40 bytes text data bss dec hex filename 820981 453 6932 828366 ca3ce busybox_old 820968 453 6916 828337 ca3b1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/xatonum.h: make it survive -WconversionDenys Vlasenko2009-10-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: more help text tweakingDenys Vlasenko2009-10-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: better wording in help textDenys Vlasenko2009-10-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Trim help text a bit moreDenys Vlasenko2009-10-061-21/+18
| | | | | | | function old new delta packed_usage 26625 26529 -96 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Trim usage text a bitDenys Vlasenko2009-10-061-38/+38
| | | | | | | function old new delta packed_usage 26646 26625 -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unpackers: check errors from close() tooDenys Vlasenko2009-10-051-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: accept -i too, not only -oiVladimir Dronnikov2009-10-041-0/+1
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixes to usage text; updated busybox.specDenys Vlasenko2009-10-021-42/+42
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: -follow should not error out on dandling linksDenys Vlasenko2009-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | function old new delta recursive_action 425 465 +40 find_main 436 465 +29 test_main 247 253 +6 need_print 1 - -1 doCommands 2523 2521 -2 compare_keys 737 735 -2 xdev_dev 4 - -4 xdev_count 4 - -4 recurse_flags 4 - -4 mkfs_vfat_main 1609 1605 -4 actions 4 - -4 fileAction 588 583 -5 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 3/4 up/down: 75/-30) Total: 45 bytes text data bss dec hex filename 822711 450 7684 830845 cad7d busybox_old 822773 445 7668 830886 cada6 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: fix compile breakageDenys Vlasenko2009-09-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: document -T optionDenys Vlasenko2009-09-201-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* swaponoff: add uuid/label support. By Natanael CopaNatanael Copa2009-09-201-0/+7
| | | | | | | | | | | | | function old new delta swap_enable_disable 130 150 +20 resolve_mount_spec 76 96 +20 mount_main 1152 1154 +2 findfs_main 125 80 -45 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 42/-45) Total: -3 bytes Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps,top: add an option to show threads. +260 bytes of codeDenys Vlasenko2009-09-191-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix --numeric-owner, --no-same-owner, --no-same-permissions bitsDenys Vlasenko2009-09-171-8/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix read_cmdline API and a small buglet where "[comm]" may be too narrowDenys Vlasenko2009-09-121-2/+2
| | | | | | | | | | | function old new delta func_args 25 26 +1 read_cmdline 119 114 -5 display_process_list 1462 1447 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-20) Total: -19 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top, ps: do not output trailing spacesDenys Vlasenko2009-09-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: add -m ("memory") optionDenys Vlasenko2009-09-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modprobe-small: make string buffer code robust; fix help textDenys Vlasenko2009-09-071-2/+15
| | | | | | | | | | | | | | | together with previous one-liner: function old new delta append 70 99 +29 parse_module 295 311 +16 copy_stringbuf 35 36 +1 packed_usage 26545 26540 -5 appendc 27 - -27 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/1 up/down: 46/-32) Total: 14 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)Denys Vlasenko2009-09-062-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove some GNUisms. by Dan Fandrich (dan AT coneharvesters.com)Denys Vlasenko2009-09-061-1/+1
| | | | | | | | | | function old new delta logdirs_reopen 1310 1308 -2 read_line_input 4757 4753 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-6) Total: -6 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: add -w ("inetd wait") option. Can be configured off.Denys Vlasenko2009-09-041-8/+12
| | | | | | | | | | | | | gcc fils to fully optimize it out when it's off: function old new delta telnetd_main 1527 1548 +21 packed_usage 26596 26587 -9 but nevertheless it's a useful (and so far single) example how to write "inetd wait" tcp service. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm2cpio: handle unseekable input correctlyDenys Vlasenko2009-08-281-4/+4
| | | | | | | | | | | | | | function old new delta data_skip 14 20 +6 seek_by_jump 67 72 +5 data_align 81 84 +3 seek_by_read 20 19 -1 skip_header 99 94 -5 rpm2cpio_main 183 177 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/3 up/down: 14/-12) Total: 2 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more help text tweakingDenys Vlasenko2009-08-271-10/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim help texts a bitDenys Vlasenko2009-08-271-43/+43
| | | | | | | function old new delta packed_usage 26709 26634 -75 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few extra newlines in help textDenys Vlasenko2009-08-271-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix duplicate FAST_FUNC FAST_FUNCDenys Vlasenko2009-08-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add simple beep appletBernhard Reutner-Fischer2009-08-212-0/+11
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* msh: aliased to hushDenys Vlasenko2009-08-212-12/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: support -N. By Olivier Duclos (olivier.duclos AT gmail.com)Denys Vlasenko2009-08-201-1/+2
| | | | | | | | function old new delta packed_usage 26646 26656 +10 patch_main 1101 1110 +9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volname: new appletMatthew Stoltenberg2009-08-132-0/+6
| | | | | | | | | | | | | | | function old new delta volname_main - 90 +90 packed_usage 26373 26387 +14 applet_names 2078 2086 +8 applet_main 1232 1236 +4 applet_nameofs 616 618 +2 applet_install_loc 154 155 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 119/0) Total: 119 bytes Signed-off-by: Matthew Stoltenberg <d3matt@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-08-081-0/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename _BB_SUID_ALWAYS and NEVER into REQUIRE and DROP. No code changes.Denys Vlasenko2009-07-302-352/+352
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping6: make it setuid just like pingDenys Vlasenko2009-07-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make find_pid_by_name look at /proc/PID/exe tooAlexander Shishkin2009-07-291-1/+2
| | | | | | | | | | function old new delta procps_scan 1642 1709 +67 find_pid_by_name 193 223 +30 free_procps_scan 29 37 +8 Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix mountpoint test to not prevemt mkfs_xxx from making image in any fileDenys Vlasenko2009-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -t TIME (needed for testsuite)Denys Vlasenko2009-07-181-4/+4
| | | | | | | | | | | This changes date -d TIME format a bit, makes it more compatible function old new delta parse_datestr 391 618 +227 touch_main 360 361 +1 packed_usage 26624 26615 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -d --date (our own testsuite needs that)Denys Vlasenko2009-07-182-2/+4
| | | | | | | | | | | | | | | function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>