aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - manually inline tty_value_to_baud and remove string_to_baud_or_diealdot2007-01-171-10/+5
| | | | | | | (cleanup) git-svn-id: svn://busybox.net/trunk/busybox@17350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - constify some read-only members and remove superfluous castsaldot2007-01-171-12/+11
| | | | | | | (cleanup) git-svn-id: svn://busybox.net/trunk/busybox@17349 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse option_mask32 for state-handling in mainaldot2007-01-171-36/+33
| | | | | | | - improve check for errors from fcntl git-svn-id: svn://busybox.net/trunk/busybox@17348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - replace some occurances of "kernel" with busyboxaldot2007-01-174-14/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* httpd: use fd#1 in inetd modevda2007-01-142-5/+11
| | | | | | | inetd: micro style fix git-svn-id: svn://busybox.net/trunk/busybox@17304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd: preparatory patch, no code changesvda2007-01-141-63/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17303 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdiovda2007-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. git-svn-id: svn://busybox.net/trunk/busybox@17302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size optimizationvda2007-01-141-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* isrv.h: add copyright infovda2007-01-141-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17300 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I forgot "svn add" AGAIN! :(vda2007-01-141-0/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17299 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeidentd: avoid extra fcntl callsvda2007-01-141-11/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17298 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeidentd: fix daemon mode (was thinking that it is invda2007-01-142-23/+27
| | | | | | | | inetd-wait mode and dying after timeout). Minor fixes, comments are improved in places. git-svn-id: svn://busybox.net/trunk/busybox@17297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd: open log after daemonizationvda2007-01-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* By popular request reinstate fakeidentd's standalone mode.vda2007-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). git-svn-id: svn://busybox.net/trunk/busybox@17275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixes (leading spaces to tab)vda2007-01-1311-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small fixes to ipv6 infrastructurevda2007-01-131-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small size optimizationsvda2007-01-128-23/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -vda2007-01-121-0/+3
| | | | | | | stty -echo didn't work. Introduced by me :( git-svn-id: svn://busybox.net/trunk/busybox@17262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: rearrange functions, avoiding the need in forward declarations.vda2007-01-121-386/+374
| | | | | | | No other code chages. git-svn-id: svn://busybox.net/trunk/busybox@17261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsvda2007-01-121-9/+7
| | | | | | | are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs. git-svn-id: svn://busybox.net/trunk/busybox@17260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. mostly netcat.vda2007-01-126-77/+95
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. dnsd code is "interesting"...vda2007-01-123-108/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization is here: wget & httpdvda2007-01-128-123/+145
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeinetd: attempted ipv6-ization (and it's done)vda2007-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 git-svn-id: svn://busybox.net/trunk/busybox@17256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix my own breakagevda2007-01-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trailing whitespace removal over entire treevda2007-01-1148-310/+310
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix verbose output; remove commented-out includes.vda2007-01-114-19/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipv6-ization efforts continue. Few bugs are found,vda2007-01-115-200/+191
| | | | | | | unknown number likely introduced... git-svn-id: svn://busybox.net/trunk/busybox@17250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* code shrinkage by Bernhard Fischer <rep.nop@aon.at>vda2007-01-101-49/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* missed a few #undefs (no real impact I think)vda2007-01-101-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17231 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bug 1146 (gunzip breakage introduced by me --vda)vda2007-01-101-17/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17230 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit more IPv6-ization workvda2007-01-103-41/+38
| | | | | | | syslogd: converted to use it (in -R host:port) git-svn-id: svn://busybox.net/trunk/busybox@17229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve generic ipv4+ipv6 support in libbb.vda2007-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). git-svn-id: svn://busybox.net/trunk/busybox@17221 69ca8d6d-28ef-0310-b511-8ec308f3f277
* execute "safe applets" exev if not standalone shellvda2007-01-101-1/+1
| | | | | | | (patch by "Eric Spakman" <E.Spakman@inter.nl.net>) git-svn-id: svn://busybox.net/trunk/busybox@17216 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix typo in usage text by shortening itvda2007-01-091-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17215 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-5/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17214 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size reduction by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17213 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size reduction by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-7/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17212 69ca8d6d-28ef-0310-b511-8ec308f3f277
* compilation fix by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - missing hunk to go with r17206aldot2007-01-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17208 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink by 26 bytes or soaldot2007-01-091-15/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17207 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - vapier wants LD to point to CC, revert my previous changealdot2007-01-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink klogd a tiny bit.aldot2007-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 git-svn-id: svn://busybox.net/trunk/busybox@17205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vda, we once had a get_chomped_line_from_file or the like. Where is that ↵aldot2007-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 git-svn-id: svn://busybox.net/trunk/busybox@17204 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping6: fix sequence numbers (missed ntoh) and ttl display.vda2007-01-082-75/+58
| | | | | | | | (apparently some, eh, clever libc guy decided that *CHANGING* IPV6_HOPLIMIT value in libc header is a nifty idea...) git-svn-id: svn://busybox.net/trunk/busybox@17203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - guess we need dl tooaldot2007-01-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17201 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - set LD to ldaldot2007-01-082-12/+6
| | | | | | | - simplify the cmd_busybox__ a bit and pass the LDFLAGS via -Wl down to CC git-svn-id: svn://busybox.net/trunk/busybox@17200 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Previous "fix" wasn't good enough.vda2007-01-071-1/+1
| | | | | | | Now *this* is the correct fix (I think). git-svn-id: svn://busybox.net/trunk/busybox@17199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* arp: small fixes for user-supplied device name casevda2007-01-071-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17198 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - style fixes and shrink by another 4 bytes while at it.aldot2007-01-071-25/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17197 69ca8d6d-28ef-0310-b511-8ec308f3f277