summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* releasing busybox 1.4.01_4_0Denis Vlasenko2007-01-201-1/+1
|
* fixing bugs revealed by randomconfig runsDenis Vlasenko2007-01-203-3/+9
|
* fixes for amd64 compilationDenis Vlasenko2007-01-203-8/+11
|
* ls: stop doing time() for each file in "ls -l"Denis Vlasenko2007-01-191-1/+14
| | | | | ls: use fully-buffered stdout (can it be problematic on VERY slow/hanging NFS mounts?)
* strdup -> xstrdupDenis Vlasenko2007-01-193-5/+6
| | | | sed: de-obfuscate piece of code
* ls: use get_cached_username/groupnameDenis Vlasenko2007-01-193-22/+20
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-1915-54/+57
| | | | | | | | | (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();
* fsck: dead code removal; also disable progress indicator codeDenis Vlasenko2007-01-191-127/+81
| | | | (doesn't look good to me)
* fsck: stop using strtokDenis Vlasenko2007-01-191-73/+84
|
* fsck: move functions around so that related ones are nearbyDenis Vlasenko2007-01-191-170/+185
| | | | no actual code changes
* fsck: small optimizationDenis Vlasenko2007-01-191-42/+31
|
* fix potentially misaligned 32-bit accessesDenis Vlasenko2007-01-181-3/+6
|
* - move the smallint that is platform dependant to it's proper placeBernhard Reutner-Fischer2007-01-182-11/+11
|
* Use char for smallint on CRIS as well.Peter Kjellerstedt2007-01-181-1/+1
|
* - reinstate paranoia check in wrapf().Bernhard Reutner-Fischer2007-01-181-2/+3
|
* fix subtle bug inherited from dashDenis Vlasenko2007-01-181-4/+8
|
* stop using global variable needlesslyDenis Vlasenko2007-01-181-28/+30
|
* smallint can be a char for amd64 tooDenis Vlasenko2007-01-181-1/+1
|
* sed,get_line_from_file: improve commentsDenis Vlasenko2007-01-172-19/+30
|
* - stty's visible() function and catv's guts are identical. Merge them intoBernhard Reutner-Fischer2007-01-171-1/+5
| | | | an appropriate libbb function.
* - remove superfluous define that expanded to "!strcmp"Bernhard Reutner-Fischer2007-01-171-22/+3
| | | | - remove some dead code
* - reuse return code of vsnprintf to avoid pulling in strlenBernhard Reutner-Fischer2007-01-171-3/+3
|
* - merge display_changed() and display_all()Bernhard Reutner-Fischer2007-01-171-69/+22
| | | | This one is a bit risky but did work for me in cursory testing..
* - peruse get_terminal_width_height and remove legacy code for ancientBernhard Reutner-Fischer2007-01-171-69/+10
| | | | slowaris versions.
* - rewrite find_param to use index_in_str_arrayBernhard Reutner-Fischer2007-01-171-1/+21
|
* - manually inline tty_value_to_baud and remove string_to_baud_or_dieBernhard Reutner-Fischer2007-01-171-10/+5
| | | | (cleanup)
* - constify some read-only members and remove superfluous castsBernhard Reutner-Fischer2007-01-171-12/+11
| | | | (cleanup)
* - reuse option_mask32 for state-handling in mainBernhard Reutner-Fischer2007-01-171-36/+33
| | | | - improve check for errors from fcntl
* - replace some occurances of "kernel" with busyboxBernhard Reutner-Fischer2007-01-174-14/+14
|
* httpd: use fd#1 in inetd modeDenis Vlasenko2007-01-142-5/+11
| | | | inetd: micro style fix
* inetd: preparatory patch, no code changesDenis Vlasenko2007-01-141-63/+64
|
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko2007-01-144-11/+16
| | | | | | (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
* small size optimizationDenis Vlasenko2007-01-141-2/+3
|
* isrv.h: add copyright infoDenis Vlasenko2007-01-141-0/+10
|
* I forgot "svn add" AGAIN! :(Denis Vlasenko2007-01-141-0/+23
|
* fakeidentd: avoid extra fcntl callsDenis Vlasenko2007-01-141-11/+13
|
* fakeidentd: fix daemon mode (was thinking that it is inDenis Vlasenko2007-01-142-23/+27
| | | | | inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places.
* inetd: open log after daemonizationDenis Vlasenko2007-01-141-2/+1
|
* By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko2007-01-147-24/+523
| | | | | | | | | | | 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).
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-1311-13/+13
|
* small fixes to ipv6 infrastructureDenis Vlasenko2007-01-131-0/+2
|
* random small size optimizationsDenis Vlasenko2007-01-128-23/+34
|
* stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -Denis Vlasenko2007-01-121-0/+3
| | | | stty -echo didn't work. Introduced by me :(
* stty: rearrange functions, avoiding the need in forward declarations.Denis Vlasenko2007-01-121-386/+374
| | | | No other code chages.
* undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsDenis Vlasenko2007-01-121-9/+7
| | | | are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs.
* next part of ipv6-ization. mostly netcat.Denis Vlasenko2007-01-126-77/+95
|
* next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko2007-01-123-108/+53
|
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-128-123/+145
|
* fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko2007-01-113-190/+214
| | | | | | | | | | | | | | | | | | | | | | | | 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
* fix my own breakageDenis Vlasenko2007-01-111-1/+1
|