aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * rfkill: use new-style config/kbuild/appletDenys Vlasenko2013-11-204-14/+17
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tar: prevent empty file to be treated as valid tarballDenys Vlasenko2013-11-192-3/+35
| | | | | | | | | | | | | | function old new delta tar_main 879 895 +16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix a copy/paste error in last tar testcase nameDenys Vlasenko2013-11-191-2/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tar: add a testcase for previous commitDenys Vlasenko2013-11-191-0/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tar: fix exitcode check for MMU-spawned unpacking helpersDenys Vlasenko2013-11-192-9/+10
| | | | | | | | | | | | | | | | | | | | Testcase: tar xvzf EMPTY_FILE function old new delta open_transformer 102 106 +4 get_header_tar 1781 1785 +4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: move nuke_str() from passwd into libbbDenys Vlasenko2013-11-194-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta nuke_str - 15 +15 ask_and_check_password_extended 215 206 -9 init_main 781 771 -10 nuke_str 27 - -27 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/2 up/down: 15/-46) Total: -31 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * comment tweakDenys Vlasenko2013-11-191-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sulogin: use common password-checking routine.Denys Vlasenko2013-11-196-47/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This needed some extensions correct_passwd() function, which got renamed ask_and_check_password() to better describe what it does. function old new delta ask_and_check_password_extended - 215 +215 ask_and_check_password - 12 +12 vlock_main 394 397 +3 sulogin_main 494 326 -168 correct_password 207 - -207 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/1 up/down: 230/-375) Total: -145 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: move "config:" snippets into .c filesDenys Vlasenko2013-11-1413-353/+349
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: move "applet:" snippets into .c files, part 2Denys Vlasenko2013-11-144-8/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: move "applet:" snippets into .c filesDenys Vlasenko2013-11-1412-20/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: move "kbuild:" snippets into .c filesDenys Vlasenko2013-11-1413-26/+35
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * switch editors/* to embedded-in-source kbuild systemDenys Vlasenko2013-11-137-53/+61
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * awk: optionally support -e AWK_PROGSven-Göran Bergh2013-11-124-42/+84
| | | | | | | | | | | | | | | | function old new delta awk_main 959 978 +19 Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fstrim: use new-style config/kbuild/applet snippets; trim help textDenys Vlasenko2013-11-124-21/+22
| | | | | | | | | | | | | | function old new delta packed_usage 29546 29520 -26 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcp: add PXELINUX config file option (code 209) definitionJeremy Kerr2013-11-122-2/+5
| | | | | | | | | | | | | | | | | | This change adds a definition for DHCP option 209. RFC 5071 defines code 209 as a configuration file for a PXE bootloader; this change uses the string "pxeconffile" as its text identifier. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix "warning: ISO C90 forbids mixed declarations and code"Denys Vlasenko2013-11-121-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix bashisms in testsuite/Michael Tokarev2013-11-104-14/+12
| | | | | | | | | | | | | | | | | | These places use ${var/search/replace}, $((n++) and `type -p' constructs which are not-so-standard. Replace with equivalent constructs. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * fstrim: Needs to fire at the mp, not bdBernhard Reutner-Fischer2013-11-101-5/+5
| | | | | | | | | | | | | | It's a filesystem thing from this perspective. +1b Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * fstrim: Indicate failure on errorBernhard Reutner-Fischer2013-11-101-1/+2
| | | | | | | | | | | | +14b Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * fstrim: -17bBernhard Reutner-Fischer2013-11-091-8/+5
| | | | | | | | | | | | | | | | | | Also, use the name of the block device we found, not necessarily the one we got from the user: fstrim -v / /dev/sdj: 4711 bytes were trimmed Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * fstrim: New appletMalek Degachi2013-11-094-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fstrim applet is a port from util-linux. "Trimming" your NAND/eMMC storage will restore the write performance back to normal after having slow down issues on sequential write and random write due to usage over time. Good reading on subject: http://forum.xda-developers.com/showthread.php?t=1971852 (with long options and CLEAN_UP turned on) function old new delta .rodata 148494 148791 +297 fstrim_main - 283 +283 fstrim_sfx - 128 +128 packed_usage 28826 28903 +77 applet_main 2760 2768 +8 applet_names 2343 2350 +7 applet_nameofs 690 692 +2 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 802/0) Total: 802 bytes Signed-off-by: Malek Degachi <malek-degachi@laposte.net> Cc: Eugene San (eugenesan) <eugenesan@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ash: Set SHLVL in ASH_BASH_COMPATBernhard Reutner-Fischer2013-11-081-1/+4
| | | | | | | | | | | | | | | | | | | | function old new delta ash_main 1456 1505 +49 .rodata 148488 148494 +6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 55/0) Total: 55 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ash: Use setvar2 some moreBernhard Reutner-Fischer2013-11-081-7/+6
| | | | | | | | | | | | (add/remove: 0/0 grow/shrink: 10/15 up/down: 13/-27) Total: -14 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * swaponoff: shrinkBernhard Reutner-Fischer2013-11-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | function old new delta .rodata 148469 148468 -1 swap_on_off_main 381 379 -2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-3) Total: -3 bytes text data bss dec hex filename 803030 4090 9504 816624 c75f0 busybox_old 803027 4090 9504 816621 c75ed busybox_unstripped
| * udhcpc: allow zero server-id. Closes 6614.Denys Vlasenko2013-11-031-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bcast_or_ucast - 47 +47 udhcp_send_kernel_packet 271 295 +24 udhcpc_main 2696 2705 +9 udhcp_send_raw_packet 456 459 +3 send_release 90 76 -14 send_renew 105 77 -28 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/2 up/down: 83/-42) Total: 41 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * init: fix illegal memory access when max message length is reachedYuan-Hsiang Lee2013-11-031-2/+2
| | | | | | | | | | Signed-off-by: Yuan-Hsiang Lee <yhlee@ubnt.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bootchartd: warn if .config looks wrongDenys Vlasenko2013-11-031-0/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Makefile.custom: make "make release" delete .gitignore files tooDenys Vlasenko2013-11-021-0/+4
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: fix "sed clusternewline" testcaseDenys Vlasenko2013-10-302-69/+67
| | | | | | | | | | | | | | | | | | | | | | function old new delta process_files 2197 2226 +29 flush_append 47 54 +7 get_next_line 184 189 +5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 41/0) Total: 41 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: document -E in help textDenys Vlasenko2013-10-301-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: fix memory leak in 'r FILE' commandDenys Vlasenko2013-10-301-4/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: accept -E as a synonym for -rDavid A. Wheeler2013-10-291-4/+10
| | | | | | | | | | Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcpc: make DHCP packets to have at least 300 DHCP bytesJohannes Stezenbach2013-10-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b8b72f02 removed all padding from DHCP packets to fix operation with buggy servers which can't handle maximum sized packets. But it introduced a regression with buggy routers which drop DHCP packets smaller than 300 bytes (i.e. 342 byte ethernet packets). Add back some padding to work around. function old new delta udhcp_send_kernel_packet 268 292 +24 udhcp_send_raw_packet 462 473 +11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 35/0) Total: 35 bytes Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: use <poll.h> instead of <sys/poll.h>Thomas Petazzoni2013-10-165-6/+2
| | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bloat-o-meter: add usage infoBartosz Golaszewski2013-10-162-10/+16
| | | | | | | | | | Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tail compat: fix header printing for tail -fBartosz Golaszewski2013-10-162-6/+4
| | | | | | | | | | | | | | | | Makes tail -f for multiple files display the header only if another (ie. not currently displayed) file changed. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: if FEATURE_CLEAN_UP, free(ptr_to_globals)Guilherme Maciel Ferreira2013-10-162-0/+13
| | | | | | | | | | Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Fix some compiler warnings emitted by gcc-4.8.0Denys Vlasenko2013-10-164-9/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ether-wake: shorten help text, reduce packet buffer sizeDenys Vlasenko2013-10-141-9/+10
| | | | | | | | | | | | | | | | function old new delta ether_wake_main 726 727 +1 packed_usage 29468 29434 -34 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: add support for connect timeoutLauri Kasanen2013-10-122-10/+30
| | | | | | | | | | | | | | | | | | function old new delta open_socket 33 64 +31 wget_main 2182 2194 +12 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * init: better --help textDenys Vlasenko2013-10-121-6/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * awk: fix length(array)Denys Vlasenko2013-10-122-1/+14
| | | | | | | | | | | | | | function old new delta evaluate 3526 3548 +22 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wall,crontab: use xopen_as_uid_gid()Ryan Mallon2013-10-082-31/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a narrow security race in crontab. function old new delta xopen_as_uid_gid - 80 +80 seteuid - 64 +64 setegid - 64 +64 setreuid - 37 +37 xseteuid - 22 +22 xsetegid - 22 +22 crontab_main 590 577 -13 setfsuid 33 - -33 setfsgid 33 - -33 wall_main 138 102 -36 open_as_user 109 - -109 text data bss dec hex filename 893539 497 7568 901604 dc1e4 busybox_old 893618 497 7568 901683 dc233 busybox_unstripped Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: Add xsetegid(), xseteuid(), xopen_as_uid_gid() functionsRyan Mallon2013-10-082-12/+42
| | | | | | | | | | Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bunzip2: fix off-by-one checkDenys Vlasenko2013-10-061-8/+18
| | | | | | | | | | | | | | | | | | | | | | stage3-armv7a_hardfp-20130209.tar.bz2, 149189948 bytes long, md5sum b29ce23312e14eb15a143377d4a38473, was failing to unpack. It so happened that this file has a run which exactly fills the 90k buffer. The check was "size >= bufsize", apparently it has to be ">". Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wall: access FILE under real user's credentialsDenys Vlasenko2013-10-064-11/+24
| | | | | | | | | | | | | | | | | | | | While at it, move applet/config/kbuild bits into wall.c. (This way, it's more visible that applet is suid'ed). function old new delta wall_main 87 138 +51 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * trylink: only prefix libs with -lMike Frysinger2013-09-281-3/+3
| | | | | | | | | | | | | | | | | | If our pkg-config queries pass back a flag like -pthread, the trylink script will expand that to -l-pthread. So change trylink to only add the -l prefix to a value that doesn't have a - prefix already. Reported-by: thaehaid@incognitomail.org Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * loadkmap: explain what happens with K_ALLOCATED key valueDenys Vlasenko2013-09-191-8/+19
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * httpd: make sire pfd[TO_CGI].revents is cleared before poll()Denys Vlasenko2013-09-181-5/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>