aboutsummaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2007-02-08make sure ps/top output what they claim: vsz, not rss ... down the line we ↵Mike Frysinger
should make the output controllable either at runtime or buildtime as both statistics are quite useful
2007-02-07tftp: fix IPv6 falloutDenis Vlasenko
2007-02-07fix #ifdef ENABLE_xxx -> #ifDenis Vlasenko
2007-02-06new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko
2007-02-06EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko
2007-02-04- indentBernhard Reutner-Fischer
2007-02-04udhcp: use improved gethostbyname replacement from IPv6 codeDenis Vlasenko
2007-02-04mount: (try to) support cifs with IPv6Denis Vlasenko
2007-02-04add x to IPv6 functions which can dieDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-02-03lineedit: add missing #if/#endifDenis Vlasenko
init: fix warnings
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 #4Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #1Denis Vlasenko
2007-01-27use bb_sanitize_stdio() where appropriateDenis Vlasenko
2007-01-27fix warning in find.cDenis Vlasenko
2007-01-26fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!Denis Vlasenko
2007-01-26bb_parse_mode: do not do umask() needlessly.Denis Vlasenko
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-24accumulated post-1.4.0 fixesDenis Vlasenko
2007-01-22fix warning from needlessly-global functionsDenis Vlasenko
2007-01-22remove empty source filesDenis 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-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
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-22exterminate u_intXXX.Denis Vlasenko
fix ping6 buglet (memset is too short), minor sync between ping and ping6
2007-01-22comment out unused old networking API partsDenis Vlasenko
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
2007-01-22move shell/cmdedit.c -> libbb/lineedit.cDenis Vlasenko
2007-01-22cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko
so rename stuff accordingly.
2007-01-21Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko
executable if we asked to exec someting with argv[0] == known_applet" Use it in init. Also respect PATH in init, remove explicit "/sbin" etc from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>
2007-01-20- get_terminal_width_height does not and should never write to fd. Cosmetic ↵Bernhard Reutner-Fischer
Precaution
2007-01-19strdup -> xstrdupDenis Vlasenko
sed: de-obfuscate piece of code
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-17sed,get_line_from_file: improve commentsDenis 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-13small fixes to ipv6 infrastructureDenis 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-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-04new 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-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option