Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - fix conflicting decls of syslog related facilitynames and prioritynames tables | Bernhard Reutner-Fischer | 2008-01-27 | 1 | -2/+1 | |
| | ||||||
* | libbb: introduce and use safe_waitpid (loops in EINTR) | Denis Vlasenko | 2008-01-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | *: use more approproate (shorter) versions of wait() function old new delta safe_waitpid - 48 +48 wait_any_nohang - 17 +17 send_tree 365 369 +4 processorstop 432 435 +3 text_yank 110 108 -2 make_human_readable_str 202 200 -2 crond_main 1368 1366 -2 handle_sigchld 49 43 -6 reapchild 166 159 -7 custom 260 250 -10 checkscript 191 177 -14 wait_nohang 17 - -17 wait_pid 43 - -43 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes | |||||
* | telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>) | Denis Vlasenko | 2007-11-06 | 1 | -11/+23 | |
| | | | | | syslogd: strip trailing NULs | |||||
* | telnetd: make sure telnetd -K exits if child dies | Denis Vlasenko | 2007-10-17 | 1 | -20/+15 | |
| | ||||||
* | telnetd: trivial optimization | Denis Vlasenko | 2007-10-17 | 1 | -3/+4 | |
| | ||||||
* | ash: use fdprintf, not dprintf. | Denis Vlasenko | 2007-10-17 | 1 | -1/+1 | |
| | | | | | *: trailing whitespace removed | |||||
* | fixes revealed by randomconfig run | Denis Vlasenko | 2007-10-16 | 1 | -8/+10 | |
| | ||||||
* | telnetd: fix comment | Denis Vlasenko | 2007-10-16 | 1 | -1/+1 | |
| | ||||||
* | telnetd: code shrink suggested by Ralf Friedl <Ralf.Friedl@online.de> | Denis Vlasenko | 2007-10-16 | 1 | -31/+36 | |
| | ||||||
* | bzip2: make -s equivalent to -2 (compatible with standard bzip2) | Denis Vlasenko | 2007-10-16 | 1 | -1/+1 | |
| | | | | | telnetd: typo fix in comment | |||||
* | telnetd: at Alexander Kriegisch <Alexander@kriegisch.name> insistence | Denis Vlasenko | 2007-10-15 | 1 | -35/+64 | |
| | | | | | | | | | | | | | | | | | | | add an option to close sessions as soon as child exits. Maybe it should be a CONFIG option. OTOH, maybe it should be always on, as it mimics, say, getty's behaviour. function old new delta handle_sigchld - 49 +49 telnetd_main 1312 1355 +43 .rodata 123429 123466 +37 packed_usage 22770 22806 +36 make_new_session 525 532 +7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 172/0) Total: 172 bytes text data bss dec hex filename 676285 2538 12104 690927 a8aef busybox_old 676421 2538 12104 691063 a8b77 busybox_unstripped | |||||
* | telnetd: document bug in remove_iacs. reinstate band-aid | Denis Vlasenko | 2007-10-15 | 1 | -48/+55 | |
| | | | | | | | which was making it near-impossible to trigger. remove memmove call which was happening at each network read, and in 99%+ cases was not needed. Unfortunately, +50 bytes. | |||||
* | telnetd: some simplifications and better error hadling. | Denis Vlasenko | 2007-10-15 | 1 | -120/+150 | |
| | | | | | | | | | | | | | | | | | | telnetd: don't SIGKILL child when closing the session. kernel will seng SIGHUP for us. static.iacs_to_send - 15 +15 .rodata 123418 123429 +11 make_new_session 549 525 -24 send_iac 26 - -26 free_session 144 118 -26 telnetd_main 1303 1261 -42 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/3 up/down: 26/-118) Total: -92 bytes text data bss dec hex filename 676341 2538 12104 690983 a8b27 busybox_old 676234 2538 12104 690876 a8abc busybox_unstripped | |||||
* | add -fvisibility=hidden to CC flags, mark XXX_main functions | Denis Vlasenko | 2007-10-11 | 1 | -1/+1 | |
| | | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so | |||||
* | don't pass argc in getopt32, it's superfluous | Denis Vlasenko | 2007-08-18 | 1 | -1/+1 | |
| | | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped | |||||
* | test: suppress gcc warning | Denis Vlasenko | 2007-06-25 | 1 | -13/+13 | |
| | | | | | telnetd: do not use suferfluous static variable. | |||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 | |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | |||||
* | style fixes. No code changes. | Denis Vlasenko | 2007-04-10 | 1 | -2/+1 | |
| | ||||||
* | move everything to new NOMMU helpers, except udhcp | Denis Vlasenko | 2007-03-26 | 1 | -1/+1 | |
| | ||||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -2/+2 | |
| | | | | no preceding prototype | |||||
* | openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code | Denis Vlasenko | 2007-01-19 | 1 | -4/+8 | |
| | | | | | | | | | (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(); | |||||
* | whitespace fixes (leading spaces to tab) | Denis Vlasenko | 2007-01-13 | 1 | -1/+1 | |
| | ||||||
* | next part of ipv6-ization. dnsd code is "interesting"... | Denis Vlasenko | 2007-01-12 | 1 | -10/+1 | |
| | ||||||
* | Trailing whitespace removal over entire tree | Denis Vlasenko | 2007-01-11 | 1 | -1/+1 | |
| | ||||||
* | Improve generic ipv4+ipv6 support in libbb. | Denis Vlasenko | 2007-01-10 | 1 | -1/+1 | |
| | | | | | | | | | 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). | |||||
* | telnetd: move generic stuff into libbb. It will make it easy | Denis Vlasenko | 2006-11-22 | 1 | -78/+2 | |
| | | | | to make other server applets IPv6-aware too. | |||||
* | telnetd: if FEATURE_IPV6 is on, telnet will NOT work on IPv4 | Denis Vlasenko | 2006-11-22 | 1 | -21/+65 | |
| | | | | which is kind of stupid | |||||
* | telnetd: we were having telnetd with is ONLY inetd or ONLY standalone. | Denis Vlasenko | 2006-11-22 | 1 | -353/+318 | |
| | | | | | What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd. | |||||
* | telnetd: check ptsname() for NULL | Denis Vlasenko | 2006-10-15 | 1 | -9/+16 | |
| | ||||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 1 | -2/+2 | |
| | ||||||
* | bb_applet_name -> applet_name | Denis Vlasenko | 2006-10-03 | 1 | -1/+1 | |
| | ||||||
* | getopt_ulflags -> getopt32. | Denis Vlasenko | 2006-10-03 | 1 | -2/+2 | |
| | | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | |||||
* | telnetd: getopt_ulflags'isation | Denis Vlasenko | 2006-09-22 | 1 | -32/+12 | |
| | ||||||
* | Implement optional syslog logging using ordinary | Denis Vlasenko | 2006-09-06 | 1 | -11/+13 | |
| | | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually. | |||||
* | Unbreak allbareconfig a bit. (The telnetd.c fix is a perfect example of why | Rob Landley | 2006-08-28 | 1 | -19/+6 | |
| | | | | applets which are a forest of #ifdefs are unmaintainable.) | |||||
* | - fix the build if we have ftpput without ftpget (speeling reeoe) | Bernhard Reutner-Fischer | 2006-06-07 | 1 | -1/+1 | |
| | | | | Thanks to Stephane Billiart | |||||
* | More size shrinkage. | Rob Landley | 2006-05-29 | 1 | -6/+2 | |
| | ||||||
* | Consolidate #include <sys/time.h> so libbb.h does it. | Rob Landley | 2006-05-27 | 1 | -1/+0 | |
| | ||||||
* | accept() takes a socklen_t, not an int | Mike Frysinger | 2006-05-10 | 1 | -1/+2 | |
| | ||||||
* | fix whitespace in comment example | Mike Frysinger | 2006-05-10 | 1 | -1/+1 | |
| | ||||||
* | some more useful debug info from Jason Holden | Mike Frysinger | 2006-05-10 | 1 | -1/+5 | |
| | ||||||
* | touchup whitespace/english a bit more | Mike Frysinger | 2006-05-10 | 1 | -3/+2 | |
| | ||||||
* | whitespace between if and ( | Mike Frysinger | 2006-05-10 | 1 | -5/+5 | |
| | ||||||
* | - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten() | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -8/+2 | |
| | ||||||
* | - patch from Denis Vlasenko to add and use bb_xdaemon() | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -4/+2 | |
| | ||||||
* | - patch from Denis Vlasenko to add and use bb_xsocket() and to use | Bernhard Reutner-Fischer | 2006-04-12 | 1 | -8/+4 | |
| | | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it. | |||||
* | fix up annoying signed/unsigned and mixed type errors | Eric Andersen | 2006-01-30 | 1 | -1/+1 | |
| | ||||||
* | just whitespace | Tim Riker | 2006-01-25 | 1 | -4/+4 | |
| | ||||||
* | telnetd -b (bind to specific address) support from Iuri Gomes Diniz. | Rob Landley | 2005-11-10 | 1 | -1/+9 | |
| | ||||||
* | Patch from Jason Schoon to add IPV6 support to telnetd. Reworked by Rob | Rob Landley | 2005-05-10 | 1 | -2/+16 | |
| | | | | | Landley to remove an #ifdef and move another one out of the flow of code. |