aboutsummaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2007-03-13Do not fail password check if shadow password does not exist -Denis Vlasenko
fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
2007-03-12introduce and use setfscreatecon_or_dieDenis Vlasenko
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
2007-03-11next portion of selinux updates: chcon, runcon. FromDenis Vlasenko
Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp>
2007-03-10selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-03-06ifupdown: code to deconstruct the state_list gracefullyDenis Vlasenko
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
2007-03-03ping: don't measure times if ping payload is less than 8 bytes;Denis Vlasenko
commonalize some ping code.
2007-02-17sort: fix multiple -k (was ignoring all except last)Denis Vlasenko
2007-02-17init: code readability enhancements; very small code changesDenis Vlasenko
2007-02-13httpd: a little bit more correct handling of CGI "HTTP/xxx" outputDenis Vlasenko
2007-02-11syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko
libbb: rename xgetcwd and xreadlink
2007-02-09ping: support -I addr in family neutral manner; reuse a bit of common codeDenis Vlasenko
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