aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* - 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
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-1148-310/+310
|
* fix verbose output; remove commented-out includes.Denis Vlasenko2007-01-114-19/+4
|
* ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko2007-01-115-200/+191
| | | | unknown number likely introduced...
* code shrinkage by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-101-49/+31
|
* missed a few #undefs (no real impact I think)Denis Vlasenko2007-01-101-0/+2
|
* fix bug 1146 (gunzip breakage introduced by me --vda)Denis Vlasenko2007-01-101-17/+19
|
* a bit more IPv6-ization workDenis Vlasenko2007-01-103-41/+38
| | | | syslogd: converted to use it (in -R host:port)
* Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko2007-01-104-116/+172
| | | | | | | | | Convert telnet to it. Now this works: telnetd -b [::1]:1234 - bind to IPv6 non-standard port telnet [::1]:1234 - connect to IPv6 non-standard port telnet ::1 1234 - same This does not require ANY ipv6-specific code in applets (no struct sockaddr_in6. In fact, no sockaddr_in, too).
* execute "safe applets" exev if not standalone shellDenis Vlasenko2007-01-101-1/+1
| | | | (patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
* Fix typo in usage text by shortening itDenis Vlasenko2007-01-091-3/+3
|
* Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-5/+2
|
* small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-3/+2
|
* small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-7/+6
|
* compilation fix by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-1/+4
|
* - missing hunk to go with r17206Bernhard Reutner-Fischer2007-01-091-1/+1
|
* - shrink by 26 bytes or soBernhard Reutner-Fischer2007-01-091-15/+21
|
* - vapier wants LD to point to CC, revert my previous changeBernhard Reutner-Fischer2007-01-091-1/+1
|
* - shrink klogd a tiny bit.Bernhard Reutner-Fischer2007-01-091-9/+12
| | | | | | | Compile tested only, would have sent it to the list for review but they don't show up in the ML archives :-/ text data bss dec hex filename 533 0 0 533 215 sysklogd/klogd.o.orig 530 0 0 530 212 sysklogd/klogd.o
* vda, we once had a get_chomped_line_from_file or the like. Where is that ↵Bernhard Reutner-Fischer2007-01-091-17/+15
| | | | | | nowadays? FIXME: use it here instead of the fgets() - shrink by ~9%: use common_buf, reuse are_you_root, adopt to global option_mask32
* ping6: fix sequence numbers (missed ntoh) and ttl display.Denis Vlasenko2007-01-082-75/+58
| | | | | (apparently some, eh, clever libc guy decided that *CHANGING* IPV6_HOPLIMIT value in libc header is a nifty idea...)
* - guess we need dl tooBernhard Reutner-Fischer2007-01-081-1/+1
|
* - set LD to ldBernhard Reutner-Fischer2007-01-082-12/+6
| | | | - simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC