aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2007-02-04ifconfig: use IPv6 infrastructureDenis Vlasenko
2007-02-04mount: (try to) support cifs with IPv6Denis Vlasenko
2007-02-04add x to IPv6 functions which can dieDenis Vlasenko
2007-02-04BB_EXECLP should call execlp, not execvpDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-02-03do not put all <applet>_main() declarationsDenis Vlasenko
in busybox.h - this produces false dependencies
2007-02-03Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETSDenis Vlasenko
(patch from Gabriel L. Somlo <somlo@cmu.edu>)
2007-01-29preparatory patch for -Wwrite-strings #6Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #1Denis Vlasenko
2007-01-28- document the multicast argument for ip linkBernhard Reutner-Fischer
2007-01-27fix warning in find.cDenis Vlasenko
2007-01-26fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!Denis Vlasenko
2007-01-26fix "expr has no effect" warningDenis Vlasenko
2007-01-26fix non-ipv6 compileDenis Vlasenko
2007-01-25arping: stop using last gethostbyname2 in the treeDenis Vlasenko
hostname: small optimization
2007-01-24Unify ping and ping6. ping has -4 and -6 which forceDenis 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-22clean up commented out old codeDenis Vlasenko
2007-01-22ping6: stop using xgethostbyname2, remove it from libbb.Denis Vlasenko
2007-01-22nslookup: 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-22cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
2007-01-22comment out unused old networking API partsDenis Vlasenko
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
2007-01-22cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko
so rename stuff accordingly.
2007-01-22Convert cmdedit into more generic line input facilityDenis 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_SUSv2Bernhard 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-20fixing bugs revealed by randomconfig runsDenis Vlasenko
2007-01-19ls: use get_cached_username/groupnameDenis Vlasenko
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis 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 placeBernhard Reutner-Fischer
2007-01-18Use char for smallint on CRIS as well.Peter Kjellerstedt
2007-01-18smallint can be a char for amd64 tooDenis Vlasenko
2007-01-14Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis 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-14By 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-13whitespace fixes (leading spaces to tab)Denis Vlasenko
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-12next part of ipv6-ization. mostly netcat.Denis Vlasenko
2007-01-12next part of ipv6-ization is here: wget & httpdDenis Vlasenko
2007-01-11fakeinetd: 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-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-11ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko
unknown number likely introduced...
2007-01-10a bit more IPv6-ization workDenis Vlasenko
syslogd: converted to use it (in -R host:port)
2007-01-10Improve 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-09Fix typo in usage text by shortening itDenis Vlasenko
2007-01-07- a few minor tweaksBernhard Reutner-Fischer
2007-01-07add arp applet - thanks toDenis Vlasenko
"Eric Spakman" <E.Spakman@inter.nl.net>
2007-01-05do not expose internal state of [g]zip unpacker.Denis Vlasenko
fix memory leak in inflate_gunzip.
2007-01-04- remove duplicate includesBernhard Reutner-Fischer