summaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fix "expr has no effect" warningDenis Vlasenko2007-01-261-1/+1
|
* fix non-ipv6 compileDenis Vlasenko2007-01-261-0/+3
|
* arping: stop using last gethostbyname2 in the treeDenis Vlasenko2007-01-251-2/+0
| | | | hostname: small optimization
* Unify ping and ping6. ping has -4 and -6 which forceDenis Vlasenko2007-01-241-16/+12
| | | | | | | | name resolution into IP or IPv6 only, otherwise we take address family returned by host2sockaddr() in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping, "ping 127.0.0.1" will do IPv4 ping. ping6 is aliased to "ping -6".
* clean up commented out old codeDenis Vlasenko2007-01-221-4/+2
|
* ping6: stop using xgethostbyname2, remove it from libbb.Denis Vlasenko2007-01-221-4/+10
|
* nslookup: full circle. Here we started IPv6 work. Use "new API"Denis Vlasenko2007-01-221-17/+22
| | | | and thus save a few bytes.
* - the archivers expect mode to be a mode_t, so do not trip signed/unsigned ↵Bernhard Reutner-Fischer2007-01-221-1/+1
| | | | conversion purposefully
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-0/+6
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* comment out unused old networking API partsDenis Vlasenko2007-01-221-11/+11
| | | | sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko2007-01-221-8/+8
| | | | so rename stuff accordingly.
* Convert cmdedit into more generic line input facilityDenis Vlasenko2007-01-221-0/+36
| | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
* - make tty's pre SUSv3 option handling dependant on INCLUDE_SUSv2Bernhard Reutner-Fischer2007-01-201-1/+2
|
* - get_terminal_width_height does not and should never write to fd. Cosmetic ↵Bernhard Reutner-Fischer2007-01-201-1/+1
| | | | Precaution
* - add C99 bool type for setups that support it.Bernhard Reutner-Fischer2007-01-201-0/+10
|
* fixing bugs revealed by randomconfig runsDenis Vlasenko2007-01-201-0/+2
|
* ls: use get_cached_username/groupnameDenis Vlasenko2007-01-191-10/+12
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-1/+3
| | | | | | | | | (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();
* - move the smallint that is platform dependant to it's proper placeBernhard Reutner-Fischer2007-01-182-11/+11
|
* Use char for smallint on CRIS as well.Peter Kjellerstedt2007-01-181-1/+1
|
* smallint can be a char for amd64 tooDenis Vlasenko2007-01-181-1/+1
|
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko2007-01-141-1/+1
| | | | | | (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
* By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko2007-01-142-14/+10
| | | | | | | | | | | 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-131-2/+2
|
* random small size optimizationsDenis Vlasenko2007-01-121-1/+5
|
* next part of ipv6-ization. mostly netcat.Denis Vlasenko2007-01-122-5/+10
|
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-121-0/+1
|
* fakeinetd: attempted ipv6-ization (and it's done)Denis Vlasenko2007-01-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
|
* ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko2007-01-111-11/+20
| | | | unknown number likely introduced...
* a bit more IPv6-ization workDenis Vlasenko2007-01-101-3/+20
| | | | syslogd: converted to use it (in -R host:port)
* Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko2007-01-101-11/+10
| | | | | | | | | 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).
* Fix typo in usage text by shortening itDenis Vlasenko2007-01-091-3/+3
|
* - a few minor tweaksBernhard Reutner-Fischer2007-01-071-5/+5
|
* add arp applet - thanks toDenis Vlasenko2007-01-073-0/+58
| | | | "Eric Spakman" <E.Spakman@inter.nl.net>
* do not expose internal state of [g]zip unpacker.Denis Vlasenko2007-01-051-8/+7
| | | | fix memory leak in inflate_gunzip.
* - remove duplicate includesBernhard Reutner-Fischer2007-01-041-5/+0
|
* syslogd: start using bb_common_bufsiz1 instead of stack/mallocDenis Vlasenko2007-01-041-9/+9
| | | | | logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok
* new libbb func: xmalloc_realpath (+ use it where makes sense)Denis Vlasenko2007-01-042-1/+3
| | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
* convert calloc to xzallocDenis Vlasenko2007-01-031-0/+1
| | | | fix sleep-on-die option
* extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko2007-01-031-0/+5
|
* introduce small[u]intDenis Vlasenko2007-01-031-0/+12
| | | | fsck_minix: use it for flag variables. 140 bytes saved
* remove commented out #includes etcDenis Vlasenko2006-12-311-7/+0
| | | | move get_hz to the only caller
* stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko2006-12-311-6/+6
|
* fixdep.c: avoit doing memcmp in most casesDenis Vlasenko2006-12-303-57/+114
| | | | | uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names
* fix for uclibc-without-shadow.h compilationDenis Vlasenko2006-12-301-8/+12
|
* fix build without shadow supportDenis Vlasenko2006-12-282-50/+39
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-8/+10
| | | | | | | uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-0/+2
|
* properly export externs thru *.h filesDenis Vlasenko2006-12-261-2/+9
|