aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdioDenis Vlasenko2007-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.
* By popular request reinstate fakeidentd's standalone mode.Denis Vlasenko2007-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).
* small fixes to ipv6 infrastructureDenis Vlasenko2007-01-131-0/+2
|
* random small size optimizationsDenis Vlasenko2007-01-123-1/+15
|
* next part of ipv6-ization. mostly netcat.Denis Vlasenko2007-01-121-16/+34
|
* next part of ipv6-ization is here: wget & httpdDenis Vlasenko2007-01-121-6/+5
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-116-6/+6
|
* ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko2007-01-111-10/+50
| | | | unknown number likely introduced...
* a bit more IPv6-ization workDenis Vlasenko2007-01-101-21/+10
| | | | syslogd: converted to use it (in -R host:port)
* Improve generic ipv4+ipv6 support in libbb.Denis Vlasenko2007-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).
* new libbb func: xmalloc_realpath (+ use it where makes sense)Denis Vlasenko2007-01-041-4/+14
| | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
* convert calloc to xzallocDenis Vlasenko2007-01-034-14/+12
| | | | fix sleep-on-die option
* about.html: update maintainer nameDenis Vlasenko2006-12-301-0/+1
| | | | libbb/Kbuild: less needs xregcomp.o
* next bunch of fixes for bugs found by randconfigDenis Vlasenko2006-12-301-1/+1
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-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
* merge post-1.3.0 fixesDenis Vlasenko2006-12-264-8/+15
|
* style fixesDenis Vlasenko2006-12-264-11/+8
| | | | last xcalloc replaced by xzalloc
* chattr: bugfixes and size reductionDenis Vlasenko2006-12-261-2/+2
|
* leftover of e2fsck surgeryDenis Vlasenko2006-12-262-2/+11
|
* small stupid changes. no code changesDenis Vlasenko2006-12-241-3/+0
|
* missing piece of prev commit: ndelay_offDenis Vlasenko2006-12-241-6/+5
|
* use xbind, xconnect where appropriate.Denis Vlasenko2006-12-231-1/+2
| | | | small edits to arping
* fix recognitions of -SIGname signalsDenis Vlasenko2006-12-231-7/+8
| | | | (fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
* find: fix spurious -exec error messagesDenis Vlasenko2006-12-231-2/+7
| | | | (bug reported by Bernhard Fischer <rep.nop@aon.at>)
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-6/+26
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* less: stop dying on bad regexps, quietly pipe data w/oDenis Vlasenko2006-12-211-1/+10
| | | | | user interaction if stdout is not a tty. size optimizations
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-211-3/+2
|
* less: total cleanup and bugfix.Denis Vlasenko2006-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.
* less: somewhat buggy applet, but nice. Muchly reducedDenis Vlasenko2006-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).
* remove casts from xmalloc()Denis Vlasenko2006-12-192-3/+3
|
* su: make /etc/shells check configurableDenis Vlasenko2006-12-191-18/+7
| | | | ash: missing ';'
* xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko2006-12-181-2/+2
| | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
* nc: add missing castDenis Vlasenko2006-12-181-0/+31
| | | | xfuncs: add dprintf for dietlibc
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-1/+1
|
* start_stop_daemon: fix bug where any program name was "matching"Denis Vlasenko2006-12-171-2/+5
| | | | processes for which readlink(/proc/N/exe) fails
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-163-6/+5
| | | | xstrtou: disallow leading '+'
* diff: fix -q exit codeDenis Vlasenko2006-12-161-6/+6
| | | | last_char_is: sacrifice 9 bytes but avoid double-scan
* build system: small fix for "release" target to workDenis Vlasenko2006-12-121-0/+4
|
* bb_makedev: fix for glibc 2.3.2Denis Vlasenko2006-12-101-0/+1
| | | | sed: fix C++ style declaration
* - cosmetic change to avoid warnings about eventual padding/packing.Bernhard Reutner-Fischer2006-12-041-9/+9
|
* sed: improve handling of NULsDenis Vlasenko2006-12-021-5/+5
|
* passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko2006-12-011-35/+33
| | | | if current trend will continue ;)
* passwd: small size optimization. salt generation improvedDenis Vlasenko2006-11-301-1/+0
| | | | (really generated different salts even if called back-to-back).
* passwd: rework:Denis Vlasenko2006-11-303-13/+13
| | | | | | | | | * do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes
* cut 0.5k off mkfs.minixDenis Vlasenko2006-11-292-9/+11
| | | | assorted strtoul fixes (that's what brought me into minix)...
* fix bug in new str -> num convertorsDenis Vlasenko2006-11-281-4/+12
|
* erase_mtab: do not limit ourself to 40 mtab entriesDenis Vlasenko2006-11-271-32/+21
|
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-273-10/+10
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-272-4/+4
|