aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix warning in find.cvda2007-01-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17552 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!vda2007-01-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17545 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix "expr has no effect" warningvda2007-01-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17543 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix non-ipv6 compilevda2007-01-261-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* arping: stop using last gethostbyname2 in the treevda2007-01-251-2/+0
| | | | | | | hostname: small optimization git-svn-id: svn://busybox.net/trunk/busybox@17517 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unify ping and ping6. ping has -4 and -6 which forcevda2007-01-241-16/+12
| | | | | | | | | | | 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". git-svn-id: svn://busybox.net/trunk/busybox@17513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean up commented out old codevda2007-01-221-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17479 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping6: stop using xgethostbyname2, remove it from libbb.vda2007-01-221-4/+10
| | | | 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-17/+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-1/+1
| | | | | | conversion purposefully git-svn-id: svn://busybox.net/trunk/busybox@17467 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c filevda2007-01-221-0/+6
| | | | | | | | 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
* comment out unused old networking API partsvda2007-01-221-11/+11
| | | | | | | 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
* cmdedit is not a 'command' editing anymore, it's just editing (generic),vda2007-01-221-8/+8
| | | | | | | so rename stuff accordingly. git-svn-id: svn://busybox.net/trunk/busybox@17451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert cmdedit into more generic line input facilityvda2007-01-221-0/+36
| | | | | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here. git-svn-id: svn://busybox.net/trunk/busybox@17446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make tty's pre SUSv3 option handling dependant on INCLUDE_SUSv2aldot2007-01-201-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17422 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
* - add C99 bool type for setups that support it.aldot2007-01-201-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixing bugs revealed by randomconfig runsvda2007-01-201-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ls: use get_cached_username/groupnamevda2007-01-191-10/+12
| | | | 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-191-1/+3
| | | | | | | | | | | | (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
* - move the smallint that is platform dependant to it's proper placealdot2007-01-182-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17363 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use char for smallint on CRIS as well.pkj2007-01-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17362 69ca8d6d-28ef-0310-b511-8ec308f3f277
* smallint can be a char for amd64 toovda2007-01-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17358 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-142-14/+10
| | | | | | | | | | | | | | 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
* whitespace fixes (leading spaces to tab)vda2007-01-131-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small size optimizationsvda2007-01-121-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next part of ipv6-ization. mostly netcat.vda2007-01-122-5/+10
| | | | 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-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fakeinetd: attempted ipv6-ization (and it's done)vda2007-01-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | but entire applet can be orders of magnitude smaller if written as an inetd service. So did that (#ifdef'ed out entire old version). inetd version is less than 10% of old one! function old new delta packed_usage 22083 22105 +22 nobodystr 4 - -4 bind_ip_address 4 - -4 ident_substr 20 - -20 chmatch 22 - -22 movefd 25 - -25 skipchars 49 - -49 handlexitsigs 51 - -51 replyError 70 - -70 .rodata 158120 158024 -96 deleteConn 102 - -102 G 524 388 -136 conns 560 - -560 fakeidentd_main 1457 143 -1314 ------------------------------------------------------------------------------ (add/remove: 0/10 grow/shrink: 1/3 up/down: 22/-2453) Total: -2431 bytes git-svn-id: svn://busybox.net/trunk/busybox@17256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Trailing whitespace removal over entire treevda2007-01-111-1/+1
| | | | 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-11/+20
| | | | | | | 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-3/+20
| | | | | | | 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-11/+10
| | | | | | | | | | | | 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
* Fix typo in usage text by shortening itvda2007-01-091-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17215 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - a few minor tweaksaldot2007-01-071-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add arp applet - thanks tovda2007-01-073-0/+58
| | | | | | | "Eric Spakman" <E.Spakman@inter.nl.net> git-svn-id: svn://busybox.net/trunk/busybox@17177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* do not expose internal state of [g]zip unpacker.vda2007-01-051-8/+7
| | | | | | | fix memory leak in inflate_gunzip. git-svn-id: svn://busybox.net/trunk/busybox@17167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove duplicate includesaldot2007-01-041-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: start using bb_common_bufsiz1 instead of stack/mallocvda2007-01-041-9/+9
| | | | | | | | logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok git-svn-id: svn://busybox.net/trunk/busybox@17159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new libbb func: xmalloc_realpath (+ use it where makes sense)vda2007-01-042-1/+3
| | | | | | | | 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-031-0/+1
| | | | | | | fix sleep-on-die option git-svn-id: svn://busybox.net/trunk/busybox@17140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* extern variable declaration in a .c file is heresy - fixing itvda2007-01-031-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce small[u]intvda2007-01-031-0/+12
| | | | | | | fsck_minix: use it for flag variables. 140 bytes saved git-svn-id: svn://busybox.net/trunk/busybox@17133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove commented out #includes etcvda2006-12-311-7/+0
| | | | | | | move get_hz to the only caller git-svn-id: svn://busybox.net/trunk/busybox@17118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stop using __u32 etc. uint32_t is there for a reasonvda2006-12-311-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixdep.c: avoit doing memcmp in most casesvda2006-12-303-57/+114
| | | | | | | | uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names git-svn-id: svn://busybox.net/trunk/busybox@17112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix for uclibc-without-shadow.h compilationvda2006-12-301-8/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17104 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix build without shadow supportvda2006-12-282-50/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_xget[pw/gr]nam were horribly misnamed - fixed.vda2006-12-281-8/+10
| | | | | | | | | | 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