Mike Frysinger | 0b87e4ad151 | test for invalid named variables | | |
Mike Frysinger | 7c3e52c1bd3 | do not let handle_dollar() accept vars that start with a digit | | |
Mike Frysinger | 56bdea1b43e | implement `wait` builtin | | |
Denis Vlasenko | e61f07f0366 | remove ((expr)) bash'ism | | |
Denis Vlasenko | 701ac1864b9 | randomconfig fix | | |
Mike Frysinger | 5a82845f60b | update the normally disabled debug code around the syntax() func to use new maybe_die() | | |
Denis Vlasenko | a2333c8938a | randomtest fixes | | |
Mike Frysinger | 78f9d8eb7ad | add hush tests for parameter expansion | | |
Mike Frysinger | 6379bb4fde1 | implement most POSIX parameter expansions (~+500bytes) | | |
Mike Frysinger | 42ab86520e0 | make sure we exit based on test failure rather than always exiting with 0 | | |
Mike Frysinger | 25a6ca0dd48 | split up feature todo by posix/bash | | |
Mike Frysinger | ad88d5a4cfe | unify `set` handling with command line processing, fixup `set` argv processing so it doesnt clobber argv when setting... | | |
Mike Frysinger | 19a7ea126a6 | handle the "-s" command line option that POSIX requires | | |
Mike Frysinger | a71cfa8aa15 | rename "-f" (fake) option to "-n" to match POSIX | | |
Mike Frysinger | d006edb2ca9 | tweak format modifier in debug code to fixup gcc warning | | |
Mike Frysinger | ec2c6557025 | convert some of the ENABLE_FEATURE_EDITING from CPP if to C if | | |
Mike Frysinger | 39456a18a10 | stop lying about [[ test support | | |
Denis Vlasenko | 781b672b372 | mkfs.vfat: fix a problem with over-estimating FAT size | | |
Mike Frysinger | 70a2c8d5316 | make lash deprecation more prominent | | |
Denis Vlasenko | f54dd091716 | mkfs.vfat: mkdosfs compat with choosing clyster size | | |
Denis Vlasenko | 14ee4e65f19 | mkfs.vfat: more of pointless tweaking | | |
Denis Vlasenko | 020f465cbd9 | mkfs.vfat: small tweak to comments | | |
Denis Vlasenko | 9d04b6b6304 | mkdosfs (aka mkfs.vfat): new applet by Vladimir
text data bss dec hex filename
821202 476 ... | | |
Denis Vlasenko | 4d3a812b71d | ls: warning fix
rm: accept and ignore -v (verbose) | | |
Denis Vlasenko | 3603cd2808b | tail: fix tail +N syntax not working. Closes bug 221. | | |
Mike Frysinger | bfc0fae9523 | enable most job functions on no-mmu systems | | |
Denis Vlasenko | f9beb61a81a | tftp: when we infer local name from remote (-r [/]path/path/file),
strip path. This mimics wget and is generally mor... | | |
Mike Frysinger | b2705e1652d | do not make startup banner depend on job support | | |
Denis Vlasenko | c0ea82a4574 | libbb: revent previous version of "concurrent history updating"
and replace it with one which does not "snoop" histor... | | |
Mike Frysinger | ddbee974b42 | move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error | | |
Denis Vlasenko | 57abf9e947f | libbb: make history saving/loading concurrent-safe
* all history writers always append (not overwrite) history files
... | | |
Denis Vlasenko | 3fd10463002 | timeout: fix parsing of -t NUM on MMU | | |
Denis Vlasenko | 424f79b48f8 | hush: rearrange functions to reduce amount of forward references.
Minimal code changes. | | |
Denis Vlasenko | e1300f6fc7a | hush: fix segv at repeated "set -- a b c" + "shift" | | |
Denis Vlasenko | 786ce17d6d6 | hush: fix strcpy of potentially overlapping strings | | |
Denis Vlasenko | ccff0b962ca | msh testsuite: fix false positive, tweak run stript | | |
Denis Vlasenko | 3a014b85dc5 | ls: make readlink error to not disrupt output (try ls -l /proc/self/fd).
libbb: make xmalloc_readlink_or_warn warning... | | |
Denis Vlasenko | 05af8320978 | cpio: more compat: -0 and -L options
function old new delta
cpio_m... | | |
Denis Vlasenko | 83518d18a34 | Compatibility fixes:
grep: support -z
find: support --mindepth
together +45 bytes
cpio: support -p (configurable, ... | | |
Denis Vlasenko | 0b28103cc77 | cd: "support" -v by ignoring it | | |
Denis Vlasenko | feecc7b74ee | hush: tweak testsuite | | |
Denis Vlasenko | a8b6dff97f3 | hush: fix bug 207 and "hush -c" parameter passing.
Now hush -c 'printf "%s\n" "$@"' (prints "\n")
and hush -c 'prin... | | |
Denis Vlasenko | 5368ad53e91 | ash: expand comment | | |
Denis Vlasenko | 11fb7cf5afa | hush: fix set [--] params. Closes bug 199.
function old new delta
... | | |
Denis Vlasenko | 1bb3d7e4502 | ash: add missing comma in debug scaffolding | | |
Denis Vlasenko | b9e70ddf2d2 | ash: fix a case where we close wrong descriptor; add debug hack for that | | |
Denis Vlasenko | f173395c4a2 | ash: DEBUG should be 0 :) | | |
Denis Vlasenko | b21f3796393 | ash: fix TRACE commands | | |
Denis Vlasenko | 653d8e79b21 | ash: make evaltree save/restore int suppression depth.
Hopefully this fixes bug 189. Not confirmed by users yet.
fu... | | |
Denis Vlasenko | 731de5ce76b | doc update | | |
Denis Vlasenko | 4b875708c13 | ash: in dotrap(), do not clear gotsig[] for SIGINT if there is no handler
for it, otherwise raise interrupt gets con... | | |
Denis Vlasenko | 0354aba9a14 | df: fix FEATURE_DF_FANCY=off, FEATURE_HUMAN_READABLE=on case. | | |
Denis Vlasenko | 7f88e34e1a1 | ash: tentatively fix bug 189. | | |
Denis Vlasenko | 5981ba5843e | init: test for vt terminal with VT_OPENQRY,
assume that anything else is TERM=vt102, not TERM=linux.
(Serial consol... | | |
Denis Vlasenko | 5c2b81470d0 | ash: fix "ash -c 'exec 1>&0'" complaining that fd 0 is busy | | |
Denis Vlasenko | c1969f69b11 | ls: make color-related code more readable. Fix a case when
it was working non-deterministically.
function ... | | |
Denis Vlasenko | cbb4e61dd54 | httpd: add comment explaining why SERVER_NAME etc is not set. | | |
Denis Vlasenko | 9f57cf66046 | ftpd: fix command fetching to not do it in 1-byte reads;
fix command de-escaping. Tested to download files with embe... | | |
Denis Vlasenko | fce4a9454c5 | ftpd: add some comments | | |
Denis Vlasenko | e3b840ce98a | ftpd: trim messages (but make sure they still make sense)
text data bss dec hex filename ... | | |
Denis Vlasenko | 5b492ee8761 | ftpd: do not use nasty tricks for re-execing if we are on MMU machine.
On NOMMU, code is alomost the same, on MMU:
f... | | |
Denis Vlasenko | 1432cb4bd9d | ftpd: add support for MDTM, I see clients often use it,
it may allow client-side caching.
function ... | | |
Denis Vlasenko | 3a7a1eba2e2 | ftpd: document NLST format | | |
Denis Vlasenko | 1a825551083 | ftpd: instead of wordy HELP, implement useful, and smaller, FEAT.
(HELP is still "supported" as an alias to FEAT)
... | | |
Denis Vlasenko | edb0de4283e | ftpd: implement -vv verbosity
function old new delta
ftpd_main ... | | |
Denis Vlasenko | e6c94a611a9 | ftpd: tweak timeout code | | |
Denis Vlasenko | 99d71da1cf7 | chat: update by Vladimir
1) to treat timeout more correctly (timeout affects whole send command
duration, not a ... | | |
Denis Vlasenko | 074c9036b2e | ftpd: fix thinko: set_nport takes port in network order | | |
Denis Vlasenko | fbf5846ce1e | ftpd: dont use fdprintf for simple status messages
function old new ... | | |
Denis Vlasenko | 43bb7bba3b0 | ftpd: simplify PORT check by assuming IP = peer's IP.
Should be as safe as before this change.
function ... | | |
Denis Vlasenko | 20c82168976 | ftpd: add idle and absolute timeouts. This is a security issue,
otherwise ftpd may end up hanging indefinitely.
fun... | | |
Denis Vlasenko | f2160b6a09f | ftpd: security tightened up:
PORT is not allowed on !IPv4
PORT must have IP == peer's IP
upload is allowed only in... | | |
Denis Vlasenko | 7a6766428e3 | awk: fix compat issue found by gpm build
function old new delta
as... | | |
Denis Vlasenko | 9210a36495f | tr: support -C as synonym to -c | | |
Denis Vlasenko | fc58ba12985 | ftpd: fix the bug where >2GB file ops report errors;
make a few simplifications; add TODOs.
function ... | | |
Denis Vlasenko | 823f10b8f0f | sha: merge K[] for sha256 and 512
function old new delta
sha_K ... | | |
Denis Vlasenko | 8ec8d5e3db4 | sha: fix thinko in sha512; add FAST_FUNC to sha1/sha256
function old ... | | |
Denis Vlasenko | e9afc468fac | sha: merge sha1/sha256 handling (they are similar enough for this),
shrink sha215 code
function ... | | |
Denis Vlasenko | 7241e6d3778 | uname: correct cut/paste error
touch: add long options
function old ... | | |
Denis Vlasenko | 7aaedcf21ee | mount: support "-O option"; stop trying to mount swap partitions
function ... | | |
Denis Vlasenko | 447ab18cf6e | uname: support long options | | |
Denis Vlasenko | 3b5c9b88852 | insmod/modprobe: do not pass NULL to kernel as module parameter | | |
Denis Vlasenko | 1f0b95f1473 | tar: make FEATURE_TAR_AUTODETECT work with DESKTOP off too. | | |
Denis Vlasenko | c8329c95681 | sha: reduce sha256/512 context size. Make sha1/sha256 code more similar
function ... | | |
Denis Vlasenko | 4a43057268a | sha: tiny shrink | | |
Denis Vlasenko | ddb1b85053d | add comment about sha testing | | |
Denis Vlasenko | cd2cd312b70 | shrink sha hashing a bit more (remove wbuflen field from ctx),
remove the requirement for aligned buffer
function ... | | |
Denis Vlasenko | 6a5d9faa29e | shrink sha hashing
function old new delta
sha512_hash ... | | |
Denis Vlasenko | 4abaec50a26 | popmaildir: fix several grave bugs with using memory past end of malloc block | | |
Mike Frysinger | dec37b3232d | the -elf2flt flag can be used w/out -Wl, so drop the requirement so people can use either form | | |
Denis Vlasenko | 98c87f75755 | sha256/512: code shrink. Run-tested.
function old new delta
sha512... | | |
Denis Vlasenko | 54ac03a6188 | *: remove LOG_NOWAIT | | |
Denis Vlasenko | 4221e90ae46 | ftpd: stop unconditional logging to syslog. This was the only applet
which was doing it. Added option -S to enable i... | | |
Denis Vlasenko | a19e64933c6 | docs/logging_and_backgrounding.txt: new mini-doc
dnsd: remove statics, remove nerly-useless SIGINT handler
crond: cor... | | |
Denis Vlasenko | 4774179cb9e | mail.c: more robust handling of SIGCHLD
init: more robust signal handling | | |
Denis Vlasenko | 245f91b6494 | ftpd + ls - timestamp = confused Mozilla. Prevent that. | | |
Denis Vlasenko | 5b28d314e7a | ftpd: add LOG_NDELAY to openlog | | |
Denis Vlasenko | 1a6adbd71b0 | uniq: strncmp(a,b, -1) might be problematic, use INT_MAX instead | | |
Denis Vlasenko | 9257671c762 | fix typo in help text | | |
Denis Vlasenko | c41cba5a578 | ftpd: reuse ls applet for LIST/NLST/STAT generation
function old new... | | |
Denis Vlasenko | 9b2fbda5385 | ftpd: EPSV and SIZE support. Tested to work on IPv6 too.
libbb: str2sockaddr shuld accept [IPv6] addr without port -
... | | |
Denis Vlasenko | 57a3b174989 | ftp: reduce amount of realloc's done in cmdio_write
text data bss dec hex filename
808562 476... | | |
Denis Vlasenko | d42eb81206d | ftpd: code shrink | | |
Denis Vlasenko | 3455285339b | ftpd: code shrink | | |
Denis Vlasenko | f1a11b5a4ec | ftp: code shrink
text data bss dec hex filename
809078 476 7864 817418 c790a busybox_ol... | | |
Denis Vlasenko | 9e95920efd3 | ftpd: code shuffled a bit, added comments | | |
Denis Vlasenko | 51c9bb1fd1e | ftpd: add comment | | |
Denis Vlasenko | ffb4bb3034b | ftpd: further code shrink
function old new delta
port_pasv_c... | | |
Denis Vlasenko | 73c571a5fff | *: move get_sock_lsa and xwrite_str to libbb, use where appropriate
function ... | | |
Denis Vlasenko | 5e4fda0affa | ftpd: code chrink, fixed some minor bugs
ls: update comment
*: openlog fixes (added LOG_PID, set LOG_DAEMON as approp... | | |
Denis Vlasenko | bf9d17949ee | adding forgotten new file | | |
Denis Vlasenko | 16b4a2de97d | ftpd: new applet by Adam Tkac
$ size ftpd.o
text data bss dec hex filename
5703 0 0... | | |
Denis Vlasenko | c8985bf3530 | website: mention fixes to syslogd | | |
Denis Vlasenko | 01034172f5d | website: announce 1.13.3 | | |
Denis Vlasenko | fb1a23d73bd | halt/reboot/poweroff: improve error reporting
function old new del... | | |
Denis Vlasenko | a6b6f05379b | further work on modprobe
function old new delta
gather_options_str... | | |
Bernhard Reutner-Fischer | 8517d6fc1fb | - test commit | | |
Denis Vlasenko | 0e2f362a61a | modprobe: rework/speedup by Timo Teras (timo.teras AT iki.fi)
function o... | | |
Denis Vlasenko | c5741003e9c | modutils: delete unused global variable
function old new delta
mod... | | |
Denis Vlasenko | 76140a77c9c | networking/libiproute/*: code shrink by optimizing numeric conversions
and other misc stuff
function ... | | |
Denis Vlasenko | 021de3f0297 | sendmail: document and fix usage of fd #4, fix check for helper failure.
function ... | | |
Denis Vlasenko | 5a2ad699fca | wget: --post-data support by Harald Kuthe (harald-tuxbox AT arcor.de)
function ... | | |
Denis Vlasenko | bc7177187f6 | syslogd: fix new log file mode 0600 -> 0666 (as usual, affected by umask) | | |
Denis Vlasenko | 8bc376bc122 | top: fix for 2.4 kernels | | |
Denis Vlasenko | dadf7907b20 | printf: fix breakage in handling '*' | | |
Denis Vlasenko | 9604e1b8fc1 | modprobe: emit "can't open 'modules.dep': (errno)" instead of "module not found"
*: s/can't open %s/can't open '%s'/,... | | |
Denis Vlasenko | 787a492f23b | ip: in "ip rule add from all table 1", "all" is taken as 0.0.0.0/32,
whereas "any" and "default" would be 0.0.0.0/0. ... | | |
Denis Vlasenko | 230997bd61e | expr: a bit more robust handling of regexps with groups (closes bug 87) | | |
Denis Vlasenko | 6852effbc22 | printf: fix 1.12.0 breakage (from %*d fix). It was misinterpreting "*" | | |
Denis Vlasenko | 248ce91017c | ls: implement -Q and -g (-g was accepted but ignored)
function old n... | | |
Denis Vlasenko | 11a6f9b44f4 | ls: do not follow links with -s (closes bug 33),
display unsigned data with %XXu, not %XXd. | | |
Denis Vlasenko | 7886275c982 | top: make it work again on 2.4 kernels (closes bug 125) | | |
Denis Vlasenko | 7e0c243ad53 | sendmail: improve help text | | |
Denis Vlasenko | 22f180fd6c1 | wget: fix --header handling | | |
Denis Vlasenko | 50af926ecff | wget: fix --header handling | | |
Denis Vlasenko | d9415d6335b | syslogd: create logfile with 0666, not 0600. | | |
Denis Vlasenko | 37ad6b323de | tr: update testsuite | | |
Denis Vlasenko | 491d6e3b568 | tr: fix overflow in expand and complement, fix stop after [:class:],
fix order of [:xdigit:], make tr require one pa... | | |
Denis Vlasenko | 1bfcc8b08e5 | tr: support [:xdigit:], fix handling of ranges and [x]'s.
add testsuite entry for each of 3 bugs fixed.
function ... | | |
Denis Vlasenko | 31773b71e89 | runsv: another tiny optimization
function old new delta
startservi... | | |
Denis Vlasenko | f09f4e015bf | runsv: small optimization
*: more paranoia around passing NULL to execl[e]
function ... | | |
Denis Vlasenko | 48637e0924d | modutils: oveflow fix | | |
Denis Vlasenko | f62f761936e | modutils: overflow fix | | |
Denis Vlasenko | a76f10b544b | Apply post-1.13.2 fixes, bump version to 1.13.3 | | |
Denis Vlasenko | 9aa5c652e93 | unzip: fix thinko with le/be conv and size (closes bug 129)
awk: make "struct global" hack more robust wrt alignment ... | | |
Denis Vlasenko | 8e5de2aab74 | login: fix buglet introduced by "simplification" | | |
Denis Vlasenko | e261bba6a58 | flash_eraseall.c: fix vda's breakage | | |
Bernhard Reutner-Fischer | 30e3df38174 | - rephrase helptext for clarity | | |
Bernhard Reutner-Fischer | 12aca796ba9 | - improve wording | | |
Bernhard Reutner-Fischer | 0adf7f2d46a | - by not calling getpagesize() twice we can save 2 bytes (walter harms) | | |
Bernhard Reutner-Fischer | f3b39a27a63 | - fix typo (thanks to Peter Kjellerstedt for noticing) | | |
Bernhard Reutner-Fischer | a31187dbea6 | - Dual-license the config parser also under "LGLPv2.1 or later"
(Vladimir Dronnikov) | | |
Ned Ludd | 039ed437d3c | make modutils compile again | | |
Denis Vlasenko | a430b695a28 | depmod: accept and ignore -r (Linux kernle build needs this) | | |
Denis Vlasenko | 962e3656f61 | flash_eraseall: shrink
function old new delta
flash_eraseall_main ... | | |
Bernhard Reutner-Fischer | 02468c20631 | - add big busybox logo as transparent png | | |
Bernhard Reutner-Fischer | 7307e061229 | - bail out if screen resolution does not match PPM dimensions.
Previously a 640x480 PPM on an e.g. 720x400 console ... | | |
Bernhard Reutner-Fischer | 8dcb33c3eb9 | - document ppm header and skip whitespace | | |
Bernhard Reutner-Fischer | e455f6ec27f | - update TODOs | | |
Bernhard Reutner-Fischer | 8af23f8fc36 | - eliminate globals | | |
Bernhard Reutner-Fischer | 7d9d2515435 | - make it compile and shrink it a little bit (~-110 bytes)
text data bss dec hex filename
1533 ... | | |
Bernhard Reutner-Fischer | 0d22d1755c2 | - add flash_eraseall
This is the result after converting mtd-utils' flash_eraseall to BB.
The functionality given by ... | | |
Bernhard Reutner-Fischer | 051fdb9e7a2 | - PPMs can have comments in the header.
Thanks to Denys for pointing that out. (~+7b) | | |
Denis Vlasenko | 8ad78e1ec7b | ash: make dot command search current directory first, as bash does. | | |
Denis Vlasenko | c6ab0850027 | Make "shadowed" numeric config entries (ones which depend on
other options which are off) to have the value of 0, not... | | |
Denis Vlasenko | 28ea4298e38 | volume_id: abort early on read failures.
should help with probing missing fdd's | | |
Denis Vlasenko | 93b38208d1e | init: fix compile breakage with '# CONFIG_FEATURE_KILL_REMOVED is not set'
runsvdir.c: fix typo in comment | | |
Bernhard Reutner-Fischer | 97b954decbb | - improve wording | | |
Bernhard Reutner-Fischer | 51d943d7617 | - improve helptext | | |
Bernhard Reutner-Fischer | 4efcec93788 | - misc untested shrinkage:
$ ./scripts/bloat-o-meter _bb_un.oorig busybox_unstripped
function ... | | |
Bernhard Reutner-Fischer | 52b56b7585e | - improve helptext of obsolete devfs stuff.. | | |
Bernhard Reutner-Fischer | bb5f8eddc43 | - cosmetic typo in helptext | | |
Denis Vlasenko | 9f00e057816 | killall and sestatus also need ARGVN scanning | | |
Denis Vlasenko | d63cd1bf1ce | mdev: if /sys/class/block exists, don't scan /sys/block | | |
Denis Vlasenko | a0ab943492c | function old new delta
kill_main ... | | |
Denis Vlasenko | 2ca84f60645 | httpd: tiny optimization | | |
Denis Vlasenko | 1cbfd98ded5 | httpd:
Kill config options by making them always on:
FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
FEATURE_HTTPD_CONFIG_WITH_M... | | |
Denis Vlasenko | 6d5590f9d02 | sendmail: remove erroneous usage lines | | |
Denis Vlasenko | ded5dfef6ef | crond,crontab: make cron directory location configurable | | |
Denis Vlasenko | d814c986929 | telnetd: do not advertise TELNET_LFLOW, we do not support
it properly. | | |
Denis Vlasenko | 04158e04591 | udhcpd: add code which rejects lease files with suspicious or old timestamp.
*: s/time(0)/time(NULL)/g | | |
Denis Vlasenko | 512c8ae0537 | login: small simplification by Walter Harms. -10 bytes | | |
Denis Vlasenko | 4eff8efa591 | login: cleanup work by Walter Harms. No logic changes. | | |
Denis Vlasenko | 73121c3c8c2 | dhcpd,dumpleases: write and use 64-bit current time in lease file.
without it, determination of remaining lease time... | | |
Denis Vlasenko | 49325969e75 | modutils-24: code shrink
function old new delta
helper_create_allo... | | |
Denis Vlasenko | 4acdb46ff17 | ionice: new applet, adapted from Linux kernel' example by Walter Harms
text data bss dec hex filen... | | |
Denis Vlasenko | 802cab15e54 | brctl: fix compilation on 2.4.x kernels | | |
Denis Vlasenko | 9ec0ecbfdde | init: remove wait() loop on restart, it may be dangerous | | |
Next → |