summaryrefslogtreecommitdiff
path: root/runit (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* make variables staticDenis Vlasenko2007-09-272-2/+2
|
* runsvdir: fix "linear wait time" bugDenis Vlasenko2007-09-261-1/+1
|
* isrv: use monotonic_secDenis Vlasenko2007-08-311-8/+28
| | | | | runsv: do not use clock_gettime if !MONOTONIC_CLOCK
* *: compile fixes for 64-bit buildDenis Vlasenko2007-08-231-3/+3
|
* httpd: fix buglet in hex conversion. Remove alloca NULL checksDenis Vlasenko2007-08-211-10/+14
| | | | | | (never happens, app just crashes if stack overflows) svlogd: cosmetic messages and style fixes
* runit/*: get rid of tai[a] time abstraction, it's too bloaty.Denis Vlasenko2007-08-206-506/+390
| | | | | | | | | | text data bss dec hex filename 772537 1058 11092 784687 bf92f busybox.t0/busybox 772459 1058 11060 784577 bf8c1 busybox.t1/busybox 772326 1058 11028 784412 bf81c busybox.t2/busybox 772158 1058 10980 784196 bf744 busybox.t3/busybox 771490 1055 10988 783533 bf4ad busybox.t4/busybox
* libbb,crond,lash: fix getopt32 (don't know how it managed to slip through)Denis Vlasenko2007-08-191-1/+1
| | | | | *: fcntl(fd, F_GETFL) doesn't require third parameter at all.
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-183-4/+4
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* introduce and use xdup2(int, int)Denis Vlasenko2007-08-181-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is) remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions sockaddr2str 142 156 +14 collect_blk 467 474 +7 xdup2 28 33 +5 singlemount 4456 4454 -2 print_host 214 212 -2 nslookup_main 139 137 -2 ftpgetput_main 414 412 -2 udhcpd_main 1258 1255 -3 udhcpc_main 2405 2402 -3 traceroute_main 4125 4122 -3 nc_main 1072 1069 -3 buffer_fill_and_print 76 73 -3 xmalloc_sockaddr2hostonly_noport 18 14 -4 xmalloc_sockaddr2host_noport 18 14 -4 xmalloc_sockaddr2host 15 11 -4 xmalloc_sockaddr2dotted_noport 18 14 -4 xmalloc_sockaddr2dotted 18 14 -4 wget_main 2618 2614 -4 ping_main 393 389 -4 ip_port_str 120 115 -5 dhcprelay_main 1146 1141 -5 dnsd_main 1531 1525 -6 passwd_main 1110 1102 -8 udhcp_kernel_packet 206 197 -9 udhcp_listen_socket 154 144 -10 getty_main 2576 2566 -10 setup 655 640 -15 xmove_fd 51 34 -17 dolisten 759 742 -17 tcpudpsvd_main 1866 1836 -30 startservice 339 299 -40
* svlogd: fix timestamping; do not warn if config is missingDenis Vlasenko2007-08-032-16/+13
| | | | | sv: extend help text
* multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko2007-07-271-7/+7
| | | | | | | | | | | | function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
* chpasswd: fixes and code shrinkDenis Vlasenko2007-07-212-2/+2
| | | | | | | | | | | update_passwd 732 734 +2 chpasswd_main 318 292 -26 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-26) Total: -24 bytes text data bss dec hex filename 781564 1168 11900 794632 c2008 busybox_old 781548 1168 11900 794616 c1ff8 busybox_unstripped
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-265-5/+5
| | | | | *: s/include "busybox.h"/include "libbb.h"
* xpipe: introduce (saves ~170 bytes)Denis Vlasenko2007-05-262-4/+3
| | | | | udhcp/signalpipe.c: use pipe instead of socketpair.
* svlogd: fix 'SEGV on uninitialized data' and make it honor TERMDenis Vlasenko2007-05-061-4/+6
|
* style fixes, no code changesDenis Vlasenko2007-04-162-6/+12
|
* style fixes. No code changes.Denis Vlasenko2007-04-101-1/+2
|
* tcpsvd: new appletDenis Vlasenko2007-04-015-101/+11
| | | | | | | | | | It's a GPL-ed 'clone' of Dan Bernstein's tcpserver. Author: Gerrit Pape <pape@smarden.org> http://smarden.sunsite.dk/ipsvd/ size tcpsvd.o text data bss dec hex filename 2571 4 16 2591 a1f tcpsvd.o
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-11/+6
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko2007-03-255-47/+9
|
* add missing copyright statements and doc for svDenis Vlasenko2007-03-123-0/+204
|
* sv: make code trivially smallerDenis Vlasenko2007-03-121-4/+4
|
* kill superfluous returns at the end of void functionsDenis Vlasenko2007-03-111-1/+0
|
* runsv: random code savings, ~300 bytesDenis Vlasenko2007-03-091-72/+63
|
* runsv: add missing {}Denis Vlasenko2007-02-181-1/+2
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-062-6/+6
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-035-0/+5
| | | | no preceding prototype
* sigset_t blocked_sigset is too big for static (128 bytes)Denis Vlasenko2007-02-031-9/+11
|
* svlogd: fix performance problems: excessive write,Denis Vlasenko2007-02-031-26/+46
| | | | | gettimeofday calls. rt_sigprocmask were dealt with in previous commit
* svlogd: do not set O_NONBLOCK on stdin permanently - that canDenis Vlasenko2007-02-031-28/+44
| | | | affect other processes!
* sv: fix incorrect option parsing and reduce sizeDenis Vlasenko2007-02-021-120/+176
|
* preparatory patch for -Wwrite-strings #6Denis Vlasenko2007-01-291-30/+42
|
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-293-24/+24
|
* correct bad EnglishDenis Vlasenko2007-01-281-1/+1
|
* svlogd: batch writes if !timestampDenis Vlasenko2007-01-271-19/+29
|
* svlogd: remove unused buffering, stop doing tons of memcpyDenis Vlasenko2007-01-272-34/+58
|
* runit/* cleanup part 3 (just deleting unused code)Denis Vlasenko2007-01-272-788/+4
|
* runit/* cleanup part 2Denis Vlasenko2007-01-274-33/+43
|
* runit cleanup part 1Denis Vlasenko2007-01-276-190/+271
|
* random small size optimizationsDenis Vlasenko2007-01-121-7/+2
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-116-19/+19
|
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-0/+5
| | | | these are resulting fixes
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-2/+2
| | | | | | | 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
* style fixesDenis Vlasenko2006-12-264-6/+6
| | | | last xcalloc replaced by xzalloc
* missing piece of prev commit: ndelay_offDenis Vlasenko2006-12-241-6/+0
|
* small fixes:Denis Vlasenko2006-11-261-3/+3
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* tar: sanitize option handlingDenis Vlasenko2006-11-241-1/+1
|
* telnetd: we were having telnetd with is ONLY inetd or ONLY standalone.Denis Vlasenko2006-11-221-20/+0
| | | | | What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd.
* svlogd: log full lines to stderr too, and also stop using stdio for thatDenis Vlasenko2006-11-191-6/+4
|
* forgot about avn add... :(Denis Vlasenko2006-11-173-0/+1279
|