aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clean up accumulated whitespace damagevda2007-03-074-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18020 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ifupdown: code to deconstruct the state_list gracefullyvda2007-03-061-8/+27
| | | | | | | (patch by Gabriel L. Somlo <somlo@cmu.edu>) git-svn-id: svn://busybox.net/trunk/busybox@18018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: don't measure times if ping payload is less than 8 bytes;vda2007-03-032-12/+8
| | | | | | | commonalize some ping code. git-svn-id: svn://busybox.net/trunk/busybox@17999 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sort: fix multiple -k (was ignoring all except last)vda2007-02-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17919 69ca8d6d-28ef-0310-b511-8ec308f3f277
* init: code readability enhancements; very small code changesvda2007-02-171-10/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* httpd: a little bit more correct handling of CGI "HTTP/xxx" outputvda2007-02-131-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: fix "readpath bug" by using readlink insteadvda2007-02-115-6/+6
| | | | | | | libbb: rename xgetcwd and xreadlink git-svn-id: svn://busybox.net/trunk/busybox@17854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: support -I addr in family neutral manner; reuse a bit of common codevda2007-02-091-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17842 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make sure ps/top output what they claim: vsz, not rss ... down the line we ↵vapier2007-02-081-11/+5
| | | | | | should make the output controllable either at runtime or buildtime as both statistics are quite useful git-svn-id: svn://busybox.net/trunk/busybox@17813 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tftp: fix IPv6 falloutvda2007-02-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17809 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix #ifdef ENABLE_xxx -> #ifvda2007-02-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>vda2007-02-061-0/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>vda2007-02-061-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - indentaldot2007-02-041-9/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcp: use improved gethostbyname replacement from IPv6 codevda2007-02-041-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17752 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: (try to) support cifs with IPv6vda2007-02-041-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17750 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add x to IPv6 functions which can dievda2007-02-041-20/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-2/+2
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: add missing #if/#endifvda2007-02-031-0/+2
| | | | | | | init: fix warnings git-svn-id: svn://busybox.net/trunk/busybox@17734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETSvda2007-02-031-5/+1
| | | | | | | (patch from Gabriel L. Somlo <somlo@cmu.edu>) git-svn-id: svn://busybox.net/trunk/busybox@17733 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #4vda2007-01-291-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #2vda2007-01-293-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #1vda2007-01-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use bb_sanitize_stdio() where appropriatevda2007-01-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17557 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17545 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_parse_mode: do not do umask() needlessly.vda2007-01-261-34/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17542 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unify ping and ping6. ping has -4 and -6 which forcevda2007-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". git-svn-id: svn://busybox.net/trunk/busybox@17513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* accumulated post-1.4.0 fixesvda2007-01-243-8/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17508 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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