aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-20read_line_input: fix it to not do any fancy editing if echoing is disabled.Denis Vlasenko
ash: make read handling both more correct and smaller read_line_input 4037 4101 +64 input_backward 140 139 -1 readcmd 1079 1070 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 65/-10) Total: 54 bytes text data bss dec hex filename 777575 1000 9532 788107 c068b busybox_old 777629 1000 9532 788161 c06c1 busybox_unstripped
2007-10-20more fixes for help text wrt long optionsDenis Vlasenko
2007-10-20website: add link to "No ifup" documentDenis Vlasenko
2007-10-20ping: fix breakage from -I fixDenis Vlasenko
passwd: SELinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>
2007-10-20kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com>Denis Vlasenko
kbd_mode_main - 189 +189 packed_usage 22745 22833 +88 applets 3132 3144 +12 static.opts 7 12 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 294/0) Total: 294 bytes text data bss dec hex filename 777210 1000 9532 787742 c051e busybox_old 777575 1000 9532 788107 c068b busybox_unstripped
2007-10-19mkswap: selinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>Denis Vlasenko
2007-10-19paing: make -I ethN work too (-I addr already worked)Denis Vlasenko
2007-10-19unzip: add a comment explaining why we don't dieDenis Vlasenko
2007-10-18unzip: fix endianness bugsDenis Vlasenko
2007-10-18httpd: free big buffer after use; improve grep-ability of 'headers' variableDenis Vlasenko
2007-10-18xatonum.h: add commentDenis Vlasenko
lineedit: fix typo in comment httpd: support for proxying connection to other http server (by Alex Landau <landau_alex@yahoo.com>)
2007-10-18more of usage text fixes wrt long optionsDenis Vlasenko
2007-10-18exclude --longopts from usage texts if those are disabledDenis Vlasenko
2007-10-18snv add setseboolDenis Vlasenko
2007-10-17telnetd: make sure telnetd -K exits if child diesDenis Vlasenko
2007-10-17telnetd: trivial optimizationDenis Vlasenko
2007-10-17ash: use fdprintf, not dprintf.Denis Vlasenko
*: trailing whitespace removed
2007-10-17bzip2: more of code shrinkDenis Vlasenko
compressStream 503 473 -30 BZ2_bzCompress 78 - -78 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-108) Total: -108 bytes text data bss dec hex filename 676300 2538 12104 690942 a8afe busybox_old 676192 2538 12104 690834 a8a92 busybox_unstripped
2007-10-17another fix for build failure found by randomconfigDenis Vlasenko
2007-10-16even more fixes from randomconfig runsDenis Vlasenko
2007-10-16fixes revealed by randomconfig runDenis Vlasenko
2007-10-16telnetd: fix commentDenis Vlasenko
2007-10-16telnetd: code shrink suggested by Ralf Friedl <Ralf.Friedl@online.de>Denis Vlasenko
2007-10-16bzip2: move state pointer to the offset 0 (smaller code)Denis Vlasenko
ifdef out DecompressEnd if FEATURE_CLEAN_UP is not seleted fallbackSort 1655 1672 +17 mainSort 2447 2458 +11 bzip2_main 109 119 +10 .rodata 123466 123469 +3 generateMTFValues 433 435 +2 handle_compress 355 356 +1 BZ2_bzCompress 79 78 -1 prepare_new_block 55 48 -7 compressStream 547 503 -44 sendMTFValues 2225 2140 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/4 up/down: 44/-137) Total: -93 bytes text data bss dec hex filename 676421 2538 12104 691063 a8b77 busybox_old 676328 2538 12104 690970 a8b1a busybox_unstripped
2007-10-16bzip2: make -s equivalent to -2 (compatible with standard bzip2)Denis Vlasenko
telnetd: typo fix in comment
2007-10-15telnetd: at Alexander Kriegisch <Alexander@kriegisch.name> insistenceDenis Vlasenko
add an option to close sessions as soon as child exits. Maybe it should be a CONFIG option. OTOH, maybe it should be always on, as it mimics, say, getty's behaviour. function old new delta handle_sigchld - 49 +49 telnetd_main 1312 1355 +43 .rodata 123429 123466 +37 packed_usage 22770 22806 +36 make_new_session 525 532 +7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 172/0) Total: 172 bytes text data bss dec hex filename 676285 2538 12104 690927 a8aef busybox_old 676421 2538 12104 691063 a8b77 busybox_unstripped
2007-10-15telnetd: document bug in remove_iacs. reinstate band-aidDenis Vlasenko
which was making it near-impossible to trigger. remove memmove call which was happening at each network read, and in 99%+ cases was not needed. Unfortunately, +50 bytes.
2007-10-15telnetd: some simplifications and better error hadling.Denis Vlasenko
telnetd: don't SIGKILL child when closing the session. kernel will seng SIGHUP for us. static.iacs_to_send - 15 +15 .rodata 123418 123429 +11 make_new_session 549 525 -24 send_iac 26 - -26 free_session 144 118 -26 telnetd_main 1303 1261 -42 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/3 up/down: 26/-118) Total: -92 bytes text data bss dec hex filename 676341 2538 12104 690983 a8b27 busybox_old 676234 2538 12104 690876 a8abc busybox_unstripped
2007-10-14bzip2: update help textDenis Vlasenko
2007-10-14bzip2: implement -1..-9 command line flagsDenis Vlasenko
2007-10-14bzip2: eliminate some divisionsDenis Vlasenko
2007-10-14remove trailing whitespaceDenis Vlasenko
2007-10-14setsebool: new applet (Yuichi Nakamura <ynakam@hitachisoft.jp>)Denis Vlasenko
2007-10-14httpd: fix bug where we were trying to read more POSTDATA than content-lengthDenis Vlasenko
2007-10-14bzip2: code size shrinkDenis Vlasenko
2007-10-14bzip2: remove files which are not used anymoreDenis Vlasenko
2007-10-14bzip2: size reduction, to just below 9k.Denis Vlasenko
2007-10-13bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko
in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
2007-10-11whitespace/style fixDenis Vlasenko
2007-10-11mt: eliminate vector of structures with pointers (bad for libbusybox).Denis Vlasenko
It's a win for static build too: function old new delta opcode_name - 213 +213 opcode_value - 68 +68 mt_main 281 256 -25 opcodes 280 - -280 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/1 up/down: 281/-305) Total: -24 bytes text data bss dec hex filename 767403 974 9420 777797 bde45 busybox_old 767224 974 9420 777618 bdd92 busybox_unstripped
2007-10-11stty: incorporate strings into struct instead of keeping pointers there.Denis Vlasenko
static: text data bss dec hex filename 767535 974 9420 777929 bdec9 busybox_old 767403 974 9420 777797 bde45 busybox_unstripped dynamic -fpic: text data bss dec hex filename 718954 14030 12032 745016 b5e38 busybox_old 720278 12534 12032 744844 b5d8c busybox_unstripped
2007-10-11vi: don't wait 50 ms before reading ESC sequencesDenis Vlasenko
inetd,syslogd: use safe_read instead of open-coded EINTR handling syslogd: bail out if you see null read from Unix socket (should never happen, but if it does, spinning forever and eating 100% CPU is not a good idea)
2007-10-11trim too verbose help textsDenis Vlasenko
2007-10-11fix a problem with two different applet_name'sDenis Vlasenko
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-11add -fpic to CC flags when we build libbusybox (14% smaller .so)Denis Vlasenko
2007-10-10bunzip: small code shrink and consmeticsDenis Vlasenko
read_bunzip 276 283 +7 get_bits 184 162 -22 get_next_block 1833 1810 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 7/-45) Total: -38 bytes
2007-10-10ip tunnel parameter parsing fix by Jean Wolter <jw5@os.inf.tu-dresden.de>Denis Vlasenko
2007-10-10Move applets/applet.c into libbb, allows to get rid of --whole-archiveDenis Vlasenko
(smaller code). Tested in static and shared mode.
2007-10-10get rid of global "struct bb_applet *current_applet"Denis Vlasenko