telnetd: at Alexander Kriegisch <Alexander@kriegisch.name> insistence
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 15 Oct 2007 22:09:15 +0000 (22:09 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 15 Oct 2007 22:09:15 +0000 (22:09 +0000)
commit25463c99e8d215484b7461fc515d2281678fd464
treee784b890030dfc060bbfe4e3b3a8cd697db48dce
parent355f661706340bacd4ba1e0882d495eac14f79b1
telnetd: at Alexander Kriegisch <Alexander@kriegisch.name> insistence
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

git-svn-id: svn://busybox.net/trunk/busybox@20262 69ca8d6d-28ef-0310-b511-8ec308f3f277
include/usage.h
networking/telnetd.c