Denis Vlasenko | 99fcc625233 | find: style fix | | |
Denis Vlasenko | aba7f49a228 | ps: revert wrong "optimization": (i & 1) -> i | | |
Denis Vlasenko | e6bce979bfc | fix comment placement (no code changes) | | |
Denis Vlasenko | c82b5108e1a | udhcp: new config option "Rewrite the lease file at every new acknowledge"
(Mats Erik Andersson <mats@blue2net... | | |
Denis Vlasenko | dc7a5eae36d | ps: fix "unused variable" warning; fix integer variable declared as char. | | |
Denis Vlasenko | 16b7cb455d9 | web site: announce 1.6.1 | | |
Denis Vlasenko | 8239f7ecb88 | bump version to 1.6.1 | | |
Denis Vlasenko | 52c886144fd | bump version to 1.6.1 | | |
Denis Vlasenko | 32a66a8e936 | wget: fix buffer overflow in HTTP auth | | |
Denis Vlasenko | 98ebab8b768 | top,ps: improve /proc/PID/cmdinfo reading code
function old new de... | | |
Denis Vlasenko | 8b1409896d3 | add bb_basename.c | | |
Denis Vlasenko | dc757aa16ce | introduce and use bb_basename()
function old new delta
bb_basename... | | |
Denis Vlasenko | f7d07b1723c | killall, pidof: use argv0 for process matching too
top: show cmdline, not comm field
(fixes problems with re-execed a... | | |
Denis Vlasenko | 42ee26d00cc | procps: shrink /proc scanning code a bit
function old new delta
sk... | | |
Mike Frysinger | ae7f7ebcb76 | document firmware support | | |
Denis Vlasenko | 12d2129d500 | wget: fix bug in base64 encoding (bug 1404). +10 bytes. | | |
Denis Vlasenko | c965f4b1419 | devfsd: style cleanup; size reduction (Tito <farmatito@tiscali.it>)
traceroute: suppress warning | | |
Denis Vlasenko | e8240f19bd9 | uuencode: shrink
function old new delta
uuencode_main ... | | |
Denis Vlasenko | 1fc6238ffab | devfsd: fix formatting (Tito <farmatito@tiscali.it>)
ash: fix SEGV if type has zero parameters | | |
Bernhard Reutner-Fischer | 4bbeebd6668 | - pull fixes from trunk | | |
Denis Vlasenko | 80b8b39899a | Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>) | | |
Bernhard Reutner-Fischer | 1399282b47b | - need to pass the PATH down to the gcc-version check to be able to find the correct cc.
Fixes make PATH="$CROSS_BI... | | |
Denis Vlasenko | 88308fec804 | test: suppress gcc warning
telnetd: do not use suferfluous static variable. | | |
Denis Vlasenko | 56258b688cc | httpd: NOMMU fixes by Alex Landau <landau_alex@yahoo.com> | | |
Denis Vlasenko | 198badafd82 | pidof: size optimizations (-50 bytes) | | |
Bernhard Reutner-Fischer | 118b81df76b | - handy to have the cross_compile block here, too | | |
Denis Vlasenko | 2ee028dd5b6 | syslogd: do not convert tabs to ^I | | |
Denis Vlasenko | b304eadca8c | test: shrink a bit
function old new delta
test_main ... | | |
Denis Vlasenko | d67a6064893 | build system: remove kernel .config locations (spotted by walter harms <wharms@bfs.de>) | | |
Denis Vlasenko | 931de892cc1 | random shrinkage of statics, -60 bytes saved | | |
Denis Vlasenko | a80b4a0fa74 | tar: improve OLDGNU compat, make old SUN compat configurable | | |
Bernhard Reutner-Fischer | 9a337801521 | - add ATTRIBUTE_UNUSED_RESULT for internal use | | |
Bernhard Reutner-Fischer | b7e61485d62 | since we removed the deprecated matches() now and thus not alot of warnings are currently seen, let's strive to fixup... | | |
Bernhard Reutner-Fischer | 789b87edf57 | - remove matches() from networking/. Untested.
text data bss dec hex filename
1705 0 ... | | |
Denis Vlasenko | 833358798af | slattach: code shrink (Bernhard Fischer <rep.dot.nop@gmail.com>) | | |
Denis Vlasenko | 88976d00d8e | remove extra ')' | | |
Denis Vlasenko | 14923db72fe | slattach: new applet. | | |
Bernhard Reutner-Fischer | cd0e80ce902 | - move iprule and ipaddress from matches() to index_in_str_array
text data bss dec hex filename
... | | |
Denis Vlasenko | 75103841072 | do not do utime() on links, it acts on link targets, and we don't want that.
rename link_name to link_target, less co... | | |
Bernhard Reutner-Fischer | 761ce14fd26 | - remove another user of the deprecated matches() func by moving it to use index_in_str_array. Untested.
text d... | | |
Bernhard Reutner-Fischer | ee921393a51 | - do not hardcode HOSTCFLAGS to gcc specific flags. Fixes errors when not using gcc as HOSTCC | | |
Bernhard Reutner-Fischer | bb0baed5644 | - strndupa is a GNU extension. Using strdup to avoid several errors like:
util-linux/mdev.c:(.text+0x29a): undefine... | | |
Denis Vlasenko | bb98db2ed21 | echo: fix yet another buglet in non-fancy echo | | |
Denis Vlasenko | 5ad1048c3d1 | ping: fix incorrect handling of -I (Iouri Kharon <bc-info@styx.cabel.net>) | | |
Denis Vlasenko | a19faf8bb7f | find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)
find: make it a bit smaller
function ... | | |
Denis Vlasenko | dcf6de552a1 | pscan: size optimization (Tito <farmatito@tiscali.it>) | | |
Mike Frysinger | 5b5bcf24f52 | punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handling | | |
Denis Vlasenko | 31789a81d57 | top,ps: 'stringify' tty only when needed. -60 bytes. | | |
Denis Vlasenko | 362c6ec6941 | top: speedup if tty info is not requested | | |
Denis Vlasenko | 3afac4ce065 | top,ps: reduce CPU usage in decimal conversion (optional)
text data bss dec hex filename
734651 ... | | |
Denis Vlasenko | 08a61180cee | ll_map: disable interface name caching code
function old new delta... | | |
Denis Vlasenko | 2d25491ed08 | defconfig: update | | |
Denis Vlasenko | a61cb92f2d1 | make /etc/network parsing configurable. -200 bytes when off. | | |
Denis Vlasenko | 6d9ea246110 | networking/interface.c: huke remaining big statics; use malloc for INET[6]_rresolve
return value. Went thru callers a... | | |
Denis Vlasenko | 1b16bdaebf7 | networking/interface.c: reduce bss usage
function old new delta
.r... | | |
Denis Vlasenko | 91e149a3736 | libbb: random hunt for statics
function old new delta
bb_askpass ... | | |
Denis Vlasenko | 2c91efb7c24 | libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bss
function ... | | |
Denis Vlasenko | 7679145cfa6 | ping: fix write-after-allocated-mem bug
ping: use monotonic_us instead of gettimeofday: smaller code and
needs ... | | |
Mike Frysinger | ebd27aabaab | fix an obvious typo while trying to access the tv_usec member | | |
Denis Vlasenko | bd7bb299c0e | wget: use monotonic_sec instead of gettimeofday
zcip: use monotonic_us instead of gettimeofday
udhcpcd: simpler, shor... | | |
Denis Vlasenko | 459be35234c | hwclock: size optimizations
libbb/time.c: new file, introducing monotonic_us()
pscan, traceroute, arping: use it inst... | | |
Denis Vlasenko | e79dd067821 | time: *const str = "xxx" ==> str[] = "xxx" | | |
Denis Vlasenko | 787d92645b5 | strings: strings a b was processing a twice, fix that | | |
Denis Vlasenko | ea9e798004a | arping: -i should be -I | | |
Denis Vlasenko | a6163ca3554 | install: fix install a b /a/link/to/dir
install: fix -s (strip) option
nmeter: add TODO | | |
Denis Vlasenko | ab47eeee6ae | forgot svn add... | | |
Denis Vlasenko | 85532fc4d49 | remove obsolete comment | | |
Denis Vlasenko | a7825f269d7 | make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-features | | |
Denis Vlasenko | 7b72fc12000 | pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>
wget: lift 256 chars limitation on termi... | | |
Denis Vlasenko | 53a0e971960 | find: make -size match GNU find | | |
Denis Vlasenko | b941129ccb7 | find: add conditional support for -maxdepth and -regex
(needed for Linux 2.6.22-rc4 build)
-maxdepth:
# size busybox... | | |
Denis Vlasenko | d786cc59662 | fdisk: fix minor issues with help text | | |
Bernhard Reutner-Fischer | be992439454 | - fix test -f ./exists
Note that test -f ./exists -a "-u" = "-u" doesn't work and did not work even before r18282, ... | | |
Bernhard Reutner-Fischer | 867266059b9 | - vda perfers not to use the banner | | |
Denis Vlasenko | 432d69cb41b | applets/Kbuild: straighten it a bit | | |
Mike Frysinger | 0e0639b7020 | Alex Landau writes: open firmware for reading, not writing | | |
Denis Vlasenko | d8540f71ac8 | init: make sure fd 0,1,2 are not closed, + related optimizations.
init_main ... | | |
Denis Vlasenko | 1adf681e87f | traceroute: stop using floating point needlessly; nuke useless assignment.
.rodata ... | | |
Denis Vlasenko | 26017b1b048 | minix.h: add very simple test script | | |
Denis Vlasenko | 1fd46215b25 | fsck_minix: forgotten bit of previous commit... | | |
Denis Vlasenko | a6691317e5c | fsck_minix: stop using data/bss
10847 8 271 11126 2b76 busybox.t2/util-linux/fsck_minix.o
10140 ... | | |
Denis Vlasenko | ca525b4f24a | *: BB_BANNER -> bb_banner (it is not a const or #define)!
correct_password: explain in detail why it is ok to use bb_... | | |
Mike Frysinger | b51fd3525e4 | as suggested by Renaud Cerrato and Souf, switch over to recursive_action() for some nice shrinkage and so we work eve... | | |
Mike Frysinger | a78ef2ccf14 | add support for firmware loading | | |
Denis Vlasenko | d67cef2425f | hush: fix read builtin to not read ahead past eol and to not use
insane amounts of stack. Testsuite updated. | | |
Denis Vlasenko | f5f75c5e82d | remove nearly-duplicate PATHs in several places
function old new d... | | |
Denis Vlasenko | f312e32662f | login: make /etc/nologin support configurable. -240 bytes if not selected. | | |
Denis Vlasenko | 637c975098a | fix "--help prints usage for wrong applet" bug | | |
Denis Vlasenko | 3ad5d0cbbe3 | diff: shrink code (-85 bytes):
function old new delta
fiddle_sum ... | | |
Bernhard Reutner-Fischer | fdcbc4e7095 | - fix testing primary expressions like '"-u" = "-u"' | | |
Denis Vlasenko | 15611bb9581 | A few more string duplicates found & eliminated
# size busybox_old busybox_unstripped
text data bss de... | | |
Denis Vlasenko | 16d58d75ee1 | catv: was abusing xopen, should not die on err, but warn only. | | |
Denis Vlasenko | cc5e090f12f | move several applets to more correct ex-project. No code changes. | | |
Denis Vlasenko | aa198dd39ca | uudecode: nuke duplicate base64_table[]. saves 65 bytes | | |
Denis Vlasenko | 745119605e2 | top: on user suggestion make percentile calculations configurable. -56 bytes when off. +600 bytes when on
top: reorde... | | |
Bernhard Reutner-Fischer | d71e45856eb | - use bb_msg_full_version instead of a separate string. Saves a minor 3 bytes. | | |
Denis Vlasenko | a7c5d2c6d95 | getopt_mk_fifo_nod: heed warning | | |
Denis Vlasenko | b1e5addfedf | top: improve global CPU percentage (smaller & faster code) | | |
Denis Vlasenko | 5a65447e309 | top: add config option and code for global CPU % display | | |
Denis Vlasenko | e8a0788b249 | moved biggest stack buffers to malloc space, or made their size configurable
(8k of shell line edit buffer is an over... | | |
Denis Vlasenko | d4fea900bdb | add script which measures stack consumption.
Current top users:
0x08052f52 uncompress []: ... | | |
Denis Vlasenko | 77e44d60e69 | httpd: move data off bss.
httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks
but it should not:
- ... | | |
Bernhard Reutner-Fischer | 66db264a5fd | - also note where to checkout the 1_6_stable branch | | |
Bernhard Reutner-Fischer | d08b43f8a57 | - pull fix for bug#1383 from trunk (r18782) | | |
Bernhard Reutner-Fischer | 37e977b80e1 | - selection done by FEATURE_GREP_EGREP_ALIAS was broken (r18783 from trunk) | | |
Denis Vlasenko | d6766c71a95 | mdev: microscopic enhancement, should change nothing | | |
Denis Vlasenko | 9acfed2d14c | grep: selection done by FEATURE_GREP_EGREP_ALIAS was broken, fix.
(Maxime Bizon <mbizon@freebox.fr> (Freebox)) | | |
Denis Vlasenko | 65e14b45889 | login: ask passwords even for wrong usernames.
# size busybox_old busybox_unstripped
text data bss dec... | | |
Denis Vlasenko | bdbbb7ec490 | make busybox --install work even if /proc/self/exe doesn't exist
# size busybox_old busybox_unstripped
text da... | | |
Denis Vlasenko | c14d39e83a7 | rmp: add optional support for bz2 data. +50 bytes of code | | |
Bernhard Reutner-Fischer | def82602197 | - fix invocation without any argument | | |
Bernhard Reutner-Fischer | dbb06975a89 | - fix invocation without any argument | | |
Denis Vlasenko | 42bffbf3609 | hush: add missing dependencies (Maxime Bizon <mbizon@freebox.fr> (Freebox)) | | |
Denis Vlasenko | dc4ab54ea7e | test: fix thinko in previous commit | | |
Denis Vlasenko | 89bca271585 | test: recognize /path/to/[ case too | | |
Bernhard Reutner-Fischer | 8936a198804 | - Add a FAQ entry on "how do i cross compile busybox" | | |
Bernhard Reutner-Fischer | bb4b9f1fc9f | - add a config-time range check for IPC_SYSLOG_BUFFER_SIZE
The upper-bound doesn't look like it is working since it... | | |
Denis Vlasenko | e16e6e79e45 | awk: experimentally modify "global" trick to make code smaller
by minimizing data offsets
function ... | | |
Bernhard Reutner-Fischer | 4b495128819 | - update defconfig | | |
Bernhard Reutner-Fischer | 1622cb8ceac | - i need this disabled code for testing a patch. Please leave it in. | | |
Bernhard Reutner-Fischer | c3eb33731d9 | - pull r18758 from trunk: fix wrong not operator which was essentially ignored. | | |
Bernhard Reutner-Fischer | e8b2bd4d478 | - fix wrong not operator which was essentially ignored. got introduced in r18282
http://busybox.net/lists/busybox/2... | | |
Bernhard Reutner-Fischer | 8a37a2a352d | - fix non-fancy echo by pulling r18752 from trunk. | | |
Denis Vlasenko | ae5a8aac26d | awk: move all data to malloc space
function old new delta
evaluate... | | |
Denis Vlasenko | c084d2f2054 | echo: fix non-fancy echo | | |
Denis Vlasenko | 0696b8aae8c | ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>) | | |
Denis Vlasenko | cd0df46d8cb | remove bashisms from testsuite | | |
Denis Vlasenko | 5c51a7ca52b | nc: make connecting to IPv4 from IPv6-enabled hosts easier
(was requiring -s <local addr>) | | |
Bernhard Reutner-Fischer | 6c501a71ae5 | - kiltedknight writes: Busybox incorrectly parses a line from the status file, claiming that a required package is no... | | |
Bernhard Reutner-Fischer | 9cb801884ac | - fix typo in error message. Closes #1308 by pulling r18746 from trunk | | |
Bernhard Reutner-Fischer | fa5f20755ce | - fix typo in error message. Closes #1308 | | |
Denis Vlasenko | 746204b1b8e | uudecode: fix to base64 decode by Jorgen Cederlof <jcz@google.com>
improved help texts
# make bloatcheck
function ... | | |
Denis Vlasenko | 8c1aaf32978 | snprintf(... "%s"...) => safe_strncpy | | |
Denis Vlasenko | 3c8b5ba8e82 | syslogd: move some vectors from data to text. Needs uclibc patch
to have any effect (patch is submitted to uclibc ml)... | | |
Denis Vlasenko | ef4bb26f937 | diff: stop using data/bss
function old new delta
do_diff ... | | |
Denis Vlasenko | 821cc25f435 | ping: stop using data/bss
function old new delta
ping_main ... | | |
Denis Vlasenko | 74324c86663 | Audit bb_common_bufsiz usage, add script which looks for misuse.
tr: stop using globals needlessly.
code: -103 bytes | | |
Denis Vlasenko | 4e5f82c76f0 | find_stray_communal_vars: script which finds communal variables
resize: remove globals var
mdev: remove globals var | | |
Denis Vlasenko | a7887ebc8c7 | fdisk: revert assidentally applied post-1.6.0 patch | | |
Denis Vlasenko | dd6e1f0deb6 | start 1.7.x version | | |
Denis Vlasenko | 3f22b7f7182 | fdisk: make it work with big disks (read: typical today's disks)
even if CONFIG_LFS is unset. | | |
Denis Vlasenko | a0d7508748c | website: announce 1.6.0 | | |
Denis Vlasenko | fdcfa2aba7b | less: less <HUGEFILE + [End] busy loops, fix it | | |
Denis Vlasenko | 342b0ab945b | less: forgot trivial #if ENABLE_xxxx | | |
Denis Vlasenko | 9a7d38fe244 | delete tons of extra #includes | | |
Denis Vlasenko | fad2b86c9e7 | use "glibc errno" trick not only for ash, but for entire busybox
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-22... | | |
Denis Vlasenko | c2f011aa031 | more: stop using bss
# make && make bloatcheck
function old new de... | | |
Denis Vlasenko | 22a9a3c6f87 | less: fix very obscure memory corruption bug | | |
Denis Vlasenko | a1d24a0b6e1 | less: stop using data/bss. Code got smaller too.
# size busybox_old busybox_unstripped
text data bss de... | | |
Denis Vlasenko | 199c0d542b5 | nmeter: stop using data/bss; reduce amount of reads from /proc
# size */*/nmeter.o
text data bss dec ... | | |
Denis Vlasenko | 0b3b41b62ac | vi: move some data to malloc'ed space: ~500 less bss, code
size is smaller too (subject to arch differenced I guess) | | |
Denis Vlasenko | 27f79ff03d2 | hush: trivial buglet found by randomconfig testing | | |
Denis Vlasenko | 4b924f3a5c9 | whitespace fixes | | |
Denis Vlasenko | 4ef7d3a2de3 | verror_msg: don't printf(NULL) | | |
Denis Vlasenko | fe3e1776ada | test: close bug 1371
test: plug a memory leak | | |
Denis Vlasenko | 1c9ad62d26e | ping: fix wrong sign extension of packet id (bug 1373) | | |
Denis Vlasenko | b6adbf1be29 | usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h" | | |
Denis Vlasenko | 5a6aeddfa72 | xpipe: introduce (saves ~170 bytes)
udhcp/signalpipe.c: use pipe instead of socketpair. | | |
Bernhard Reutner-Fischer | 6239b1f50a0 | - fix typo in help text and fix punctuation | | |
Denis Vlasenko | ba7cf260fdd | hush: fix 'echo abc`sleep 5`def' + Ctrl-Z and Ctrl-C bugs. +50 bytes of code. | | |
Denis Vlasenko | 0a83fc39849 | hush: avoid duplicating HUSH_VERSION | | |
Denis Vlasenko | 201c72a8d67 | hush: micro-optimization in new variable code | | |
Denis Vlasenko | 28c0f0f4fe1 | hush: we can't do without variable->value member, saving 25 bytes of code
and some runtime memory. Rename few variables. | | |
Denis Vlasenko | d76c049cc4b | hush: rework variable storage and environment handling.
More that -100 bytes of code + memory leak plugged.
Added a t... | | |
Denis Vlasenko | 163a8557310 | hush: update README with yet another failure case | | |
Denis Vlasenko | 5a1437d8355 | hush: fix segfaulting syntax error in interactive hush | | |
Denis Vlasenko | cd7f4d27a2c | hush: improve 2 testsuite tests | | |
Denis Vlasenko | 2b6bbad4dbc | hush: add 2 tests for correct syntax error reporting | | |
Denis Vlasenko | 0fe67b16ce7 | udhcp: socketpair can fail if AF_UNIX is not available (e.g. if module is not loaded).
Error out on that. | | |
Denis Vlasenko | b055001b6a6 | hush: fix handling of unmatched ${name (without closing '}') -
was eating all remaining input, potentially megabytes... | | |
Denis Vlasenko | 90e485ce79b | hush: make syntax error messages a bit more useful | | |
Denis Vlasenko | 1744cb18610 | hush: prepare testsuite for new, fixed error message format | | |
Denis Vlasenko | 170435c575b | hush: fix job control with eval /bin/external_prog
hush: fix parsing of unterminated "str with no EOL
hush: improved ... | | |
Denis Vlasenko | 1a7358612ff | hush: fix a bit different instance of "No EOL" bug,
add testsuite for that. Expand another testsuite. | | |
Denis Vlasenko | 94dace30160 | fix execute bit on hush-misc/shift.tests | | |
Denis Vlasenko | 6963eb53a1c | hdparm: make -T -t code smaller (-194 bytes), and output prettier | | |
Denis Vlasenko | 06810339189 | hush: add 3 CONFIG_xxx, allowing for smaller and less capable hush.
Minimal hush is ~9k now (lash is ~7k). | | |
Denis Vlasenko | 8805eeb44a2 | shells: update README and testsuite. environment memory leak
needs to be fixed - and documented! | | |
Denis Vlasenko | 219e88d0505 | hush: using smallints where we can. save ~20 bytes in code and
some data storage at runtime. | | |
Denis Vlasenko | 004baba2d68 | hush: fix shift + $0 bug; add testcase | | |
Denis Vlasenko | 262d7653514 | hush: trivial size optimization | | |
Denis Vlasenko | 14b5dd9943d | hush: make process substitution configurable; add a testcase | | |
Denis Vlasenko | fe52a74ecf8 | busybox.net: announce 1.5.1 on the web site. | | |
Denis Vlasenko | b32502da83f | applied post-1.5.0 fixes | | |
Denis Vlasenko | 46846e25a41 | ash: implement type -p, costs less than 10 bytes
(patch by Mats Erik Andersson <mats.andersson64@comhem.se>) | | |
Denis Vlasenko | 38ec147a181 | mount: fix mounting of symlinks (mount from util-linux allows that) | | |
Denis Vlasenko | 6d709972cda | cttyhack: new applet. | | |
Denis Vlasenko | 4500c58a076 | make "static linking against glibc" an #error, not #warning | | |
Next → |