Mike Frysinger | c7b10dc037c | set default FLTFLAGS for a fatty stack | | |
Denis Vlasenko | 2f7b923f5c4 | find: improve usage text (Natanael Copa <natanael.copa@gmail.com>) | | |
Denis Vlasenko | 5f42d268655 | nc: missed exit() in signal handler | | |
Denis Vlasenko | 29fe7265b8c | nc: port nc 1.10 to busybox | | |
Bernhard Reutner-Fischer | 00c2c4868a5 | - clean up addgroup, fix adding users to existing groups and make it optional (Tito) | | |
Bernhard Reutner-Fischer | 45aebfd32d3 | - bail out if either file does not exist
Avoids filling my scrollback-buffer with superfluous information ;) | | |
Bernhard Reutner-Fischer | 2e75dcc80d6 | - add -s|--spider which only checks if the file exists but does not download it's content.
Closes #1291 | | |
Bernhard Reutner-Fischer | 6d79dd66cbe | - size and prune were mixed up | | |
Bernhard Reutner-Fischer | bdd253e4505 | - fix segfault in reset_ino_dev_hashtable() when *hashtable was null.
Seen in the testsuite for du -l .../testsuite... | | |
Denis Vlasenko | 7d6c9296e71 | find: missed 'ststic' on const data | | |
Denis Vlasenko | 56fce00fc7c | find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)
find: -group, -depth (Natanael Copa <natanael.copa@gmail.c... | | |
Bernhard Reutner-Fischer | febe3c42110 | - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" | | |
Bernhard Reutner-Fischer | d9c2d5fe4ff | - minor shrinkage
text data bss dec hex filename
1431 0 4 1435 59b tail.o.ori... | | |
Bernhard Reutner-Fischer | 10aed96f14c | - remove debugging output. sorry.. | | |
Bernhard Reutner-Fischer | 24efe4f15fe | - note cosmetic glitch in tail | | |
Denis Vlasenko | 1ca332b367b | reword comment | | |
Bernhard Reutner-Fischer | 2a47dea263a | - remove bss users. Shrinkage while at it. See XXX for further, pre-existing bugs
text data bss dec ... | | |
Bernhard Reutner-Fischer | 3a60244ae94 | - remove some bss users.
text data bss dec hex filename
6220 8 14 6242 1862 stt... | | |
Bernhard Reutner-Fischer | 0e6ab01c5a5 | - remove superfluous bss user (flags) and manually unswitch some areas:
text data bss dec hex filen... | | |
Denis Vlasenko | 794687947fe | Add/improve comment, shorten some usage texts. No code changes. | | |
Denis Vlasenko | 64a15124e71 | ipsvd: use IP:PORT syntax for environment vars. Pros:
1. it's saner (matches internal libc sockaddr abstraction).
2. ... | | |
Denis Vlasenko | 02fd66885cf | ipsvd: make udpsvd work similar to tcpsvd (multiple parallel
children for several streams of udp packets tested to wo... | | |
Denis Vlasenko | b933ac1e25e | ipsvd: fixes and improvements after testing | | |
Denis Vlasenko | 992e05b6f07 | udpsvd: more work on it. works in limited testing. | | |
Bernhard Reutner-Fischer | cea0a8bccbb | - use bb_error_msg | | |
Bernhard Reutner-Fischer | 8025afad8af | - use xregcomp. Untested. vda, isn't there a regfree missing here?
text data bss dec hex filename
... | | |
Bernhard Reutner-Fischer | 3c5929a53bf | - remove some unneeded forward declarations. No obj-code changes. | | |
Bernhard Reutner-Fischer | adb01b15831 | - remove args from bss, minor misc shrinkage while at it.
text data bss dec hex filename
2577 ... | | |
Denis Vlasenko | 729bd9e0b0d | test: comment out unused code
udpsvd: fake it compile
tcpsvd: more optimal memorizing of IP's for -C | | |
Denis Vlasenko | b05a939bcc0 | udpsvd: forgotten 'svn add' | | |
Denis Vlasenko | 60fadaca28f | udpsvd: next part of ipsvd applets (not working yet) | | |
Denis Vlasenko | 57a426b15be | tcpsvd: fix line buffering, add firewall query code | | |
Denis Vlasenko | ba2fb719b92 | Copyright, help text, whitespace cleanups | | |
Denis Vlasenko | 2856dab4770 | tcpsvd: new applet
It's a GPL-ed 'clone' of Dan Bernstein's tcpserver.
Author: Gerrit Pape <pape@smarden.org>
http://... | | |
Denis Vlasenko | f443bffd3c2 | lash: make -c work; crush buffer overrun and free of non-malloced ptr
(from Mats Erik Andersson <mats.andersson64@com... | | |
Denis Vlasenko | 6fa8b8e17f8 | lash: style cleanup | | |
Denis Vlasenko | 9eb51ad6b90 | website: link to post-1.5.0 fixes, fix dangling link | | |
Denis Vlasenko | ae47cd1da77 | hdparm: fix multisector mode setting
(from Toni Mirabete <amirabete@catix.cat>) | | |
Denis Vlasenko | 4caa09a7829 | uniq: getopt32-ization. -38 bytes. | | |
Denis Vlasenko | 666c40c9fce | unzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!) | | |
Mike Frysinger | 05732281e46 | also fix static selinux linking on branch | | |
Bernhard Reutner-Fischer | 7b881c71689 | - fix compilation if FEATURE_TR_CLASSES is off. Sorry for that.. | | |
Bernhard Reutner-Fischer | cc890264d9a | - debloat test. untested.
text data bss dec hex filename
3154 0 172 3326 cfe te... | | |
Bernhard Reutner-Fischer | eceecea568a | - fix bug where we did not reject invalid classes like '[[:alpha'
- debloat while at it:
text data bss ... | | |
Mike Frysinger | 52a9db6bb87 | introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are... | | |
Denis Vlasenko | 2e723237c93 | traceroute: move data off bss. small code optimizations.
function old ... | | |
Denis Vlasenko | 53f83d68fb0 | dpkg: run_package_script() returns 0 if all ok and non-zero if failure.
The result code was checked incorrectly in tw... | | |
Denis Vlasenko | 5e43d8591b5 | dumpleases: getopt32()-ization
(from Mats Erik Andersson <mats.andersson64@comhem.se>) | | |
Bernhard Reutner-Fischer | a87ed2c716d | - use index_in_str_array also for find_main
text data bss dec hex filename
2605 1 12 ... | | |
Bernhard Reutner-Fischer | 307d27df4fa | - remove bloated switch statement.
text data bss dec hex filename
2706 1 12 2719 ... | | |
Bernhard Reutner-Fischer | 557b458767f | - implement a TODO: Use index_in_str_array in parse_params
text data bss dec hex filename
2771 ... | | |
Bernhard Reutner-Fischer | 32773aca55a | - Purely cosmetic type fiddling | | |
Bernhard Reutner-Fischer | 3e816c1252c | - fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b... | | |
Bernhard Reutner-Fischer | 3d43edb28c8 | - update defconfig | | |
Denis Vlasenko | c7d4b98cbdb | run_parts: I was wrong, NULL termination is already done because
G is pre-initialized to 0. | | |
Denis Vlasenko | 45cd089df1d | run_parts: NULL-terminate list of arguments; fix perror/error usage | | |
Denis Vlasenko | 450196c119e | ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer) | | |
Bernhard Reutner-Fischer | b7cffd4bedf | - rewrite run-parts
text data bss dec hex filename
1029 0 0 1029 405 debianut... | | |
Bernhard Reutner-Fischer | 0a537a0c576 | - move additional fancy options not mandated by SUSv3 into a FANCY option | | |
Bernhard Reutner-Fischer | 0864f4d14f8 | - fix formatting of help text | | |
Bernhard Reutner-Fischer | 58a275b303a | - reinstate dmalloc and efence support | | |
Denis Vlasenko | 0eec4abb137 | hdparm: flag variables can easily be smaller than long
function old ... | | |
Denis Vlasenko | 7c282a20789 | hdparm: remove stray static (-200 bytes bss) | | |
Denis Vlasenko | f1ba7495092 | hdparm: whitespace style fixes | | |
Denis Vlasenko | 6a5598c2bc3 | pidfile creation mode set to 0666 (umask affects it as usual) | | |
Denis Vlasenko | ebf48bb80cc | forgotten svn add... | | |
Denis Vlasenko | 10457b90db9 | make pidfile writing configurable.
[ui]toa_to_buf: change API. No users yet. | | |
Denis Vlasenko | f4d40c87d3a | remove_file: cosmetic code improvement, a few bytes saved | | |
Denis Vlasenko | 3983bd5593a | diff: fix SEGV (NULL deref) in diff -N | | |
Denis Vlasenko | 17a1526f9e2 | sed: a communal variable managed to slip past 'size'
('size' happily displays 0 bytes in data and bss,
but in reality... | | |
Denis Vlasenko | 91dd275f058 | split: let me join bikeshed painting frenzy :)
this one should be able to handle huge files.
text data bss ... | | |
Bernhard Reutner-Fischer | 576de34d1c2 | - check the suffix proper plus misc touch up | | |
Denis Vlasenko | afa7023b465 | zcip: make it work on NOMMU (+ improve NOMMU support machinery)
fsck: fix bad English in a comment | | |
Bernhard Reutner-Fischer | 4e1361a4819 | - add usage for split | | |
Bernhard Reutner-Fischer | b813eaff232 | - implement suffices as required by SUSv3
- fix glitch in next_file (suffices were exhaused too early). | | |
Denis Vlasenko | 53091ecd20c | Attempt to get more applets compile for NOMMU.
TODO_config_nommu documents what I managed to compile so far
(yay! msh... | | |
Denis Vlasenko | ec1a4b5a521 | pidfile.c: not used anymore
BTW, previous change removed pidfile locking, -700 code (static compile) | | |
Denis Vlasenko | af1c84360f0 | Move udhcp to new NOMMU helpers.
Fix server part to compile under NOMMU.
Client is not compilable yet.
On MMU everyth... | | |
Denis Vlasenko | 5a142025d37 | move everything to new NOMMU helpers, except udhcp | | |
Denis Vlasenko | bb7fcb4229f | libbb: rework NOMMU helper API so that it makes more sense
and easier to use. Doesn't compile - need two more commits. | | |
Denis Vlasenko | f62c6fa1cae | nmeter: should die if stdout doesn't like him anymore | | |
Bernhard Reutner-Fischer | cd43dfdeec6 | - shrink a tiny bit (-8b) | | |
Denis Vlasenko | cad04ef4f34 | add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy | | |
Bernhard Reutner-Fischer | 10f8f5f4433 | - rough prototype for split(1). TODO: Still needs some love since it's way too big..
text data bss dec ... | | |
Denis Vlasenko | 55f30b05ac6 | inetd,ed,msh: data/bss reduction (in mss, more than 9k of it) | | |
Denis Vlasenko | c0415a98334 | login: nuke nonblock() - we have it in libbb; -400 bytes bss. | | |
Denis Vlasenko | 8a503be840f | #ifdef out re_execed on MMU machines | | |
Denis Vlasenko | 76953285756 | adduser: don't bomb out if shadow password file doesn't exist
(from Tito <farmatito@tiscali.it>) | | |
Denis Vlasenko | 219d14d514c | random style fixes (extra spaces deleted) | | |
Denis Vlasenko | 644849a3aa0 | SELinux: load_policy applet - this time with svn add | | |
Denis Vlasenko | 1fc6e56684d | SELinux: load_policy applet | | |
Denis Vlasenko | 5b27fbe990d | dc: use common_bufsiz1 for evaluation stack
msh: fix "underscore bug" (a_b=1111 didn't work)
dnsd: openlog(), so that... | | |
Denis Vlasenko | b5b45a91f0f | dnsd: last commit had a typo :( | | |
Denis Vlasenko | d3bac03988b | dnsd: fix several buglets, make smaller | | |
Denis Vlasenko | 9067f13be06 | NOMMU re-exec trick shuld not depend on existence of "don't daemonize"
option for every affected applet (and dnsd, fo... | | |
Denis Vlasenko | 1b6fa4c57ce | applets.c, xfunc.c: style cleanup | | |
Denis Vlasenko | ce074df814d | inetd: indent labels uniformly | | |
Denis Vlasenko | 7d10823f6a6 | Announce 1.5.0 and move svn to 1.6.0.svn | | |
Denis Vlasenko | 4b38e297641 | This revision is busybox 1.5.0 | | |
Denis Vlasenko | 58875aefe46 | assorted fixes uncovered by randomconfig runs | | |
Denis Vlasenko | d0587ed9666 | interface: revert part of commit 18120 (eth aliases work again) | | |
Denis Vlasenko | cbcff2936e3 | gzip: fix -d option handling | | |
Denis Vlasenko | 1787e224650 | ifconfig: support (by ignoring it) "inet" before IP address or hostname | | |
Denis Vlasenko | 2a51af25795 | vi: fix signed char-induced potential bugs | | |
Denis Vlasenko | 9a1fa8cf07f | cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build) | | |
Denis Vlasenko | 7c139b47788 | ash: fix signal handling | | |
Denis Vlasenko | b8e72fdde11 | add info about gcc's sadistic alignment - and how to disable it | | |
Denis Vlasenko | afa37cf508d | vi: remove Byte typedef and massive amount of casts.
also optimize many strlen() calls.
if (strlen(buf) <= 0) goto vc... | | |
Denis Vlasenko | f9234135f8b | vi: support $EXINIT and -c | | |
Denis Vlasenko | 4f93cde77f6 | syslogd: fix it for small BUFSIZ case | | |
Denis Vlasenko | f3630650210 | small doc update | | |
Denis Vlasenko | c86e052b812 | fix accumulated whitespace and indentation damage | | |
Denis Vlasenko | e84aeb5bcb1 | update docs | | |
Denis Vlasenko | 88a2aa98e06 | dpkg: free_package(NULL) is ok, so don't test for NULL, just free. | | |
Denis Vlasenko | 97fd6d81b4f | ls: fix segfault-if-standalone-shell, add big fat comment. | | |
Bernhard Reutner-Fischer | 6111a8f2e73 | - don't automatically select run-parts but point out that this is a system-utility in the strict sense. | | |
Bernhard Reutner-Fischer | 16deb867468 | - very minor size tweak.
TODO: mv to globals, config-out non-busybox dhcp client stuff, reduce string bloat, etc
... | | |
Denis Vlasenko | 3d101dd4670 | expand documentation | | |
Bernhard Reutner-Fischer | be862096c0b | - be gentle to the intel compiler and make sure we have __u64 which is needed for linux/loop.h | | |
Denis Vlasenko | 54e3d1f00d1 | telnet: finish style cleanup bits | | |
Denis Vlasenko | f24cdf1554a | telnet: someone tried to do data optimization before me. Complete it.
text data bss dec hex filenam... | | |
Denis Vlasenko | dfce08f281c | fdisk: bb_common_bufsiz1 is too small for globals on 64-bit CPU | | |
Denis Vlasenko | bd852076b9f | fdisk: get rid of _() macro.
Shorten some messages. Stop using stderr - anyone who tries
to use fdisk no-interactivel... | | |
Bernhard Reutner-Fischer | de8a6a01d84 | Kim B. Heino writes:
When installing a new package with dpkg dependencies are checked
correctly. But when I try to u... | | |
Denis Vlasenko | 41e1dc3f8bf | make clean deletes .kernelrelease now
trylink deleted empty linker stderr on success | | |
Denis Vlasenko | 4b4b619c9cd | include <stddef.h> so that ptrdiff_t is again available | | |
Denis Vlasenko | 1c86a29aea6 | Announce 1.4.2 | | |
Denis Vlasenko | 993c6aa0770 | release 1.4.2 | | |
Denis Vlasenko | d60a279c341 | wget: fix access-to-ro memory | | |
Denis Vlasenko | 5483a19fc3a | tftp: fix wrong check for port numbers | | |
Denis Vlasenko | 67457663475 | tar: fix tar option parsing | | |
Denis Vlasenko | a631e716429 | ip: fix misnumbered command names | | |
Denis Vlasenko | e3d83aafb40 | fix erroneous lowercasing by bb_hexdigits_upcase[i] | 0x10 | | |
Denis Vlasenko | 83bb98f7597 | mkfs_minix: remove older, less efficient bss reduction trick | | |
Denis Vlasenko | 8e1a0cc4c9f | fdisk: move 2k ptes[] array into bb_common_bufsiz1 | | |
Denis Vlasenko | 6b343ddbc81 | fix inadvertently leaked PWD_BUFFER_SIZE | | |
Denis Vlasenko | 081ef799fa2 | random fixes to help text | | |
Mike Frysinger | 7a96504d30e | dont use obsolete function index() as pointed out by src.obsolete.funcs | | |
Mike Frysinger | 75acbe322c7 | punt useless header as pointed out by src.obsolete.headers | | |
Mike Frysinger | 757ed50841a | fix typo as pointed out by src.obsolete.funcs | | |
Denis Vlasenko | 4b0bb9e0fd9 | sed: fix very obscure case of escaped newline in sed command
(needed for uclibc build, btw). Add testcase for it. | | |
Bernhard Reutner-Fischer | 486e7ca6b75 | - touchup wording a bit | | |
Denis Vlasenko | 84a9b8750e5 | build system: produce link map. Rather useful when you
are wondering why your busybox is much bigger that you hoped for. | | |
Denis Vlasenko | 3ce293b5856 | gunzip: s/unsigned char extra_short/unsigned extra_short/
we can unzip openssh-4.3p2.tar.gz now :) | | |
Denis Vlasenko | 4efeaee387e | mkfs_minix: stop using lots of bss/data.
data -3500 bytes, code -300 bytes
keep_data_small: expand/fix | | |
Denis Vlasenko | 5e892bae51a | syslogd: reduce data/bss usage. Code size is practically the same. | | |
Denis Vlasenko | bff32ce4d5a | gzip: Improve ptr_to_globals trick, allowing gcc
to optimize better. -480 bytes. | | |
Denis Vlasenko | 1cc70225e7b | networking/interface.c: was doing really strange caching of fd's
open for getting ifconfig data - ??! Simplified all ... | | |
Denis Vlasenko | 54d14ca1a2a | copy_file: comment out one condition which is always false.
Add comment explaining POSIX rules for cp - and why
these... | | |
Denis Vlasenko | 24af7201e98 | fix TODO: getopt32 should reset optind to 1 itself | | |
Denis Vlasenko | 972288e62fa | modify ptr_to_globals trick so that we do not violate
type safety (well, sort of ;)) | | |
Denis Vlasenko | dd2b2f75ae3 | adjtimex: fix argument types (most importantly, allow negative ones) | | |
Denis Vlasenko | 56594075951 | swapon: reinstate hole check but reduce it to warning
inode_hash: remove unused variable | | |
Denis Vlasenko | 7f2527e5a7f | arp, networking/interface.c: eliminate statics
and unneeded on-stack buffers, disable (comment out)
some apparently u... | | |
Denis Vlasenko | 650a0459b87 | get_header_ar: reformatted code, no real changes | | |
Denis Vlasenko | 16c7fb7fc5a | chown, env: stop using statics | | |
Denis Vlasenko | e1e93c1e1cf | missed hunk of "stop using big static buffer for inode hash" | | |
Denis Vlasenko | 6ef06eeed43 | stop using big static buffer for inode hash | | |
Denis Vlasenko | 75ab6af71ed | stop using (yet another) static buffer | | |
Denis Vlasenko | cfa2b3a2098 | watchdog: don't use static variable | | |
Denis Vlasenko | 1ce190b7c1a | udhcp: use fdprintf for pidfile creation (smaller code) | | |
Denis Vlasenko | 9616aff095d | cosmetic documentation change | | |
Bernhard Reutner-Fischer | 26a8016da6d | - change option -c to -Z to match newer upstream SElinux conventions | | |
Denis Vlasenko | fe42d17318f | gzip: bbunzip integration fixes | | |
Denis Vlasenko | 75605788ff6 | gzip: use common bbunzip infrastructure - ~700 bytes code less | | |
Denis Vlasenko | 07766bb0e7a | gzip: reduce global data footprint, part 3 | | |
Denis Vlasenko | da799e82274 | gzip: reduce global data footprint, part 2 | | |
Denis Vlasenko | e930fe14413 | gzip: reduce global data footprint, part 1 | | |
Denis Vlasenko | fad03bc3bb3 | fsck_minix: stop using large buffers in bss | | |
Denis Vlasenko | 93ebd4f58dc | ash: popstackmark is reported trying to pop until NULL
is seen (which isn't possible), prevent this. | | |
Denis Vlasenko | 5df955fce2f | Do not fail password check if shadow password does not exist -
fall back to ordinary one
Reduced usage of functions ... | | |
Denis Vlasenko | c9c893d4f59 | resize: make it usable in in backticks; have a timeout (if display
doesn't respond to 'get cursor pos' ESC sequence...) | | |
Denis Vlasenko | 8a164052bfc | add missing copyright statements and doc for sv | | |
Denis Vlasenko | d55a36255d0 | sv: make code trivially smaller | | |
Denis Vlasenko | b5c33b10b9f | chcon: remove redundant ifs: if(p) free(p) | | |
Denis Vlasenko | 39c651e9097 | introduce and use setfscreatecon_or_die
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>)
runcon: *yet another* fix ... | | |
Denis Vlasenko | b3f09f4a509 | swapon: random shrinkage | | |
Denis Vlasenko | 214aec46bd7 | bbunzip: remove extra formatting directives in comments | | |
Denis Vlasenko | 955bccc94fa | chcon: exclude constraints for impossible option if long opts are off | | |
Denis Vlasenko | 1203c9bf2f6 | next portion of selinux updates: chcon, runcon. From
Yuichi Nakamura <himainu-ynakam@miomio.jp>
KaiGai Kohei <busyb... | | |
Denis Vlasenko | baca1759129 | kill superfluous returns at the end of void functions | | |
Denis Vlasenko | ecea8f201e7 | update defconfig | | |
Denis Vlasenko | a4688bf55de | fix buglets found by randomconfig run | | |
Denis Vlasenko | be644a81e91 | awk: support multiple -v options | | |
Denis Vlasenko | 49622d78467 | selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft) | | |
Denis Vlasenko | 4eb8b936cb0 | more: do not mess with "/dev/console" (!);
fill whole 1st screen (was "screen sans one line");
fall back to c... | | |
Denis Vlasenko | 2b52b2797ba | ifupdown: do not complain if !/var/run/ifstate | | |
Denis Vlasenko | 3aba666514c | runsv: random code savings, ~300 bytes | | |
Next → |