aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-19ls: stop doing time() for each file in "ls -l"Denis Vlasenko
ls: use fully-buffered stdout (can it be problematic on VERY slow/hanging NFS mounts?)
2007-01-19strdup -> xstrdupDenis Vlasenko
sed: de-obfuscate piece of code
2007-01-19ls: use get_cached_username/groupnameDenis Vlasenko
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-19fsck: dead code removal; also disable progress indicator codeDenis Vlasenko
(doesn't look good to me)
2007-01-19fsck: stop using strtokDenis Vlasenko
2007-01-19fsck: move functions around so that related ones are nearbyDenis Vlasenko
no actual code changes
2007-01-19fsck: small optimizationDenis Vlasenko
2007-01-18fix potentially misaligned 32-bit accessesDenis Vlasenko
2007-01-18- move the smallint that is platform dependant to it's proper placeBernhard Reutner-Fischer
2007-01-18Use char for smallint on CRIS as well.Peter Kjellerstedt
2007-01-18- reinstate paranoia check in wrapf().Bernhard Reutner-Fischer
2007-01-18fix subtle bug inherited from dashDenis Vlasenko
2007-01-18stop using global variable needlesslyDenis Vlasenko
2007-01-18smallint can be a char for amd64 tooDenis Vlasenko
2007-01-17sed,get_line_from_file: improve commentsDenis Vlasenko
2007-01-17- stty's visible() function and catv's guts are identical. Merge them intoBernhard Reutner-Fischer
an appropriate libbb function.
2007-01-17- remove superfluous define that expanded to "!strcmp"Bernhard Reutner-Fischer
- remove some dead code
2007-01-17- reuse return code of vsnprintf to avoid pulling in strlenBernhard Reutner-Fischer
2007-01-17- merge display_changed() and display_all()Bernhard Reutner-Fischer
This one is a bit risky but did work for me in cursory testing..
2007-01-17- peruse get_terminal_width_height and remove legacy code for ancientBernhard Reutner-Fischer
slowaris versions.
2007-01-17- rewrite find_param to use index_in_str_arrayBernhard Reutner-Fischer
2007-01-17- manually inline tty_value_to_baud and remove string_to_baud_or_dieBernhard Reutner-Fischer
(cleanup)
2007-01-17- constify some read-only members and remove superfluous castsBernhard Reutner-Fischer
(cleanup)
2007-01-17- reuse option_mask32 for state-handling in mainBernhard Reutner-Fischer
- improve check for errors from fcntl
2007-01-17- replace some occurances of "kernel" with busyboxBernhard Reutner-Fischer
2007-01-14httpd: use fd#1 in inetd modeDenis Vlasenko
inetd: micro style fix
2007-01-14inetd: preparatory patch, no code changesDenis Vlasenko
2007-01-14Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko
(name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
2007-01-14small size optimizationDenis Vlasenko
2007-01-14isrv.h: add copyright infoDenis Vlasenko
2007-01-14I forgot "svn add" AGAIN! :(Denis Vlasenko
2007-01-14fakeidentd: avoid extra fcntl callsDenis Vlasenko
2007-01-14fakeidentd: fix daemon mode (was thinking that it is inDenis Vlasenko
inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places.
2007-01-14inetd: open log after daemonizationDenis Vlasenko
2007-01-14By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko
Since this is also needed for other applets like telnetd, introduce generic driver for such things. It even supports inetd-wait ('linger') mode, when inetd hands out listen socket to child and waits to it to die, instead of handing out accepted socket and continuing listening itself (nowait mode). Code growth ~200 bytes. NB: our inetd doesn't support wait mode yet (or mabe it is buggy).
2007-01-13whitespace fixes (leading spaces to tab)Denis Vlasenko
2007-01-13small fixes to ipv6 infrastructureDenis Vlasenko
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-12stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -Denis Vlasenko
stty -echo didn't work. Introduced by me :(
2007-01-12stty: rearrange functions, avoiding the need in forward declarations.Denis Vlasenko
No other code chages.
2007-01-12undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsDenis Vlasenko
are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs.
2007-01-12next part of ipv6-ization. mostly netcat.Denis Vlasenko
2007-01-12next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2007-01-11fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko
but entire applet can be orders of magnitude smaller if written as an inetd service. So did that (#ifdef'ed out entire old version). inetd version is less than 10% of old one! function old new delta packed_usage 22083 22105 +22 nobodystr 4 - -4 bind_ip_address 4 - -4 ident_substr 20 - -20 chmatch 22 - -22 movefd 25 - -25 skipchars 49 - -49 handlexitsigs 51 - -51 replyError 70 - -70 .rodata 158120 158024 -96 deleteConn 102 - -102 G 524 388 -136 conns 560 - -560 fakeidentd_main 1457 143 -1314 ------------------------------------------------------------------------------ (add/remove: 0/10 grow/shrink: 1/3 up/down: 22/-2453) Total: -2431 bytes
2007-01-11fix my own breakageDenis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-11fix verbose output; remove commented-out includes.Denis Vlasenko
2007-01-11ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko
unknown number likely introduced...