summaryrefslogtreecommitdiff
path: root/networking/fakeidentd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-0/+2
| | | | | | | | | (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();
* fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko2007-01-111-179/+167
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-49/+49
|
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-5/+4
| | | | | use them where appropriate. 200 bytes saved
* telnetd: move generic stuff into libbb. It will make it easyDenis Vlasenko2006-11-221-2/+2
| | | | to make other server applets IPv6-aware too.
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | 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.
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-2/+5
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* replacing func() with xfunc() where appropriateDenis Vlasenko2006-09-031-1/+1
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-2/+2
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-15/+3
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Convert setuid/setgid users to xsetuid/xsetgid.Rob Landley2006-07-161-2/+2
|
* use bb_xbind/bb_xlistenMike Frysinger2006-06-071-5/+2
|
* Header cleanup on two more networking files (move libbb.h to the top andRob Landley2006-06-051-8/+2
| | | | | remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em.
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer2006-04-121-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-16/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-1/+1
| | | | the busybox binary) into enums (which don't).
* just whitespaceTim Riker2006-01-251-1/+1
|
* setgid and setuid have changes effective id too"Vladimir N. Oleynik"2006-01-151-2/+0
|
* - remove extra/unneeded function call. testing svnNed Ludd2005-06-241-10/+1
|
* remove unused variable and declare writepid inlineMike Frysinger2005-04-231-3/+1
|
* touchups as suggested by Vladimir N. OleynikMike Frysinger2005-04-181-11/+4
|
* import fakeidentd module started by Thomas LundquistMike Frysinger2005-04-171-0/+441