aboutsummaryrefslogtreecommitdiff
path: root/libbb
Commit message (Collapse)AuthorAgeFilesLines
* apply five post-1.9.1 patchesGravatar Denis Vlasenko2008-03-211-1/+9
|
* Applied post 1.9.0 fixesGravatar Denis Vlasenko2008-02-121-2/+2
|
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Gravatar 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
* defconfig: updateGravatar Denis Vlasenko2007-12-241-4/+6
| | | | | | | appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
* perror_nomsg: don't print extra colonGravatar Denis Vlasenko2007-12-221-2/+4
| | | | | losetup: print name of loop device in error messages
* num conversions: allow for leading '+' (renice needs that)Gravatar Denis Vlasenko2007-12-111-5/+7
|
* lineedit: don't violate API if we do simple fgetsGravatar Denis Vlasenko2007-12-091-2/+4
| | | | | ash: cosmetic style fixes, no code changes
* signal names hack was wrong, it broke "get signal name" function.Gravatar Denis Vlasenko2007-12-041-43/+40
| | | | | Reverting :(
* Make signal table a bit smallerGravatar Denis Vlasenko2007-12-041-3/+6
| | | | | | get_signum 136 151 +15 signals 224 192 -32
* guard against SIGxxx >= 32 (no code changes on i386)Gravatar Denis Vlasenko2007-12-041-34/+39
|
* lineedit: reduce stack usageGravatar Denis Vlasenko2007-12-031-50/+43
| | | | | | | | | | | | | netstat: reduce stack usage; fix handling of NULs in unix socket filenames static.has_inode 1 - -1 do_info 119 116 -3 deinit_S 60 51 -9 unix_do_one 578 451 -127 parse_and_put_prompt 966 825 -141 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-281) Total: -281 bytes
* explain why we use mmap instead of mallocGravatar Denis Vlasenko2007-12-021-0/+2
|
* Introduce FEATURE_COPYBUF_KB.Gravatar Denis Vlasenko2007-12-022-8/+34
| | | | | | | | People who want smaller stack at any cost may use it to reduce cp's stack usage (FEATURE_COPYBUF_KB=1). Desktop people may get faster copy of big files (FEATURE_COPYBUF_KB=32 is ~30% faster than 4kb)
* test: stop using lots of bss.Gravatar Denis Vlasenko2007-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* Further optimize applet tables; prettify build outputGravatar Denis Vlasenko2007-11-292-8/+8
| | | | | | | text data bss dec hex filename 775923 929 9100 785952 bfe20 busybox_old 775565 929 9100 785594 bfcba busybox_unstripped
* reorganize applet table. Eliminates pointers to names.Gravatar Denis Vlasenko2007-11-283-56/+55
| | | | | | | | | 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
* which: fix testsuite failureGravatar Denis Vlasenko2007-11-251-1/+1
| | | | | | pidof: do not output empty line if nothing found testsuite: disable false positive
* Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:Gravatar Denis Vlasenko2007-11-141-3/+16
| | | | | | function old new delta str2sockaddr 328 344 +16
* lineedit: stop using both data/bss and tons of stack.Gravatar Denis Vlasenko2007-11-101-93/+166
| | | | | | | | | stack usage was ~10 kb! unfortunately, noticeable code size growth: text data bss dec hex filename 9252 12 181 9445 24e5 busybox.t7/libbb/lineedit.o 9714 4 0 9718 25f6 busybox.t8/libbb/lineedit.o
* syslogd: support "symlink to symlink" for /dev/log; reduce stack usageGravatar Denis Vlasenko2007-11-101-1/+1
| | | | | | | | | | | | function old new delta create_socket - 134 +134 syslogd_main 1132 865 -267 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 134/-267) Total: -133 bytes text data bss dec hex filename 775603 974 9420 785997 bfe4d busybox_old 775445 974 9420 785839 bfdaf busybox_unstripped
* - commentary fixesGravatar Bernhard Reutner-Fischer2007-11-081-11/+11
| | | | | | | - use common exit sequence for failure path: text data bss dec hex filename 308 0 0 308 134 libbb/xreadlink.o.pgf 296 0 0 296 128 libbb/xreadlink.o
* xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths,Gravatar Paul Fox2007-11-082-16/+23
| | | | | return full path in cases where path doesn't resolve to a link. change name to better differentiate from xmalloc_readlink().
* xreadlink: code shrinkGravatar Denis Vlasenko2007-11-081-17/+18
| | | | | | | | | | udhcp: add missing tryagain member to client_config function old new delta xmalloc_readlink_follow 169 154 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-15) Total: -15 bytes
* follow symlinks to find the true passwd file before updating.Gravatar Paul Fox2007-11-081-1/+6
|
* new xmalloc_readlink_follow() routine to fully expand trailing symlinksGravatar Paul Fox2007-11-081-0/+45
| | | | to get to a "real" file (or directory).
* login: clear dangerous environment variables if started by non-rootGravatar Denis Vlasenko2007-11-061-0/+26
|
* fbset: fix buglet where we were using wrong pointerGravatar Denis Vlasenko2007-11-063-6/+11
| | | | | | readahead: stop using stdio.h *: style fixes
* ifconfig: code shrinkGravatar Denis Vlasenko2007-11-041-0/+9
| | | | | | | | | | | adjtimex: code shrink libbb: move nth_string function into libbb hdparm: nth_string was here text data bss dec hex filename 730013 10334 12032 752379 b7afb busybox_old 730093 10134 12032 752259 b7a83 busybox_unstripped
* insmod: code shrink, stop exporting insmod_ng_main.Gravatar Denis Vlasenko2007-11-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta add_ksymoops_symbols - 421 +421 static.section_names 20 40 +20 lsmod_main 425 424 -1 set_tainted 153 150 -3 main_opts 4 - -4 obj_symbol_patch 47 42 -5 obj_string_patch 144 139 -5 already_loaded 144 138 -6 check_dep 348 341 -7 append_option 75 68 -7 obj_allocate_commons 515 501 -14 new_process_module_arguments 1039 1018 -21 arch_new_symbol 31 9 -22 check_module_name_match 85 61 -24 obj_create_alloced_section 164 136 -28 include_conf 930 902 -28 modprobe_main 1643 1535 -108 obj_load 924 777 -147 insmod_ng_main 245 - -245 insmod_main 4122 3794 -328 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 1/16 up/down: 441/-1003) Total: -562 bytes text data bss dec hex filename 776020 974 9420 786414 bffee busybox_old 775384 974 9420 785778 bfd72 busybox_unstripped
* appletlib.c: make it actally follow _BB_SUID_ALWAYS rulesGravatar Denis Vlasenko2007-10-292-11/+13
| | | | | | | | | | adduser: implement -S and code shrink / fix uid selection *: sanitize getspnam_r use text data bss dec hex filename 777042 974 9676 787692 c04ec busybox_old 776883 974 9676 787533 c044d busybox_unstripped
* syscall: code shrinkGravatar Denis Vlasenko2007-10-291-2/+6
| | | | | | | text data bss dec hex filename 777209 974 9676 787859 c0593 busybox_old 777042 974 9676 787692 c04ec busybox_unstripped
* bb_askpass: handle Ctrl-C, restore termoios on Ctrl-C.Gravatar Denis Vlasenko2007-10-201-17/+19
| | | | | | | | | | sulogin: remove alarm handling, as it is redundant there. code shrink. After all differences cancel out: text data bss dec hex filename 777543 1000 9532 788075 c066b busybox_old 777543 1000 9532 788075 c066b busybox_unstripped
* read_line_input: fix it to not do any fancy editing if echoing is disabled.Gravatar Denis Vlasenko2007-10-201-2/+10
| | | | | | | | | | | | | | 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
* ping: fix breakage from -I fixGravatar Denis Vlasenko2007-10-202-0/+43
| | | | | passwd: SELinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>
* kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com>Gravatar Denis Vlasenko2007-10-201-1/+1
| | | | | | | | | | | | | 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
* xatonum.h: add commentGravatar Denis Vlasenko2007-10-181-1/+1
| | | | | | | lineedit: fix typo in comment httpd: support for proxying connection to other http server (by Alex Landau <landau_alex@yahoo.com>)
* another fix for build failure found by randomconfigGravatar Denis Vlasenko2007-10-171-0/+1
|
* even more fixes from randomconfig runsGravatar Denis Vlasenko2007-10-161-0/+1
|
* remove trailing whitespaceGravatar Denis Vlasenko2007-10-141-1/+1
|
* fix a problem with two different applet_name'sGravatar Denis Vlasenko2007-10-111-2/+3
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-3/+3
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* Move applets/applet.c into libbb, allows to get rid of --whole-archiveGravatar Denis Vlasenko2007-10-101-4/+549
| | | | | (smaller code). Tested in static and shared mode.
* get rid of global "struct bb_applet *current_applet"Gravatar Denis Vlasenko2007-10-102-8/+7
|
* whitespace fixGravatar Denis Vlasenko2007-10-081-1/+1
|
* add libbb/appletlib.cGravatar Denis Vlasenko2007-10-081-0/+139
|
* libbusybox: move (possibly compressed) help stuff into libbusybox.Gravatar Denis Vlasenko2007-10-071-0/+1
| | | | | Makes individual binaries much smaller.
* printf("%s\n") -> puts()Gravatar Denis Vlasenko2007-10-011-1/+1
|
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Gravatar Denis Vlasenko2007-10-018-10/+20
| | | | | 263 bytes saved.
* introduce and use close_on_exec_on(fd). -50 bytes.Gravatar Denis Vlasenko2007-09-301-0/+5
|
* print_signames_and_exit -> print_signames (because of "ash calls kill_main")Gravatar Denis Vlasenko2007-09-301-2/+1
|