summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-18- make it compile and shrink it a little bit (~-110 bytes)Bernhard Reutner-Fischer
text data bss dec hex filename 1533 4 0 1537 601 miscutils/flash_eraseall.o.old 1415 4 0 1419 58b miscutils/flash_eraseall.o - add some FIXMEs
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-02-16- PPMs can have comments in the header.Bernhard Reutner-Fischer
Thanks to Denys for pointing that out. (~+7b)
2009-02-15ash: make dot command search current directory first, as bash does.Denis Vlasenko
2009-02-15Make "shadowed" numeric config entries (ones which depend onDenis Vlasenko
other options which are off) to have the value of 0, not "".
2009-02-15volume_id: abort early on read failures.Denis Vlasenko
should help with probing missing fdd's
2009-02-14init: fix compile breakage with '# CONFIG_FEATURE_KILL_REMOVED is not set'Denis Vlasenko
runsvdir.c: fix typo in comment
2009-02-14- improve wordingBernhard Reutner-Fischer
2009-02-14- improve helptextBernhard Reutner-Fischer
2009-02-14- misc untested shrinkage:Bernhard Reutner-Fischer
$ ./scripts/bloat-o-meter _bb_un.oorig busybox_unstripped function old new delta fbsplash_main 595 985 +390 fb_drawimage 493 - -493 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 390/-493) Total: -103 bytes $ size miscutils/fbsplash.o* text data bss dec hex filename 2019 0 0 2019 7e3 miscutils/fbsplash.o.oorig 1857 0 0 1857 741 miscutils/fbsplash.o.new
2009-02-14- improve helptext of obsolete devfs stuff..Bernhard Reutner-Fischer
2009-02-14- cosmetic typo in helptextBernhard Reutner-Fischer
2009-02-14killall and sestatus also need ARGVN scanningDenis Vlasenko
2009-02-13mdev: if /sys/class/block exists, don't scan /sys/blockDenis Vlasenko
2009-02-07function old new deltaDenis Vlasenko
kill_main 706 884 +178
2009-02-05httpd: tiny optimizationDenis Vlasenko
2009-02-04httpd:Denis Vlasenko
Kill config options by making them always on: FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES This makes httpd.c remotely readable - it had ~125 #ifdefs, now it has ~100. The growth on a .config with all FEATURE_HTTPDs off is: function old new delta send_file_and_exit - 269 +269 parse_conf 683 763 +80 free_llist - 32 +32 httpd_main 427 454 +27 sighup_handler - 15 +15 handle_incoming_and_exit 1110 905 -205 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 2/1 up/down: 423/-205) Total: 218 bytes
2009-02-04sendmail: remove erroneous usage linesDenis Vlasenko
2009-02-03crond,crontab: make cron directory location configurableDenis Vlasenko
2009-02-02telnetd: do not advertise TELNET_LFLOW, we do not supportDenis Vlasenko
it properly.
2009-02-02udhcpd: add code which rejects lease files with suspicious or old timestamp.Denis Vlasenko
*: s/time(0)/time(NULL)/g
2009-02-02login: small simplification by Walter Harms. -10 bytesDenis Vlasenko
2009-02-02login: cleanup work by Walter Harms. No logic changes.Denis Vlasenko
2009-02-01dhcpd,dumpleases: write and use 64-bit current time in lease file.Denis Vlasenko
without it, determination of remaining lease time is unreliable. Yes, it's costly in code size, but without it, dumpleases output is misleading! function old new delta read_leases 143 282 +139 dumpleases_main 447 572 +125 write_leases 193 233 +40 hton64 29 58 +29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 333/0) Total: 333 bytes
2009-01-31modutils-24: code shrinkDenis Vlasenko
function old new delta helper_create_alloced_section - 117 +117 print_load_map 474 450 -24 bb_init_module_24 4615 4545 -70 obj_create_alloced_section 131 30 -101 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 117/-195) Total: -78 bytes
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-31brctl: fix compilation on 2.4.x kernelsDenis Vlasenko
2009-01-31init: remove wait() loop on restart, it may be dangerousDenis Vlasenko
2009-01-31init: fix a bug where on reload order of entries might be wrongDenis Vlasenko
function old new delta run_shutdown_and_kill_processes - 97 +97 pause_and_low_level_reboot - 48 +48 run_actions 81 107 +26 restart_handler 56 81 +25 new_init_action 137 150 +13 run 576 579 +3 open_stdio_to_tty 110 98 -12 check_delayed_sigs 195 170 -25 waitfor 354 318 -36 low_level_reboot 53 - -53 kill_all_processes 115 - -115 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 4/3 up/down: 212/-241) Total: -29 bytes
2009-01-31modutils-24: use xasprintf and xzalloc where appropriate,Denis Vlasenko
remove unreachanble code build system: correct some dependencies in config system init: convert one #if into if() - for Rob. function old new delta obj_string_patch 136 129 -7 bb_init_module_24 4759 4615 -144 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-151) Total: -151 bytes
2009-01-31init: small correction in a commentDenis Vlasenko
2009-01-31init: major improvement in documentation and signal handling.Denis Vlasenko
Lots of nasty, but hard to trip, races are fixed. text data bss dec hex filename 1038828 924 10932 1050684 10083c busybox_old 1038787 924 10932 1050643 100813 busybox_unstripped
2009-01-31init: preparatory patch, no code changesDenis Vlasenko
2009-01-29init: reinstate proper handling of !ENABLE_FEATURE_USE_INITTABDenis Vlasenko
2009-01-28init: reduce ifdef forest (specially for Rob's happiness)Denis Vlasenko
2009-01-27- be gentle to syntax highlightingBernhard Reutner-Fischer
2009-01-27- update Michele addressBernhard Reutner-Fischer
2009-01-25awk: in BEGIN section $0 should be "", not "0".Denis Vlasenko
2009-01-24traceroute: allow -w NUM as small as 1Denis Vlasenko
2009-01-24traceroute: rewrite. Do not emit raw IP packets, instead send UDP or ICMPDenis Vlasenko
packets and rely on the kernel to form IP headers, select source IP and interface. Doing it in traceroute wasn't working too good, and was bloating it. function old new delta freehostinfo 29 - -29 setsin 30 - -30 in_cksum 57 - -57 gethostinfo 165 - -165 ifaddrlist 364 - -364 traceroute_main 3713 2951 -762 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 0/1 up/down: 0/-1407) Total: -1407 bytes
2009-01-24traceroute: preparatory trivial cleanupsDenis Vlasenko
function old new delta traceroute_main 3932 3713 -219
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
2009-01-22- add CONFIG_EXTRA_CFLAGS (thanks to keesj)Bernhard Reutner-Fischer
This helps with remembering additional flags like e.g. cpu settings for people who did not configured their compiler to produce code for their cpu per default.
2009-01-20tar: stop changing net tarfile's mode, GNU tar doesn't do itDenis Vlasenko
2009-01-19uname: use wider integer for option bitsDenis Vlasenko
2009-01-19uname: add support for -i and -o, fix printing of unknown -pDenis Vlasenko
value with -a option function old new delta uname_main 166 185 +19 utsname_offset 12 16 +4 options 621 623 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 25/0) Total: 25 bytes
2009-01-14dhcpc: suppress "warning: 'timestamp_before_wait' might be used uninitializedDenis Vlasenko
2009-01-13libbb: shrink linked list ops (by xmaks AT email.cz)Denis Vlasenko
function old new delta llist_pop 33 29 -4 llist_unlink 47 28 -19 llist_add_to_end 50 31 -19 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-42) Total: -42 bytes
2009-01-12depmod: fix -b option (by timo.teras AT iki.fi)Denis Vlasenko
function old new delta xfreopen_write - 35 +35 parse_module 346 353 +7 depmod_main 553 546 -7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 42/-7) Total: 35 bytes
2009-01-12adduser: allow adding to group 0; don't _create_ /etc/shadow,Denis Vlasenko
only append data if it exists. function old new delta adduser_main 642 667 +25