summaryrefslogtreecommitdiff
path: root/applets (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix byte-swapping of compressed help on big-endian machinesDenis Vlasenko2008-08-091-5/+12
|
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* uname,individual: fix improper printf usageDenis Vlasenko2008-07-021-3/+1
| | | | | | | | | | | | uname,awk: small code shrink function old new delta uname_main 175 166 -9 nvalloc 167 157 -10 evaluate 6381 6370 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes
* udhcpc: kill undocumented -W, it was a no-op.Denis Vlasenko2008-06-131-0/+11
| | | | | | | | | | | | | | | | | | fix option parsing in the case some CONFIG_x are off. disable -b on NOMMU, make backgrounding work correctly (if a bit differently from MMU case). Previously, it wasn't working at all. stop using global data for flags in main(), opt bitfield works as well. function old new delta cryptpw_main 177 153 -24 packed_usage 24478 24452 -26 client_background 26 - -26 udhcpc_main 2462 2372 -90 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-166) Total: -166 bytes
* - use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer2008-05-191-1/+1
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-191-1/+1
|
* cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko2008-04-271-1/+1
|
* Avoid linking in printf/bsearch if possible. -20k for static bbox withDenis Vlasenko2008-04-081-4/+10
| | | | | | | | | | | "basename", "true" and "false" only. function old new delta full_write2_str - 25 +25 bb_show_usage 183 202 +19 main 883 898 +15 run_applet_and_exit 501 507 +6
* shells: do not frocibly enable test, echo and kill _applets_,Denis Vlasenko2008-04-011-2/+7
| | | | | | | | | | | | | | | | | | | just build relevant source and use xxx_main functions. build system: add a special case when we have exactly one applet enabled (makes "true", "false", "basename" REALLY tiny). getopt32: do not use stdio. function old new delta getopt32 1385 1412 +27 make_device 1187 1200 +13 basename_main 120 127 +7 tcpudpsvd_main 1922 1926 +4 testcmd 5 - -5 echocmd 5 - -5 fuser_main 1243 1231 -12 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 4/1 up/down: 51/-22) Total: 29 bytes
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-2/+2
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* small code readability and typo fixesDenis Vlasenko2008-02-221-2/+2
|
* build system: make it do without od -tDenis Vlasenko2008-02-091-4/+12
|
* ps: add conditional support for -o [e]timeDenis Vlasenko2008-01-051-1/+1
|
* Makefile.help: removing allbareconfig target from helpDenis Vlasenko2008-01-041-1/+1
| | | | | applet_tables: fix allnoconfig
* trylink: instead of build error, disable --gc-sections if GLIBC && STATICDenis Vlasenko2007-12-281-11/+0
| | | | | nameif: glibc build fixlet
* 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
* init: remove superfluous forks and messing up with argv[0]Denis Vlasenko2007-12-101-1/+2
| | | | | cttyhack: add stealing of ctty
* Further optimize applet tables; prettify build outputDenis Vlasenko2007-11-292-26/+47
| | | | | | | text data bss dec hex filename 775923 929 9100 785952 bfe20 busybox_old 775565 929 9100 785594 bfcba busybox_unstripped
* forgotten part of previous commitDenis Vlasenko2007-11-281-0/+94
|
* reorganize applet table. Eliminates pointers to names.Denis Vlasenko2007-11-282-3/+11
| | | | | | | | | Should be a big win for libbusybox. busybox wins too: text data bss dec hex filename 776524 929 9100 786553 c0079 busybox_old 775903 929 9100 785932 bfe0c busybox_unstripped
* fix incorrect text of link-time error message. No code changesDenis Vlasenko2007-11-051-1/+1
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* Move applets/applet.c into libbb, allows to get rid of --whole-archiveDenis Vlasenko2007-10-101-535/+6
| | | | | (smaller code). Tested in static and shared mode.
* get rid of global "struct bb_applet *current_applet"Denis Vlasenko2007-10-101-8/+7
|
* make --help work for "individual applets" too.Denis Vlasenko2007-10-071-1/+1
|
* libbusybox: move (possibly compressed) help stuff into libbusybox.Denis Vlasenko2007-10-072-116/+6
| | | | | Makes individual binaries much smaller.
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-011-1/+1
| | | | | 263 bytes saved.
* *: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko2007-09-241-1/+1
| | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
* remove stray 8-bit chars from copyright bannerDenis Vlasenko2007-09-201-2/+2
|
* busybox --install -s: prevent puzzling "/bin/busybox: Invalid argument" messageDenis Vlasenko2007-09-051-4/+3
| | | | | libbb: comment out realpath, add readlink which doesn't warn
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko2007-08-252-36/+53
| | | | | Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-0/+3
|
* fix out-of-source-tree buildDenis Vlasenko2007-08-121-1/+3
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-123-9/+9
| | | | | | | | | 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
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* introduce and use bb_basename()Denis Vlasenko2007-06-301-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-251-2/+1
| | | | <wharms@bfs.de>)
* applets/Kbuild: straighten it a bitDenis Vlasenko2007-06-142-9/+12
|
* *: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko2007-06-131-7/+7
| | | | | | | | | | | | correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Marginal size difference: text data bss dec hex filename 679119 2700 15632 697451 aa46b busybox_old 679091 2700 15632 697423 aa44f busybox_unstripped
* fix "--help prints usage for wrong applet" bugDenis Vlasenko2007-06-121-0/+1
|
* make busybox --install work even if /proc/self/exe doesn't existDenis Vlasenko2007-06-081-14/+6
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 680095 2704 15648 698447 aa84f busybox_old 680099 2704 15648 698451 aa853 busybox_unstripped
* use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko2007-05-311-0/+9
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+0
| | | | | *: s/include "busybox.h"/include "libbb.h"
* make "static linking against glibc" an #error, not #warningDenis Vlasenko2007-05-181-0/+1
|
* applets: fix compile-time warningDenis Vlasenko2007-05-041-1/+1
|
* fix suid config handlingDenis Vlasenko2007-05-021-14/+25
|
* make "busybox" w/o args work again, and save 10 bytes in the process.Denis Vlasenko2007-04-181-50/+52
|
* applet.c: ruid is needed only if FEATURE_SUID=yDenis Vlasenko2007-04-161-2/+2
|
* - we unconditionally need ruid. Fixes build error in line 334Bernhard Reutner-Fischer2007-04-161-2/+0
|
* lineedit: nuke two unused variables and code which sets themDenis Vlasenko2007-04-141-8/+18
| | | | | | applets: do not even try to read config if run by real root msh: use named constants (O_RDONLY etc) in open() instead of magic numbers, other minor code size reduction.