aboutsummaryrefslogtreecommitdiff
path: root/include/applets.h
AgeCommit message (Collapse)Author
2009-02-18- add flash_eraseallBernhard Reutner-Fischer
This is the result after converting mtd-utils' flash_eraseall to BB. The functionality given by this patch almost the same except that this one does not support long options. I needed this tool a system which does not have a lot of flash for RFS and merging this into BB as the only way out. [bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl function old new delta flash_eraseall_main - 1072 +1072 show_progress - 62 +62 packed_usage 25156 25176 +20 applet_names 1958 1973 +15 applet_main 2352 2360 +8 target_endian - 4 +4 applet_nameofs 588 590 +2 applet_install_loc 147 148 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes [bigeasy@]$ size miscutils/flash_eraseall.o text data bss dec hex filename 1586 4 0 1590 636 miscutils/flash_eraseall.o Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2009-01-31ionice: new applet, adapted from Linux kernel' example by Walter HarmsDenis Vlasenko
text data bss dec hex filename 1050316 924 10952 1062192 103530 busybox_old 1050758 924 10952 1062634 1036ea busybox_unstripped
2009-01-23tunctl: new applet by VladimirDenis Vlasenko
function old new delta tunctl_main - 371 +371 packed_usage 25669 25799 +130 applet_names 1981 1988 +7 applet_main 1192 1196 +4 applet_nameofs 596 598 +2 applet_install_loc 149 150 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 515/0) Total: 515 bytes
2008-12-04Fold mkpasswd applet into cryptpw.Denis Vlasenko
mkpasswd is in Debian, OTOH cryptpw was added to busybox earlier. Trying to make both camps happy by making those two applets just aliases. They are command-line compatible. We can decide whether we want to drop one (and which one) later. function old new delta cryptpw_main 183 314 +131 static.methods 21 - -21 packed_usage 25707 25648 -59 mkpasswd_main 307 - -307 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/1 up/down: 131/-387) Total: -256 bytes
2008-12-03- add new applet mkpasswd(1)Bernhard Reutner-Fischer
function old new delta bb_ask - 355 +355 mkpasswd_main - 296 +296 .rodata 121746 121847 +101 packed_usage 24632 24689 +57 static.methods - 21 +21 gmatch 229 248 +19 bb_ask_stdin - 11 +11 applet_names 1949 1958 +9 applet_main 1172 1176 +4 sulogin_main 503 505 +2 applet_nameofs 586 588 +2 sha256_hash 329 327 -2 correct_password 208 206 -2 parse_command 1442 1439 -3 get_cred_or_die 145 141 -4 passwd_main 1054 1044 -10 bb_askpass 348 - -348 ------------------------------------------------------------------------------ (add/remove: 4/1 grow/shrink: 7/5 up/down: 877/-369) Total: 508 bytes
2008-11-29acpid: new applet by Vladimir. +737 bytesDenis Vlasenko
2008-11-24timeout: new applet. 370 bytes. by Roberto Foglietta.Denis Vlasenko
2008-11-10sha256,sha512: new applets. +4.9kbDenis Vlasenko
we will require sha256/512 code for new $5$ and $6$ style password hashes anyway, they are showing up already in people's /etc/passwd...
2008-11-06total overhaul of mail applets. again. Vladimir as usual.Denis Vlasenko
2008-10-26devmem: new appletDenis Vlasenko
2008-10-24build system cleanup: rename FEATURE_AWK_MATH to FEATURE_AWK_LIBM;Denis Vlasenko
disable parsing test applet.
2008-10-20ash: fix NOEXEC mode - we were forgetting to pass environment!Denis Vlasenko
env: promote to NOEXEC hd: promote to NOEXEC, as hexdump is NOEXEC already
2008-10-12blkid: new applet. We almost had everything needed for it alreadyDenis Vlasenko
function old new delta display_uuid_cache - 89 +89 blkid_main - 8 +8 applet_names 1871 1877 +6 applet_main 1140 1144 +4 applet_nameofs 570 572 +2 packed_usage 24737 24735 -2 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/1 up/down: 109/-2) Total: 107 bytes
2008-09-28sendmail: update by VladimirDenis Vlasenko
2008-09-04- uncomment tc for nowBernhard Reutner-Fischer
2008-09-04- add WIP stub for tc.Bernhard Reutner-Fischer
Printing worked at some point. Modify/Delete needs some refacturing.
2008-08-20findfs: make it use setuid-ness of busybox binaryDenis Vlasenko
2008-08-19- add new applet rdev (Grant Erickson)Bernhard Reutner-Fischer
- fixes and shrink (me)
2008-08-17showkey: new applet by VladimirDenis Vlasenko
2008-08-17setfont: new applet by VladimirDenis Vlasenko
2008-07-19libbb: updated config_parse() from VladimirDenis Vlasenko
function old new delta config_read 385 460 +75 runsvdir_main 1701 1716 +15 readit 331 338 +7 passwd_main 1049 1053 +4 parse_command 1504 1507 +3 decode_format_string 822 824 +2 bb__parsespent 117 119 +2 udhcp_get_option 221 222 +1 changepath 196 194 -2 parse_inittab 400 396 -4 nameif_main 683 679 -4 make_device 1176 1172 -4 config_open 48 40 -8 expand_main 698 689 -9 readcmd 1012 1002 -10 config_free_data 37 21 -16 SynchronizeFile 683 643 -40 sleep_main 474 362 -112 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 8/10 up/down: 109/-209) Total: -100 bytes
2008-07-04modutils: optional modutils-small by Vladimir Dronnikov.Denis Vlasenko
15kb smaller than standard one. libbb/recursive_action.c: commented-out code for aborting the scan.
2008-06-27sendmail: update from maintainerDenis Vlasenko
2008-06-01ash: optional printf builtin. +25 bytes if off, +35 if on.Denis Vlasenko
by Cristian Ionescu-Idbohrn.
2008-05-26- add simple first-draft unoptimized depmod just to proove Vladimir ↵Bernhard Reutner-Fischer
Dronnikov wrong text data bss dec hex filename 569 0 0 569 239 modutils/depmod.o
2008-05-24inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>Denis Vlasenko
function old new delta inotifyd_main - 453 +453 packed_usage 24246 24450 +204 inotify_add_watch - 47 +47 inotify_init - 29 +29 mask_names - 13 +13 signal_handler 130 140 +10 applet_names 1859 1868 +9 applet_main 1132 1136 +4 applet_nameofs 566 568 +2 signalled 1 2 +1
2008-04-22whitespace fixes. no code changesDenis Vlasenko
2008-04-13make test, [ and [[ all NOFORK, for consistency.Denis Vlasenko
Revamp handling of NOUSAGE applets. function old new delta packed_usage 24122 24104 -18
2008-04-13man: new applet. ~600 bytes.Denis Vlasenko
2008-03-28fbsplash: move to /sbin; small shrinkDenis Vlasenko
function old new delta fb_drawprogressbar 413 423 +10 fbsplash_main 1146 1121 -25
2008-03-26patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ↵Denis Vlasenko
ads-lu.com> fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it function old new delta fbsplash_main - 1525 +1525 fb_drawfullrectangle - 118 +118 static.param_value - 100 +100 packed_usage 23776 23872 +96 applet_names 1843 1852 +9 applet_main 1120 1124 +4 read_line_input 3156 3158 +2 applet_nameofs 560 562 +2 applet_install_loc 140 141 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes text data bss dec hex filename 799233 641 7380 807254 c5156 busybox_old 801202 641 7380 809223 c5907 busybox_unstripped
2008-03-17volude_id: remove unused fields and functions which were setting themDenis Vlasenko
function old new delta uuidcache_init 567 704 +137 findfs_main - 125 +125 packed_usage 23662 23694 +32 static.drive_name_string - 14 +14 applet_names 1815 1822 +7 applet_main 1104 1108 +4 volume_id_open_node 35 38 +3 applet_nameofs 552 554 +2 get_devname_from_label 78 79 +1 applet_install_loc 138 139 +1 volume_id_set_label_unicode16 31 27 -4 volume_id_set_label_string 74 70 -4 get_devname_from_uuid 63 59 -4 fs1 12 8 -4 volume_id_set_unicode16 209 202 -7 volume_id_free_buffer 71 56 -15 free_volume_id 52 37 -15 volume_id_probe_luks 97 79 -18 volume_id_set_usage_part 21 - -21 volume_id_probe_ufs 148 126 -22 volume_id_probe_lsi_mega_raid 131 108 -23 volume_id_probe_highpoint_45x_raid 127 104 -23 volume_id_probe_highpoint_37x_raid 87 63 -24 volume_id_set_usage 28 - -28 volume_id_probe_romfs 121 93 -28 volume_id_set_label_raw 30 - -30 volume_id_probe_promise_fasttrack_raid 174 144 -30 volume_id_set_uuid 373 342 -31 volume_id_probe_xfs 122 91 -31 volume_id_probe_jfs 138 107 -31 volume_id_probe_ocfs2 139 107 -32 volume_id_probe_lvm1 90 58 -32 volume_id_probe_cramfs 106 63 -43 volume_id_probe_via_raid 145 101 -44 volume_id_probe_intel_software_raid 153 108 -45 volume_id_probe_minix 121 74 -47 volume_id_probe_udf 682 632 -50 volume_id_probe_nvidia_raid 158 108 -50 volume_id_probe_lvm2 128 78 -50 volume_id_probe_hpfs 117 67 -50 volume_id_probe_ext 143 93 -50 volume_id_probe_linux_raid 191 139 -52 volume_id_probe_sysv 244 187 -57 volume_id_probe_silicon_medley_raid 158 97 -61 usage_to_string 64 - -64 volume_id_probe_linux_swap 263 198 -65 volume_id_get_buffer 372 307 -65 volume_id_probe_iso9660 412 332 -80 volume_id_probe_hfs_hfsplus 888 806 -82 volume_id_probe_ntfs 396 294 -102 volume_id_probe_vfat 980 872 -108 volume_id_probe_reiserfs 417 268 -149 dev_get_major_minor 175 - -175 uuidcache_check_device 692 499 -193 volume_id_probe_mac_partition_map 697 - -697 ------------------------------------------------------------------------------ (add/remove: 2/6 grow/shrink: 8/39 up/down: 326/-2836) Total: -2510 bytes text data bss dec hex filename 797220 662 7420 805302 c49b6 busybox_old 794244 662 7420 802326 c3e16 busybox_unstripped
2008-03-17tftpd: new applet (mostly using existing code for tftp)Denis Vlasenko
function old new delta tftp_protocol - 1173 +1173 tftpd_main - 500 +500 tftp_option_get - 102 +102 packed_usage 23650 23662 +12 applet_names 1809 1815 +6 applet_main 1100 1104 +4 applet_nameofs 550 552 +2 tftp_main 302 301 -1 get_nport 32 - -32 tftp 1172 - -1172 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 4/1 up/down: 1799/-1205) Total: 594 bytes text data bss dec hex filename 796479 662 7420 804561 c46d1 busybox_old 797153 662 7420 805235 c4973 busybox_unstripped
2008-02-27script: new applet by Pascal Bellard <pascal.bellard AT ads-lu.com>Denis Vlasenko
2008-02-26ifenslave: new applet. closes bug 115.Denis Vlasenko
2008-02-24lpd: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>Denis Vlasenko
2008-02-24lpr,lpq: rework by dronnikov AT gmail.comDenis Vlasenko
2008-02-22lpr and lpq applets by Walter Harms.Denis Vlasenko
text data bss dec hex filename 392 0 0 392 188 lpq.o 1378 0 0 1378 562 lpr.o 142 0 0 142 8e parse_prt.o
2008-02-18chat: new applet by dronnikov AT gmail.com. With all options on:Denis Vlasenko
function old new delta chat_main - 1230 +1230 unescape - 135 +135 packed_usage 23802 23922 +120 signal_handler 123 131 +8 input_backward 123 128 +5 applet_names 1775 1780 +5 applet_main 1076 1080 +4 applet_nameofs 538 540 +2 exitcode - 1 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 6/0 up/down: 1510/0) Total: 1510 bytes
2008-02-15split some rtc funcs out of hwclock and into an rtc header/lib so that the ↵Mike Frysinger
new rtcwake applet as well as hwclock can utilize the same code
2008-02-15sendmail is lexically after selinux, so fix the orderMike Frysinger
2008-02-08sendmail: update from maintainerDenis Vlasenko
2008-01-28sendmail: new applet by dronnikov at gmail.comDenis Vlasenko
2008-01-13- new applet brctlBernhard Reutner-Fischer
text data bss dec hex filename 289 20 0 309 135 networking/brctl.o 335 23 0 358 166 networking/brctl-verbose-ops.o
2008-01-06tac: new applet. ~240 bytes.Denis Vlasenko
Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it>
2007-11-30test: stop using lots of bss.Denis Vlasenko
function old new delta test_main 425 456 +31 t_lex 69 73 +4 syntax 100 104 +4 ptr_to_statics 8 12 +4 t_wp_op 4 - -4 t_wp 4 - -4 ngroups 4 - -4 group_array 4 - -4 binop 590 585 -5 oexpr 104 97 -7 aexpr 101 94 -7 nexpr 831 820 -11 leaving 156 - -156 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 4/4 up/down: 43/-202) Total: -159 bytes text data bss dec hex filename 775098 929 9084 785111 bfad7 busybox_old 775107 933 8908 784948 bfa34 busybox_unstripped
2007-11-28reorganize applet table. Eliminates pointers to names.Denis Vlasenko
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
2007-11-25cttyhack should be in /bin, not /usr/binDenis Vlasenko
2007-11-23kill lash. "lash" builtin still exists, but it runs hush.Denis Vlasenko
2007-11-22sestatus: new SELinux applet (KaiGai Kohei <kaigai@ak.jp.nec.com>)Denis Vlasenko