aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not fail password check if shadow password does not exist -Denis Vlasenko2007-03-132-16/+24
| | | | | | | | | | | | | | | | | | | | | | 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
* introduce and use setfscreatecon_or_dieDenis Vlasenko2007-03-122-1/+11
| | | | | (patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
* next portion of selinux updates: chcon, runcon. FromDenis Vlasenko2007-03-112-0/+31
| | | | | Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp>
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko2007-03-101-0/+40
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-074-6/+6
|
* ifupdown: code to deconstruct the state_list gracefullyDenis Vlasenko2007-03-061-8/+27
| | | | (patch by Gabriel L. Somlo <somlo@cmu.edu>)
* ping: don't measure times if ping payload is less than 8 bytes;Denis Vlasenko2007-03-032-12/+8
| | | | commonalize some ping code.
* sort: fix multiple -k (was ignoring all except last)Denis Vlasenko2007-02-171-1/+1
|
* init: code readability enhancements; very small code changesDenis Vlasenko2007-02-171-10/+5
|
* httpd: a little bit more correct handling of CGI "HTTP/xxx" outputDenis Vlasenko2007-02-131-2/+0
|
* syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko2007-02-115-6/+6
| | | | libbb: rename xgetcwd and xreadlink
* ping: support -I addr in family neutral manner; reuse a bit of common codeDenis Vlasenko2007-02-091-1/+1
|
* make sure ps/top output what they claim: vsz, not rss ... down the line we ↵Mike Frysinger2007-02-081-11/+5
| | | | should make the output controllable either at runtime or buildtime as both statistics are quite useful
* tftp: fix IPv6 falloutDenis Vlasenko2007-02-071-1/+1
|
* fix #ifdef ENABLE_xxx -> #ifDenis Vlasenko2007-02-071-1/+1
|
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko2007-02-061-0/+15
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-061-0/+10
|
* - indentBernhard Reutner-Fischer2007-02-041-9/+20
|
* udhcp: use improved gethostbyname replacement from IPv6 codeDenis Vlasenko2007-02-041-0/+5
|
* mount: (try to) support cifs with IPv6Denis Vlasenko2007-02-041-1/+7
|
* add x to IPv6 functions which can dieDenis Vlasenko2007-02-041-20/+21
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-2/+2
| | | | no preceding prototype
* lineedit: add missing #if/#endifDenis Vlasenko2007-02-031-0/+2
| | | | init: fix warnings
* Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETSDenis Vlasenko2007-02-031-5/+1
| | | | (patch from Gabriel L. Somlo <somlo@cmu.edu>)
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-4/+4
|
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-293-4/+4
|
* preparatory patch for -Wwrite-strings #1Denis Vlasenko2007-01-291-1/+1
|
* use bb_sanitize_stdio() where appropriateDenis Vlasenko2007-01-271-1/+1
|
* fix warning in find.cDenis Vlasenko2007-01-271-1/+1
|
* fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!Denis Vlasenko2007-01-261-2/+2
|
* bb_parse_mode: do not do umask() needlessly.Denis Vlasenko2007-01-261-34/+18
|
* Unify ping and ping6. ping has -4 and -6 which forceDenis Vlasenko2007-01-241-0/+2
| | | | | | | | 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".
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-243-8/+5
|
* fix warning from needlessly-global functionsDenis Vlasenko2007-01-224-2/+9
|
* remove empty source filesDenis Vlasenko2007-01-221-1/+0
|
* ping6: stop using xgethostbyname2, remove it from libbb.Denis Vlasenko2007-01-223-27/+24
|
* nslookup: full circle. Here we started IPv6 work. Use "new API"Denis Vlasenko2007-01-221-2/+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-2/+2
| | | | conversion purposefully
* - sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer2007-01-221-1/+0
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-224-31/+32
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* exterminate u_intXXX.Denis Vlasenko2007-01-221-2/+2
| | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6
* comment out unused old networking API partsDenis Vlasenko2007-01-221-8/+16
| | | | sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
* move shell/cmdedit.c -> libbb/lineedit.cDenis Vlasenko2007-01-221-0/+1798
|
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko2007-01-222-0/+60
| | | | so rename stuff accordingly.
* Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko2007-01-211-2/+5
| | | | | | 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>
* - get_terminal_width_height does not and should never write to fd. Cosmetic ↵Bernhard Reutner-Fischer2007-01-201-1/+1
| | | | Precaution
* strdup -> xstrdupDenis Vlasenko2007-01-191-1/+1
| | | | sed: de-obfuscate piece of code
* ls: use get_cached_username/groupnameDenis Vlasenko2007-01-191-3/+3
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-192-4/+12
| | | | | | | | | (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();
* sed,get_line_from_file: improve commentsDenis Vlasenko2007-01-171-2/+3
|