Denis Vlasenko | 1d61416b5a6 | sync examples to what actual actual code expects | | |
Mike Frysinger | 08137c28c42 | add expected output | | |
Mike Frysinger | bb50fdfe070 | convert #if to if -- let gcc optimize away dead code for us | | |
Denis Vlasenko | ec5631b6d69 | init: add FEATURE_KILL_REMOVED (Eugene Bordenkircher <eugebo@gmail.com>)
init: slight size optimization | | |
Denis Vlasenko | 7b55c7f97d1 | fix typo in web page | | |
Denis Vlasenko | 8e5b6f58a27 | Makefile: change version to 1.10.0.svn
udhcpc: make UDP packet sending the same as raw sending in regards
to error ... | | |
Denis Vlasenko | 299c5c379e0 | Announce 1.9.0 | | |
Denis Vlasenko | 3b4921674eb | hush: fixlet for NOMMU
update TODO_config_nommu | | |
Denis Vlasenko | f7be20e70c2 | nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)
*: whitespace fixes
function ... | | |
Denis Vlasenko | fcfb5c04bba | defconfig: update
appletli.c: add vda's (C)
top: fixlet for incorrect display of "0"
Makefile: reduce stack size from... | | |
Denis Vlasenko | e4bc603f0ba | od: reduce data/bss usage (code size went down too) | | |
Denis Vlasenko | ef36c04ccfb | umount: fix fallout from stack reduction change | | |
Denis Vlasenko | f882f086278 | vi: speed up some string ops | | |
Denis Vlasenko | 528a8b97697 | cttyhack: trivial build fixlet | | |
Denis Vlasenko | 4baed3a080e | vi: reduce amount of memset'ing on each screen refresh | | |
Denis Vlasenko | e3cbfb91d2c | vi: introduce FEATURE_VI_8BIT (as vi currently is not Unicode capable,
people may want to disable display of high-bit... | | |
Denis Vlasenko | 94e3365b8f8 | perror_nomsg: don't print extra colon
losetup: print name of loop device in error messages | | |
Denis Vlasenko | 88adfcd1786 | vi: change MAX_LINELEN meaning: now it is the biggest supported
screen wigth. Introduce MAX_TABSTOP and MAX_INPUT_LEN... | | |
Denis Vlasenko | ee87ebf3815 | fix buglets found by randomconfig | | |
Denis Vlasenko | 26b6fba9d33 | vi: fix a problem with displaying overlong lines | | |
Denis Vlasenko | 619879246d5 | udhcp: decided to not send "short" dhcp packets,
but lets add comments how to do it if needed. | | |
Denis Vlasenko | fff145dba30 | udhcp: fix oversized packet sending (introduced by "slack for bad dhcp servers" options);
slight optimizations and fu... | | |
Denis Vlasenko | f77f369ce89 | fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)
(add/remove: 0/13 grow/shrink: 6/19 up/... | | |
Denis Vlasenko | c794c51a1aa | msh: reduce global data/bss usage
(add/remove: 1/5 grow/shrink: 28/6 up/down: 464/-394) Total: 70 bytes
... | | |
Denis Vlasenko | 01631113250 | ash: reduce global data/bss usage
(add/remove: 4/29 grow/shrink: 76/21 up/down: 1007/-1713) Total: -706 bytes
... | | |
Denis Vlasenko | 9ad2cb3f1a3 | traceroute: stop using global data/bss
(add/remove: 0/15 grow/shrink: 0/1 up/down: 0/-95) Total: -95 byte... | | |
Denis Vlasenko | 4ca2965b990 | add a link to vda's pet projects | | |
Denis Vlasenko | 2cd4a747e5a | num conversions: allow for leading '+' (renice needs that) | | |
Denis Vlasenko | d7e2e127a93 | cttyhack: add missing ';'
init: remove pointless access() check | | |
Denis Vlasenko | 2afabe8b830 | init: remove superfluous forks and messing up with argv[0]
cttyhack: add stealing of ctty | | |
Denis Vlasenko | 191836845e4 | udhcpc: support for -O <option>.
Two important notes:
* nissrv and nisdomain are not requested by default anymore!
* ... | | |
Denis Vlasenko | 75aa615bef4 | find: add -iname support (Alexander Griesser <alexander.griesser@lkh-vil.or.at>) | | |
Denis Vlasenko | 9cb220be9de | lineedit: don't violate API if we do simple fgets
ash: cosmetic style fixes, no code changes | | |
Denis Vlasenko | a96425fe827 | vi: don't use common_bufsiz as read buffer, it can be too small
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-... | | |
Denis Vlasenko | b851c42a144 | signal names hack was wrong, it broke "get signal name" function.
Reverting :( | | |
Denis Vlasenko | f3fca91e9f4 | getty: a small code shrink
touch - 40 +40
fakehost ... | | |
Denis Vlasenko | c689fcfdb00 | Make signal table a bit smaller
get_signum 136 151 +15
signals ... | | |
Denis Vlasenko | 5f934b07853 | guard against SIGxxx >= 32 (no code changes on i386) | | |
Denis Vlasenko | d0bbbdcd6ee | getty: don't accept ancient '#' and '@' as backspace/kill line,
it only confuses people.
(Alexander Griesser <alexand... | | |
Denis Vlasenko | 7221c8c22dd | lineedit: reduce stack usage
netstat: reduce stack usage; fix handling of NULs in unix socket filenames
static.has_i... | | |
Denis Vlasenko | 2bec5139964 | fix whitespace damage | | |
Denis Vlasenko | 7ab3699b581 | mkfs.minix: add testsuite; disable code which makes images variable | | |
Denis Vlasenko | ab801874f85 | attack the biggest stack users:
-mkfs_minix_main [busybox_unstripped]: 4288
-mkfs_minix_main [busybo... | | |
Denis Vlasenko | 8003e266edb | explain why we use mmap instead of malloc | | |
Denis Vlasenko | 8723a94c257 | libnetlink: comment out unused code; don't use 8k stack buffers
function ... | | |
Denis Vlasenko | 5cb40bbbd33 | Fix minor discrepancy in "make help" | | |
Denis Vlasenko | 4c139229611 | Introduce FEATURE_COPYBUF_KB.
People who want smaller stack at any cost may use it
to reduce cp's stack usage (FEATUR... | | |
Denis Vlasenko | e2532ab5f24 | dd: fix a bug where we don't report write errors
testsuite: small cleanup
full_write_or_warn ... | | |
Denis Vlasenko | 1796e2c4950 | dd: add testsuite entry for write errors | | |
Denis Vlasenko | 6672c8e4809 | test: stop using lots of bss.
function old new delta
test_main ... | | |
Denis Vlasenko | b539c8452f8 | dhcp: heed TODO item - divorced options from their string descriptions
code shrink while at it.
function ... | | |
Denis Vlasenko | 64309f8669f | sysctl: add -e: supress warnings about invalid key (Jeremy Kerr <jk@ozlabs.org>)
code shrink:
text data bs... | | |
Denis Vlasenko | 745cd17926a | Further optimize applet tables; prettify build output
text data bss dec hex filename
775923 9... | | |
Denis Vlasenko | c253778de92 | touch: accept and ignore -f | | |
Denis Vlasenko | 35ff74676b5 | dhcpc: let server know we don't like oversized packets.
add TODO comment | | |
Denis Vlasenko | 41f5add9651 | forgotten part of previous commit | | |
Denis Vlasenko | 1aa7e477b1b | reorganize applet table. Eliminates pointers to names.
Should be a big win for libbusybox. busybox wins too:
text... | | |
Denis Vlasenko | 79c6904faff | ip route: add comment, no code changes | | |
Denis Vlasenko | 186c2b3d0e5 | iproute: fix a bug where "ip r flush table main" was rejected,
add "ip r flush cache" (however I'm unsure it is reall... | | |
Denis Vlasenko | 30297a5b833 | fix vda's testsuite bogons, part 2 | | |
Denis Vlasenko | bd9a48bc9c0 | fix vda's testsuite bogons, part 1 | | |
Denis Vlasenko | a0ec7918f3d | apply accumulated post-1.6.1 patches, and bump version to 1.6.2 | | |
Denis Vlasenko | 4e1e7205235 | testsuite: add tests for cut and grep;
slight improvements to infrastructure | | |
Denis Vlasenko | ed270a5f32e | ash: make code simpler, and do not do close(-1) - it's rude | | |
Denis Vlasenko | b1bac0dab2e | zcip: simplify code a bit | | |
Denis Vlasenko | a09300a88c6 | zcip: use low-order 4 bytes of MAC as random seed, not 4 high-order
arping: fix wrong roundtrip calculation
arping,zc... | | |
Denis Vlasenko | 7c9d533a85a | cttyhack should be in /bin, not /usr/bin | | |
Denis Vlasenko | 6446c2d4aba | which: fix testsuite failure
pidof: do not output empty line if nothing found
testsuite: disable false positive | | |
Denis Vlasenko | 72e76044cfd | dhcpc: cope with buggy DHCP servers which send oversized packets
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@... | | |
Denis Vlasenko | a8875efa850 | Announce 1.8.2 and 1.7.4 | | |
Denis Vlasenko | cf24d29529b | Apply post-1.7.3 fix to inetd | | |
Denis Vlasenko | 80297d5f0cb | Apply all post-1.8.1 patches | | |
Denis Vlasenko | dd8bbfd0846 | stty: reorganize data tables - save 0.5k
function old new delta
mo... | | |
Denis Vlasenko | fe5e23bf750 | remove echo_main -> bb_echo indirection | | |
Denis Vlasenko | c3c6659f12e | hush: fix segfault in "echo $@" when we have no arguments | | |
Denis Vlasenko | d2023283ac8 | fix buglets found by randomconfig | | |
Denis Vlasenko | 1da0ad13fbe | update defconfig | | |
Denis Vlasenko | 96702ca945a | kill lash. "lash" builtin still exists, but it runs hush. | | |
Denis Vlasenko | 8ec6ee47f1e | Add an RFC for future ipv6 ftp work | | |
Denis Vlasenko | 5bc593ccb85 | hush: implement echo builtin
builtin_echo - 36 +36
bltins ... | | |
Denis Vlasenko | cccdc4e01ab | hush: fix $ expansion in redirections, add testcase for that | | |
Denis Vlasenko | 835068637e8 | hush: implement test builtin | | |
Denis Vlasenko | f962a0354e2 | hush: plug memory leak | | |
Denis Vlasenko | f23c3f95e88 | arping: fix help text (-i -> -I), and shorten it a bit | | |
Denis Vlasenko | fff9b699f19 | arping: fix a bug where there is implicit count of 4G;
eliminate data/bss usage; code shrink
function ... | | |
Denis Vlasenko | 3831c91c951 | cut: add proper stdout error handling, fix "-" handling;
modest code shrink | | |
Denis Vlasenko | e85dbae3896 | logread: add forgotten INIT_G(); | | |
Denis Vlasenko | ff2b6d21853 | logread: eliminate usage of data/bss
ifup: don't remove virtual iface prefixes (eth0:0)
function ... | | |
Denis Vlasenko | 6884f665bd7 | dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller
function ... | | |
Denis Vlasenko | 68af8e7a084 | udhcpc: remove -W option, -A can be reused for that
help texts: trimmed a bit
static.udhcpc_longopts ... | | |
Denis Vlasenko | b559105cfbb | fix a thinko in build system | | |
Denis Vlasenko | 7d75a96b153 | ash: fix bug where redirection of closed fd was leaving it open afterwards.
redirect ... | | |
Denis Vlasenko | 705eaf8b403 | sestatus: new SELinux applet (KaiGai Kohei <kaigai@ak.jp.nec.com>) | | |
Denis Vlasenko | 9cdfd14223e | dhcpc: cleanup and comments; fix buggy timeout handling in corner cases.
-25 bytes. | | |
Denis Vlasenko | 223bc97f61f | udhcpc: an option to perform ARP check (Jonas Danielsson <jonas.danielsson@axis.com>)
configurable, ~+300 bytes when on. | | |
Mike Frysinger | c881c733bb0 | cleanup comments and coding style and rewrite the mdev.conf parser to use common busybox functions and call strdup() ... | | |
Denis Vlasenko | ed6a49c657a | ip: stop propagating argc; optimize ip_parse_common_args
function old ... | | |
Denis Vlasenko | 2a587df80a1 | stty: mark variable as static | | |
Mike Frysinger | 49d15890e0e | make output a little more friendly | | |
Mike Frysinger | e13bd362e3d | merge from upstream for systems that dont integrate libintl into their C library:
commit aa1e5ef5c1d95e7ebf0821d9ba2... | | |
Mike Frysinger | dbd18f639c0 | exported symbols may be weak, so allow symbols marked as W | | |
Denis Vlasenko | 70ab28f9077 | syslogd: use DEV_CONSOLE consistently
init: remove obsolete comment | | |
Denis Vlasenko | fbe5f39f0fe | hexdump: add hd alias, add -R option | | |
Paul Fox | 16aec39ebeb | add comment clarifying busybox's use of non-standard tar header | | |
Denis Vlasenko | 8512862163f | tar: fix a case where glibc detects bogus buffer overrun
which is not really there! | | |
Denis Vlasenko | 7e3a5f58bcd | dmesg,klogd: make code more readable
libbb: explain why we declare klogctl
libbb: move defs around so that order make... | | |
Bernhard Reutner-Fischer | 7c2db5c1988 | - use standard-imposed constants some more | | |
Bernhard Reutner-Fischer | a702457eac1 | - remove most of the forward declarations. No obj-code changes. | | |
Bernhard Reutner-Fischer | e8979889b4d | - add note about SUSv3 missing options. | | |
Denis Vlasenko | 01cd9570c7e | who: add -a (by Tito) | | |
Denis Vlasenko | a6899c35870 | lash: fix compile-time warning | | |
Denis Vlasenko | 6d38dc3af42 | df: add -a
df: don't special case rootfs and /dev/root
function old ... | | |
Denis Vlasenko | f430cdbf2e7 | df: add -i (conditional on CONFIG)
uasge: trim a bit | | |
Denis Vlasenko | 1fe4e9e573c | cosmetic change in message text | | |
Paul Fox | ae6bf96659f | bad syntax error should go to stderr | | |
Denis Vlasenko | 9d6c46955fb | Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:
function old... | | |
Denis Vlasenko | 8d0a734d91f | tr: more of code shrink (getopt32-ification)
runtest: cleanup. Method of getting $applets was truly bizarre
function... | | |
Denis Vlasenko | 3d461676a90 | tr: better comments, small code shrink
function old new delta
expa... | | |
Denis Vlasenko | a89d50fb9ad | tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)
readprofile: use xwrite
function ... | | |
Denis Vlasenko | 130f559f4dc | trylink: accomodate older versions of ld | | |
Denis Vlasenko | 05c8c4f7458 | who: code shrink by Tito <farmatito@tiscali.it>
function old new d... | | |
Denis Vlasenko | 72cc9641f80 | add sed mini-doc | | |
Denis Vlasenko | 40276648ab3 | sed: support GNU-like '\t' escape in substitutions | | |
Denis Vlasenko | 6df9e3c9a38 | inetd: revert bogus fix for bug 1562; shrink inetd a bit
function old ... | | |
Denis Vlasenko | 059c91711f6 | open_transformer: do not duplicate "<program> -cf -"
text data bss dec hex filename
677858 73... | | |
Denis Vlasenko | 4bfb84db4e9 | gzip: fix a case where tar xzf fails (we use uninitialized fd) | | |
Denis Vlasenko | e5569cb52e3 | who: fix wrong date/time field size | | |
Denis Vlasenko | 40702dac932 | Announce 1.8.1 | | |
Denis Vlasenko | 3db254c8866 | apply accumulated post 1.8.0 fixes, bump version to 1.8.1 | | |
Denis Vlasenko | f6ccc62c70f | init: fix bug 1584: improper check for fork error | | |
Denis Vlasenko | 5cc6459c46a | umount: stop using excessive aounts of stack. Surprisingly,
code shrank a lot too
function ... | | |
Denis Vlasenko | 73cb1fdfea0 | lineedit: stop using both data/bss and tons of stack.
stack usage was ~10 kb!
unfortunately, noticeable code size gro... | | |
Denis Vlasenko | e7fca5125a1 | *: remove superfluous "?" in option parsing | | |
Denis Vlasenko | b4f608d8e05 | readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too small
umount: don't actually need char[2 * PATH_MA... | | |
Denis Vlasenko | d031b203c7e | syslogd: support "symlink to symlink" for /dev/log; reduce stack usage
function ... | | |
Bernhard Reutner-Fischer | 9bd8d0c23e8 | - commentary fixes
- use common exit sequence for failure path:
text data bss dec hex filename
... | | |
Paul Fox | 599bbfbd9be | xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths,
return full path in cases where path doesn't resolv... | | |
Denis Vlasenko | abbd363261c | xreadlink: code shrink
udhcp: add missing tryagain member to client_config
function ... | | |
Paul Fox | 53bd4015aa7 | follow symlinks to find the true passwd file before updating. | | |
Paul Fox | 459a2ba1efa | new xmalloc_readlink_follow() routine to fully expand trailing symlinks
to get to a "real" file (or directory). | | |
Paul Fox | 49cce2b8384 | add "-A N" / "--tryagain=N" option to client, to allow altering the
default 60 second wait after failure to get a lease. | | |
Paul Fox | 6e1b62b18cc | flush typeahead before prompt | | |
Denis Vlasenko | a29a5e40aeb | login: fix PAM login (was unable to complete Kerberos login) | | |
Denis Vlasenko | cb12cb24071 | modprobe: fix a bug where we were entering endless loop
syslogd: strip trailing '\n' too, not only NULs | | |
Denis Vlasenko | 52816302299 | login: clear dangerous environment variables if started by non-root | | |
Denis Vlasenko | 6bef3d1d221 | fbset: fix buglet where we were using wrong pointer
readahead: stop using stdio.h
*: style fixes | | |
Denis Vlasenko | 1bec1b980e3 | telnet: use poll, it's shorter
*: style fixes | | |
Denis Vlasenko | cd0fbb5e778 | unzip: hmm... gcc doesn't like ATTRIBUTE_PACKED?? Document that... | | |
Denis Vlasenko | ef66d75704a | insmod: make error reporting less verbose | | |
Denis Vlasenko | 018b155ad93 | telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)
syslogd: strip trailing NULs | | |
Paul Fox | cb981638f50 | change safety check on zip header to allow for extra length, and
revert the header read to use the correct constant r... | | |
Denis Vlasenko | f8b21d0933a | swaponoff: prevent arithmetic overflow (spotted by Paul Fox <pgf@brightstareng.com>) | | |
Denis Vlasenko | 15c38856880 | fix incorrect text of link-time error message. No code changes | | |
Denis Vlasenko | 9fcd799b98c | webpage: fix typo, remove inconsistent trailing dots
Makefile: version is 1.9.0.svn now | | |
Denis Vlasenko | 3a3e50e3dbd | update screenshot | | |
Denis Vlasenko | 6cee58e9cfe | Announce 1.8.0 | | |
Denis Vlasenko | 360362dc576 | docs: fix new-applet-HOWTO.txt, delete ipv4_ipv6.txt (it's obsolete) | | |
Denis Vlasenko | 06200348be2 | Announce 1.7.3 on website | | |
Denis Vlasenko | bfc3d82256c | ifconfig: code shrink
adjtimex: code shrink
libbb: move nth_string function into libbb
hdparm: nth_string was here
... | | |
Denis Vlasenko | 681023650e6 | grep: fix -Fo | | |
Denis Vlasenko | fa3f806cd07 | apply accumulated post 1.7.2 patches; bump version to 1.7.3 | | |
Denis Vlasenko | b68979aefa0 | insmod: code shrink, stop exporting insmod_ng_main.
function old new... | | |
Denis Vlasenko | 9d1afdb571e | inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by IlyaPanfilov)
inetd: code shrink while at it
funct... | | |
Denis Vlasenko | 9130340adfc | hdparm: code shrink
text data bss dec hex filename
776494 974 9420 786888 c01c8 busybox... | | |
Denis Vlasenko | d059ddc1bbd | e2fsprogs: code shrink
text data bss dec hex filename
776594 974 9420 786988 c022c busy... | | |
Bernhard Reutner-Fischer | 1641d614fa1 | - fix typo in helptext | | |
Denis Vlasenko | 968dbf96856 | minor fix in comment, no code changes | | |
Denis Vlasenko | dfc0740b044 | ll_types.c: optimize link type table, make it conditional
on FEATURE_IP_RARE_PROTOCOLS
function ... | | |
Denis Vlasenko | 15ca51e3e2a | appletlib.c: make it actally follow _BB_SUID_ALWAYS rules
adduser: implement -S and code shrink / fix uid selection
*... | | |
Denis Vlasenko | 5a28a25b9dd | syscall: code shrink
text data bss dec hex filename
777209 974 9676 787859 c0593 busybo... | | |
Denis Vlasenko | 63430ae35ad | mount: size-optimize mount_options[] and nfs_errtbl[]
777253 974 9676 787903 c05bf busybox_old
777209 ... | | |
Denis Vlasenko | a59f435b5f8 | ash: if tcgetattr(stdin) fails, don't mess with tcsetattr
ash: size-optimize ulimit's table of limits
text dat... | | |
Denis Vlasenko | 7ab5e3dfcd7 | svlogd: fix compat problem: svlogd -tt should timestanp stderr too | | |
Denis Vlasenko | 78ee7c853a8 | httpd: fix trivial bug (spotted by Alex Landau) | | |
Denis Vlasenko | 6fa3ab3cf13 | bzip2: make -d actually work | | |
Denis Vlasenko | e5387a0574a | bb_askpass: handle Ctrl-C, restore termoios on Ctrl-C.
sulogin: remove alarm handling, as it is redundant there.
code... | | |
Denis Vlasenko | 037576d77b6 | read_line_input: fix it to not do any fancy editing if echoing is disabled.
ash: make read handling both more correct... | | |
Denis Vlasenko | 99014e89656 | more fixes for help text wrt long options | | |
Denis Vlasenko | a03945aa847 | website: add link to "No ifup" document | | |
Denis Vlasenko | 2edbc2ab85b | ping: fix breakage from -I fix
passwd: SELinux support by KaiGai Kohei <kaigai@ak.jp.nec.com> | | |
Denis Vlasenko | aa7a888e423 | kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com>
kbd_mode_main -... | | |
Denis Vlasenko | 85ff862753b | mkswap: selinux support by KaiGai Kohei <kaigai@ak.jp.nec.com> | | |
Denis Vlasenko | 1a7afb48daf | paing: make -I ethN work too (-I addr already worked) | | |
Denis Vlasenko | fcc569637b8 | unzip: add a comment explaining why we don't die | | |
Denis Vlasenko | bc7c5d082e6 | unzip: fix endianness bugs | | |
Denis Vlasenko | 34cd7afc497 | httpd: free big buffer after use; improve grep-ability of 'headers' variable | | |
Denis Vlasenko | f74194e942b | xatonum.h: add comment
lineedit: fix typo in comment
httpd: support for proxying connection to other http server
(by ... | | |
Denis Vlasenko | 03630784374 | more of usage text fixes wrt long options | | |
Next → |