Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-01-25 | arping: stop using last gethostbyname2 in the tree | Denis Vlasenko | |
hostname: small optimization | |||
2007-01-24 | Unify ping and ping6. ping has -4 and -6 which force | Denis Vlasenko | |
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". | |||
2007-01-22 | clean up commented out old code | Denis Vlasenko | |
2007-01-22 | ping6: stop using xgethostbyname2, remove it from libbb. | Denis Vlasenko | |
2007-01-22 | nslookup: full circle. Here we started IPv6 work. Use "new API" | Denis Vlasenko | |
and thus save a few bytes. | |||
2007-01-22 | - the archivers expect mode to be a mode_t, so do not trip signed/unsigned ↵ | Bernhard Reutner-Fischer | |
conversion purposefully | |||
2007-01-22 | cleanups: unnecessary casts, unified const_1, eliminate cross-.c file | Denis Vlasenko | |
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. | |||
2007-01-22 | comment out unused old networking API parts | Denis Vlasenko | |
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port) | |||
2007-01-22 | cmdedit is not a 'command' editing anymore, it's just editing (generic), | Denis Vlasenko | |
so rename stuff accordingly. | |||
2007-01-22 | Convert cmdedit into more generic line input facility | Denis Vlasenko | |
(make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here. | |||
2007-01-20 | - make tty's pre SUSv3 option handling dependant on INCLUDE_SUSv2 | Bernhard Reutner-Fischer | |
2007-01-20 | - get_terminal_width_height does not and should never write to fd. Cosmetic ↵ | Bernhard Reutner-Fischer | |
Precaution | |||
2007-01-20 | - add C99 bool type for setups that support it. | Bernhard Reutner-Fischer | |
2007-01-20 | fixing bugs revealed by randomconfig runs | Denis Vlasenko | |
2007-01-19 | ls: use get_cached_username/groupname | Denis Vlasenko | |
2007-01-19 | openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code | Denis Vlasenko | |
(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(); | |||
2007-01-18 | - move the smallint that is platform dependant to it's proper place | Bernhard Reutner-Fischer | |
2007-01-18 | Use char for smallint on CRIS as well. | Peter Kjellerstedt | |
2007-01-18 | smallint can be a char for amd64 too | Denis Vlasenko | |
2007-01-14 | Rename bb_sanitize_stdio -> bb_sanitize_server_stdio | Denis Vlasenko | |
(name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd. | |||
2007-01-14 | By popular request reinstate fakeidentd's standalone mode. | Denis Vlasenko | |
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). | |||
2007-01-13 | whitespace fixes (leading spaces to tab) | Denis Vlasenko | |
2007-01-12 | random small size optimizations | Denis Vlasenko | |
2007-01-12 | next part of ipv6-ization. mostly netcat. | Denis Vlasenko | |
2007-01-12 | next part of ipv6-ization is here: wget & httpd | Denis Vlasenko | |
2007-01-11 | fakeinetd: attempted ipv6-ization (and it's done) | Denis Vlasenko | |
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 | |||
2007-01-11 | Trailing whitespace removal over entire tree | Denis Vlasenko | |
2007-01-11 | ipv6-ization efforts continue. Few bugs are found, | Denis Vlasenko | |
unknown number likely introduced... | |||
2007-01-10 | a bit more IPv6-ization work | Denis Vlasenko | |
syslogd: converted to use it (in -R host:port) | |||
2007-01-10 | Improve generic ipv4+ipv6 support in libbb. | Denis Vlasenko | |
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). | |||
2007-01-09 | Fix typo in usage text by shortening it | Denis Vlasenko | |
2007-01-07 | - a few minor tweaks | Bernhard Reutner-Fischer | |
2007-01-07 | add arp applet - thanks to | Denis Vlasenko | |
"Eric Spakman" <E.Spakman@inter.nl.net> | |||
2007-01-05 | do not expose internal state of [g]zip unpacker. | Denis Vlasenko | |
fix memory leak in inflate_gunzip. | |||
2007-01-04 | - remove duplicate includes | Bernhard Reutner-Fischer | |
2007-01-04 | syslogd: start using bb_common_bufsiz1 instead of stack/malloc | Denis Vlasenko | |
logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok | |||
2007-01-04 | new libbb func: xmalloc_realpath (+ use it where makes sense) | Denis Vlasenko | |
syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour | |||
2007-01-03 | convert calloc to xzalloc | Denis Vlasenko | |
fix sleep-on-die option | |||
2007-01-03 | extern variable declaration in a .c file is heresy - fixing it | Denis Vlasenko | |
2007-01-03 | introduce small[u]int | Denis Vlasenko | |
fsck_minix: use it for flag variables. 140 bytes saved | |||
2006-12-31 | remove commented out #includes etc | Denis Vlasenko | |
move get_hz to the only caller | |||
2006-12-31 | stop using __u32 etc. uint32_t is there for a reason | Denis Vlasenko | |
2006-12-30 | fixdep.c: avoit doing memcmp in most cases | Denis Vlasenko | |
uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names | |||
2006-12-30 | fix for uclibc-without-shadow.h compilation | Denis Vlasenko | |
2006-12-28 | fix build without shadow support | Denis Vlasenko | |
2006-12-28 | bb_xget[pw/gr]nam were horribly misnamed - fixed. | Denis Vlasenko | |
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 | |||
2006-12-26 | merge post-1.3.0 fixes | Denis Vlasenko | |
2006-12-26 | properly export externs thru *.h files | Denis Vlasenko | |
2006-12-26 | style fixes | Denis Vlasenko | |
last xcalloc replaced by xzalloc | |||
2006-12-26 | chattr: bugfixes and size reduction | Denis Vlasenko | |