aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Gravatar Denis Vlasenko2007-02-063-10/+40
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Gravatar Denis Vlasenko2007-02-061-4/+5
|
* udhcp: use improved gethostbyname replacement from IPv6 codeGravatar Denis Vlasenko2007-02-041-2/+6
|
* ifconfig: use IPv6 infrastructureGravatar Denis Vlasenko2007-02-041-1/+1
|
* mount: (try to) support cifs with IPv6Gravatar Denis Vlasenko2007-02-041-1/+4
|
* add x to IPv6 functions which can dieGravatar Denis Vlasenko2007-02-041-4/+4
|
* BB_EXECLP should call execlp, not execvpGravatar Denis Vlasenko2007-02-041-1/+1
|
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-4/+7
| | | | no preceding prototype
* do not put all <applet>_main() declarationsGravatar Denis Vlasenko2007-02-031-12/+2
| | | | in busybox.h - this produces false dependencies
* Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETSGravatar Denis Vlasenko2007-02-031-0/+10
| | | | (patch from Gabriel L. Somlo <somlo@cmu.edu>)
* preparatory patch for -Wwrite-strings #6Gravatar Denis Vlasenko2007-01-291-4/+4
|
* preparatory patch for -Wwrite-strings #2Gravatar Denis Vlasenko2007-01-291-0/+2
|
* preparatory patch for -Wwrite-strings #1Gravatar Denis Vlasenko2007-01-291-1/+1
|
* - document the multicast argument for ip linkGravatar Bernhard Reutner-Fischer2007-01-281-1/+1
|
* fix warning in find.cGravatar Denis Vlasenko2007-01-271-1/+1
|
* fix bin2hex bug. lowercase = uppercase | 0x20, not | 0x10!Gravatar Denis Vlasenko2007-01-261-1/+1
|
* fix "expr has no effect" warningGravatar Denis Vlasenko2007-01-261-1/+1
|
* fix non-ipv6 compileGravatar Denis Vlasenko2007-01-261-0/+3
|
* arping: stop using last gethostbyname2 in the treeGravatar Denis Vlasenko2007-01-251-2/+0
| | | | hostname: small optimization
* Unify ping and ping6. ping has -4 and -6 which forceGravatar Denis Vlasenko2007-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".
* clean up commented out old codeGravatar Denis Vlasenko2007-01-221-4/+2
|
* ping6: stop using xgethostbyname2, remove it from libbb.Gravatar Denis Vlasenko2007-01-221-4/+10
|
* nslookup: full circle. Here we started IPv6 work. Use "new API"Gravatar Denis Vlasenko2007-01-221-17/+22
| | | | and thus save a few bytes.
* - the archivers expect mode to be a mode_t, so do not trip signed/unsigned ↵Gravatar Bernhard Reutner-Fischer2007-01-221-1/+1
| | | | conversion purposefully
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileGravatar Denis Vlasenko2007-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.
* comment out unused old networking API partsGravatar Denis Vlasenko2007-01-221-11/+11
| | | | sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Gravatar Denis Vlasenko2007-01-221-8/+8
| | | | so rename stuff accordingly.
* Convert cmdedit into more generic line input facilityGravatar Denis Vlasenko2007-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.
* - make tty's pre SUSv3 option handling dependant on INCLUDE_SUSv2Gravatar Bernhard Reutner-Fischer2007-01-201-1/+2
|
* - get_terminal_width_height does not and should never write to fd. Cosmetic ↵Gravatar Bernhard Reutner-Fischer2007-01-201-1/+1
| | | | Precaution
* - add C99 bool type for setups that support it.Gravatar Bernhard Reutner-Fischer2007-01-201-0/+10
|
* fixing bugs revealed by randomconfig runsGravatar Denis Vlasenko2007-01-201-0/+2
|
* ls: use get_cached_username/groupnameGravatar Denis Vlasenko2007-01-191-10/+12
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeGravatar Denis Vlasenko2007-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();
* - move the smallint that is platform dependant to it's proper placeGravatar Bernhard Reutner-Fischer2007-01-182-11/+11
|
* Use char for smallint on CRIS as well.Gravatar Peter Kjellerstedt2007-01-181-1/+1
|
* smallint can be a char for amd64 tooGravatar Denis Vlasenko2007-01-181-1/+1
|
* Rename bb_sanitize_stdio -> bb_sanitize_server_stdioGravatar Denis 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.Gravatar Denis Vlasenko2007-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).
* whitespace fixes (leading spaces to tab)Gravatar Denis Vlasenko2007-01-131-2/+2
|
* random small size optimizationsGravatar Denis Vlasenko2007-01-121-1/+5
|
* next part of ipv6-ization. mostly netcat.Gravatar Denis Vlasenko2007-01-122-5/+10
|
* next part of ipv6-ization is here: wget & httpdGravatar Denis Vlasenko2007-01-121-0/+1
|
* fakeinetd: attempted ipv6-ization (and it's done)Gravatar Denis Vlasenko2007-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
* Trailing whitespace removal over entire treeGravatar Denis Vlasenko2007-01-111-1/+1
|
* ipv6-ization efforts continue. Few bugs are found,Gravatar Denis Vlasenko2007-01-111-11/+20
| | | | unknown number likely introduced...
* a bit more IPv6-ization workGravatar Denis Vlasenko2007-01-101-3/+20
| | | | syslogd: converted to use it (in -R host:port)
* Improve generic ipv4+ipv6 support in libbb.Gravatar Denis Vlasenko2007-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).
* Fix typo in usage text by shortening itGravatar Denis Vlasenko2007-01-091-3/+3
|
* - a few minor tweaksGravatar Bernhard Reutner-Fischer2007-01-071-5/+5
|