aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix warning from needlessly-global functionsvda2007-01-224-2/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17481 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove empty source filesvda2007-01-221-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17480 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping6: stop using xgethostbyname2, remove it from libbb.vda2007-01-223-27/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17478 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nslookup: full circle. Here we started IPv6 work. Use "new API"vda2007-01-221-2/+22
| | | | | | | and thus save a few bytes. git-svn-id: svn://busybox.net/trunk/busybox@17477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - the archivers expect mode to be a mode_t, so do not trip signed/unsigned ↵aldot2007-01-221-2/+2
| | | | | | conversion purposefully git-svn-id: svn://busybox.net/trunk/busybox@17467 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - sed -i -e "/\$Id:/d;"aldot2007-01-221-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c filevda2007-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. git-svn-id: svn://busybox.net/trunk/busybox@17461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* exterminate u_intXXX.vda2007-01-221-2/+2
| | | | | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6 git-svn-id: svn://busybox.net/trunk/busybox@17459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* comment out unused old networking API partsvda2007-01-221-8/+16
| | | | | | | sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port) git-svn-id: svn://busybox.net/trunk/busybox@17456 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move shell/cmdedit.c -> libbb/lineedit.cvda2007-01-221-0/+1798
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cmdedit is not a 'command' editing anymore, it's just editing (generic),vda2007-01-222-0/+60
| | | | | | | so rename stuff accordingly. git-svn-id: svn://busybox.net/trunk/busybox@17451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownvda2007-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> git-svn-id: svn://busybox.net/trunk/busybox@17426 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - get_terminal_width_height does not and should never write to fd. Cosmetic ↵aldot2007-01-201-1/+1
| | | | | | Precaution git-svn-id: svn://busybox.net/trunk/busybox@17421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* strdup -> xstrdupvda2007-01-191-1/+1
| | | | | | | sed: de-obfuscate piece of code git-svn-id: svn://busybox.net/trunk/busybox@17392 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ls: use get_cached_username/groupnamevda2007-01-191-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17391 69ca8d6d-28ef-0310-b511-8ec308f3f277
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codevda2007-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(); git-svn-id: svn://busybox.net/trunk/busybox@17390 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed,get_line_from_file: improve commentsvda2007-01-171-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdiovda2007-01-141-1/+1
| | | | | | | | | (name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd. git-svn-id: svn://busybox.net/trunk/busybox@17302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* By popular request reinstate fakeidentd's standalone mode.vda2007-01-141-0/+24
| | | | | | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@17275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small fixes to ipv6 infrastructurevda2007-01-131-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small size optimizationsvda2007-01-123-1/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. mostly netcat.vda2007-01-121-16/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization is here: wget & httpdvda2007-01-121-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trailing whitespace removal over entire treevda2007-01-116-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipv6-ization efforts continue. Few bugs are found,vda2007-01-111-10/+50
| | | | | | | unknown number likely introduced... git-svn-id: svn://busybox.net/trunk/busybox@17250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit more IPv6-ization workvda2007-01-101-21/+10
| | | | | | | syslogd: converted to use it (in -R host:port) git-svn-id: svn://busybox.net/trunk/busybox@17229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve generic ipv4+ipv6 support in libbb.vda2007-01-101-83/+151
| | | | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@17221 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new libbb func: xmalloc_realpath (+ use it where makes sense)vda2007-01-041-4/+14
| | | | | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour git-svn-id: svn://busybox.net/trunk/busybox@17156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* convert calloc to xzallocvda2007-01-034-14/+12
| | | | | | | fix sleep-on-die option git-svn-id: svn://busybox.net/trunk/busybox@17140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* about.html: update maintainer namevda2006-12-301-0/+1
| | | | | | | libbb/Kbuild: less needs xregcomp.o git-svn-id: svn://busybox.net/trunk/busybox@17113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next bunch of fixes for bugs found by randconfigvda2006-12-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_xget[pw/gr]nam were horribly misnamed - fixed.vda2006-12-281-64/+63
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@17095 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge post-1.3.0 fixesvda2006-12-264-8/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-12-264-11/+8
| | | | | | | last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* chattr: bugfixes and size reductionvda2006-12-261-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* leftover of e2fsck surgeryvda2006-12-262-2/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small stupid changes. no code changesvda2006-12-241-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17069 69ca8d6d-28ef-0310-b511-8ec308f3f277
* missing piece of prev commit: ndelay_offvda2006-12-241-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17068 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use xbind, xconnect where appropriate.vda2006-12-231-1/+2
| | | | | | | small edits to arping git-svn-id: svn://busybox.net/trunk/busybox@17063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix recognitions of -SIGname signalsvda2006-12-231-7/+8
| | | | | | | (fix by Jacques LUDER <jacques.luder@thalesgroup.com>) git-svn-id: svn://busybox.net/trunk/busybox@17061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find: fix spurious -exec error messagesvda2006-12-231-2/+7
| | | | | | | (bug reported by Bernhard Fischer <rep.nop@aon.at>) git-svn-id: svn://busybox.net/trunk/busybox@17060 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar et al: die if bb_copyfd_size copies less than asked for.vda2006-12-221-6/+26
| | | | | | | (we have bb_copyfd_exact_size now for that kind of usage) git-svn-id: svn://busybox.net/trunk/busybox@17038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* less: stop dying on bad regexps, quietly pipe data w/ovda2006-12-211-1/+10
| | | | | | | | user interaction if stdout is not a tty. size optimizations git-svn-id: svn://busybox.net/trunk/busybox@17028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce LONE_CHAR (optimized strcmp with one-char string)vda2006-12-211-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* less: total cleanup and bugfix.vda2006-12-211-5/+2
| | | | | | | | | | | | | | | | | Doesn't die horribly on binary files anymore. In fact, they _100%_ work now. Control chars are in reverse video, including DEL and that idiocy of VT-10x, Meta-ESC [inventor of which should be prohibited from reproducing]. Regex search is fixed also. When you specify search ('/' key), control chars turn into dots (unhighlighted), and found occurrences highlighted instead. This is reversible. Memory management fixed (was leaky as hell) and optimized. Linewrapping fixed and thoroughly tested. Max buffer size made configurable. ~ 600 bytes saved. git-svn-id: svn://busybox.net/trunk/busybox@17023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* less: somewhat buggy applet, but nice. Muchly reducedvda2006-12-201-2/+2
| | | | | | | | | | | xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce). git-svn-id: svn://busybox.net/trunk/busybox@17012 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove casts from xmalloc()vda2006-12-192-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* su: make /etc/shells check configurablevda2006-12-191-18/+7
| | | | | | | ash: missing ';' git-svn-id: svn://busybox.net/trunk/busybox@17000 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xfuncs.c: dietlibc actually HAS fdprintf!vda2006-12-181-2/+2
| | | | | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions git-svn-id: svn://busybox.net/trunk/busybox@16998 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nc: add missing castvda2006-12-181-0/+31
| | | | | | | xfuncs: add dprintf for dietlibc git-svn-id: svn://busybox.net/trunk/busybox@16997 69ca8d6d-28ef-0310-b511-8ec308f3f277