aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * netstat: fix -r display in usage textBob Dunlop2010-10-271-21/+0
| | | | | | | | | | Signed-off-by: Bob Dunlop <bob.dunlop@xyzzy.org.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | mv: implement -n optionDenys Vlasenko2010-10-261-12/+0
|/ | | | | | | | | function old new delta mv_longopts 23 36 +13 mv_main 510 520 +10 packed_usage 27218 27225 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fdisk: initial stab at GPT partition supportKevin Cernekee2010-10-251-2/+5
| | | | | Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Remove check for supported libc.Denys Vlasenko2010-10-241-9/+0
| | | | | | | If it is not supported, it won't work. No need to break working ones which happen to this over this check. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused SC_x (serial port names) definesDenys Vlasenko2010-10-241-22/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: introduce and use strcpy_and_process_escape_sequencesDenys Vlasenko2010-10-231-0/+1
| | | | | | | | | | | | function old new delta strcpy_and_process_escape_sequences - 50 +50 bb_process_escape_sequence 148 138 -10 printf_main 789 776 -13 getty_main 1897 1831 -66 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 50/-89) Total: -39 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use xmkstemp. -65 bytes.Alexander Shishkin2010-10-221-0/+1
| | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* patch: implement -E optionLukas Huba2010-10-211-5/+7
| | | | | Signed-off-by: Lukas Huba <Huba.Lukas@centrum.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* revert last change (wrong author)Denys Vlasenko2010-10-211-7/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: implement -E optionGilles Espinasse2010-10-211-5/+7
| | | | | Signed-off-by: Gilles Espinasse <g.esp@free.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: fix usage text and a typo in constant nameLeonid Lisovskiy2010-10-201-1/+3
| | | | | Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: move usage text to .c file. no code changesDenys Vlasenko2010-10-201-78/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/hash_md5_sha: use common ctx and code for md5 and sha1/256Denys Vlasenko2010-10-191-30/+14
| | | | | | | | | | | | | | function old new delta sha256_process_block64 421 433 +12 md5_crypt 578 587 +9 md5_begin 43 50 +7 md5_hash 99 97 -2 sha1_end 85 82 -3 md5_end 36 31 -5 common64_end 93 86 -7 sha1_hash 97 - -97 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hash_md5_sha: use common finalization routine for MD5 and sha1/256. -15 bytesDenys Vlasenko2010-10-181-23/+23
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bitsDenys Vlasenko2010-10-182-4/+12
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: use SWAP_BE64 instead of open-coding itDenys Vlasenko2010-10-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* touch: update help textPascal Bellard2010-10-181-1/+2
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bring md5 and sha1 names closer. no code changesDenys Vlasenko2010-10-171-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shaN: code shrinkDenys Vlasenko2010-10-171-2/+2
| | | | | | | | | | | | function old new delta init512_lo 32 40 +8 init256 32 40 +8 sha256_begin 42 28 -14 sha512_begin 81 53 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 16/-42) Total: -26 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* md5: code shrink; and use 64-byte temp buf, not 128-byte.Denys Vlasenko2010-10-162-1/+5
| | | | | | | | | | | | | | function old new delta md5_hash 111 108 -3 md5_end 129 125 -4 md5_hash_block 459 454 -5 filter_rename_config 250 244 -6 md5_crypt 587 578 -9 popmaildir_main 828 816 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-39) Total: -39 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: pass md5/shaN context pointer as 1st arg, not lastDenys Vlasenko2010-10-161-6/+6
| | | | | | | | | function old new delta md5_hash_block 458 459 +1 filter_rename_config 252 250 -2 md5_crypt 591 587 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modutils/*: move help bits into corresponding .c filesDenys Vlasenko2010-10-161-20/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb/md5: code shrinkDenys Vlasenko2010-10-161-1/+0
| | | | | | | | | function old new delta md5_end 123 117 -6 md5_begin 49 42 -7 md5_hash 119 104 -15 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* modutils/*: move applet bits into corresponding *.c filesDenys Vlasenko2010-10-151-10/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* date: move applet and usage bits to date.cDenys Vlasenko2010-10-152-41/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* init/*: move applet/kbuild/config/help bits into applet source filesDenys Vlasenko2010-10-122-176/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tweaks to build system, mainly making menuconfig text and order clearerDenys Vlasenko2010-10-122-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak help textDenys Vlasenko2010-10-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix help text punctuationDenys Vlasenko2010-10-081-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tweak usage textsDenys Vlasenko2010-10-071-66/+69
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tune2fs: implement -c and -i optionsRichard Braun2010-10-051-12/+0
| | | | | | | | function old new delta tune2fs_main 165 256 +91 Signed-off-by: Richard Braun <rbraun@sceen.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wc: add support for -mDenys Vlasenko2010-10-041-15/+0
| | | | | | | | function old new delta wc_main 601 637 +36 packed_usage 27357 27358 +1 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Marked some more applets NOEXEC/NOFORKDan Fandrich2010-10-011-13/+13
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* free: document newly added optionsDenys Vlasenko2010-10-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* halt/poweroff/reboot: unify help textDenys Vlasenko2010-09-301-21/+21
| | | | | | | function old new delta packed_usage 27755 27733 -22 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: add config file and map fileSouf Oued2010-09-261-4/+10
| | | | | | | | | | | | | | | function old new delta acpid_main 434 1137 +703 find_action - 204 +204 f_evt_tab - 48 +48 packed_usage 27724 27755 +31 f_act_tab - 16 +16 process_event 126 - -126 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/0 up/down: 1002/-126) Total: 876 bytes Signed-off-by: Souf Oued <souf_oued@yahoo.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: merge mail and uudecode's base64 decodersDenys Vlasenko2010-09-161-0/+6
| | | | | | | | | | | | | | | function old new delta read_base64 - 378 +378 uudecode_main 306 315 +9 parse 953 958 +5 read_stduu 250 254 +4 base64_main 217 219 +2 read_base64 358 - -358 decode_base64 371 - -371 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 4/0 up/down: 398/-729) Total: -331 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* sleep: make it non-NOFORK. Fixes ^C in standalone shellDenys Vlasenko2010-09-141-2/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tweak udhcpd help textDenys Vlasenko2010-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* shell: remove lash and bbshDenys Vlasenko2010-09-061-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb: xfunc_error_retval can be a byteDenys Vlasenko2010-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xfunc_die 55 60 +5 log_and_exit 43 45 +2 hush_main 961 963 +2 xfunc_error_retval 4 1 -3 tty_main 87 84 -3 sv_main 1183 1180 -3 sort_main 804 801 -3 run_applet_no_and_exit 440 437 -3 puts_maybe_newline 198 195 -3 nohup_main 228 225 -3 httpd_main 753 750 -3 get_header_tar 1496 1493 -3 fsck_minix_main 2972 2969 -3 expr_main 110 107 -3 cmp_main 641 638 -3 chat_main 1359 1356 -3 builtin_exit 48 45 -3 arping_main 1587 1584 -3 BB_EXECVP_or_die 47 44 -3 send_cgi_and_exit 901 895 -6 diff_main 1197 1191 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/18 up/down: 9/-60) Total: -51 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* better shared strings trickDenys Vlasenko2010-09-011-10/+25
| | | | | | | | text data bss dec hex filename 861980 441 7540 869961 d4649 busybox_old 861914 441 7540 869895 d4607 busybox_unstripped Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb: add xfstat functionDenys Vlasenko2010-08-311-0/+1
| | | | | | | | | | | | | | | | function old new delta xfstat - 25 +25 mkfs_ext2_main 2421 2423 +2 mkfs_reiser_main 1197 1194 -3 next 312 307 -5 ar_main 533 522 -11 mkfs_minix_main 2938 2924 -14 mkfs_vfat_main 1511 1495 -16 writeTarFile 272 255 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/6 up/down: 27/-66) Total: -39 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* pmap: new applet. +1k.Alexander Shishkin2010-08-281-7/+24
| | | | | | | | | | | | | | | | | | | pmap is a tool used to look at processes' memory maps, normally found in procps package. It provides more readable and easily sortable output (one line per mapping) from maps/smaps files in /proc/PID/. This would help in debugging memory usage issues, especially on devices where lots of typing is not a viable option. This patch does'n implement -d and -A command line options of GNU pmap, since those are not that must have features and I was afraid of going blind from looking at its code. The implementation takes smaps scanning part out of procps_scan() function and moves it into procps_read_smaps(), which does more detailed processing of a single PID's smaps data. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: support "patch [FILE [PATCH]]" formatDenys Vlasenko2010-08-221-0/+1
| | | | | | | | function old new delta xopen_stdin - 15 +15 patch_main 2075 2041 -34 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-169-12/+12
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.h: regularize endian detectionDenys Vlasenko2010-08-161-15/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: factor out common code from mpstat/iostatDenys Vlasenko2010-08-161-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-121-3/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>