aboutsummaryrefslogtreecommitdiff
path: root/runit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* runsv: run ./finish with parameters (runit compat)Earl Chew2009-08-021-18/+45
| | | | | | | | | function old new delta startservice 288 377 +89 runsv_main 1763 1783 +20 Signed-off-by: Earl Chew <earl_chew@agilent.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* svlogd: fix bug 521: use line buffering if any filtering is doneDenys Vlasenko2009-08-024-27/+137
| | | | | | | | function old new delta logdirs_reopen 1296 1310 +14 svlogd_main 1439 1444 +5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sv: fix "sv o SRV; ...; sv d SRV" (bug 461) + code shrinkDenys Vlasenko2009-07-151-33/+35
| | | | | | | | | function old new delta status 120 118 -2 control 159 126 -33 sv_main 1222 1183 -39 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* runsv: rename field in a struct to not collide with other nameDenys Vlasenko2009-07-152-19/+20
| | | | | | no code changes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* svlogd: do not overrun read buffer (fixes bug 439)Denys Vlasenko2009-07-031-9/+6
| | | | | | | | | function old new delta rotate 513 534 +21 logdirs_reopen 1291 1296 +5 processorstart 409 385 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stop using non-standard macro, use WEXITSTATUS insteadDenys Vlasenko2009-06-073-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-2/+2
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-091-6/+2
|
* runsv: another tiny optimizationDenis Vlasenko2009-02-261-8/+6
| | | | | | | function old new delta startservice 297 288 -9 ctrl 435 426 -9
* runsv: small optimizationDenis Vlasenko2009-02-262-6/+3
| | | | | | | | *: more paranoia around passing NULL to execl[e] function old new delta custom 240 221 -19
* init: fix compile breakage with '# CONFIG_FEATURE_KILL_REMOVED is not set'Denis Vlasenko2009-02-141-1/+1
| | | | | runsvdir.c: fix typo in comment
* udhcpd: add code which rejects lease files with suspicious or old timestamp.Denis Vlasenko2009-02-021-2/+2
| | | | | *: s/time(0)/time(NULL)/g
* init: preparatory patch, no code changesDenis Vlasenko2009-01-312-6/+6
|
* runsvdir: straighten some convoluted code. logic is unchangedDenis Vlasenko2008-11-111-8/+6
|
* *: a bit of code shrinkDenis Vlasenko2008-11-092-4/+6
| | | | | | | | | | | | | | function old new delta stop_handler 41 38 -3 sulogin_main 508 504 -4 got_cont 4 - -4 cont_handler 11 - -11 startservice 309 297 -12 processorstart 423 409 -14 tcpudpsvd_main 1861 1843 -18 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes
* sv: make default service dir configurable (Vladimir wants it)Denis Vlasenko2008-11-062-1/+9
|
* runsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes.Denis Vlasenko2008-11-063-24/+37
| | | | | *: s/int/pid_t where appropriate
* runsvdir: if we have PID == 1, SIGHUP should make small pause,Denis Vlasenko2008-10-311-2/+3
| | | | | not 1 minute one
* runsvdir: kill another globalDenis Vlasenko2008-10-291-4/+2
|
* runsvdir: fx a recent vda's buglet (was pausing even if not signaled).Denis Vlasenko2008-10-291-34/+42
| | | | | stop spawning children immediately if signaled. Kill one global.
* runsvdir: shrink (by Vladimir)Denis Vlasenko2008-10-291-9/+2
|
* runsvdir: do not exit if we are pid 1.Denis Vlasenko2008-10-291-14/+41
|
* runsvdir: conditionalize "log in argiment" (mis)feature. By Vladimir.Denis Vlasenko2008-09-222-64/+88
| | | | | | | | | | | | | | with: runsv 139 141 +2 runsvdir_main 1583 1513 -70 without: warn2_cannot 14 27 +13 runsv 139 141 +2 warnx 28 16 -12 warn3x 23 - -23 runsvdir_main 1583 1125 -458
* runsvd: shrink by VladimirDenis Vlasenko2008-09-111-29/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *: use unified trivial signal handler function old new delta record_signo - 10 +10 process_stdin 433 443 +10 bbunpack 383 391 +8 wc_main 598 605 +7 conescape 293 296 +3 nmeter_main 670 672 +2 fallbackSort 1717 1719 +2 bb_got_signal - 1 +1 microcom_main 713 712 -1 signalled 2 - -2 pack_gzip 1661 1659 -2 evalvar 1376 1374 -2 compare_keys 737 735 -2 parse_command 1460 1456 -4 expand 1748 1744 -4 s_term 37 29 -8 s_hangup 8 - -8 fgotsig 10 - -10 find_pair 187 169 -18 signal_handler 190 170 -20 runsvdir_main 1701 1583 -118 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 6/10 up/down: 43/-199) Total: -156 bytes
* envdir: fix "envdir with no params" caseDenis Vlasenko2008-08-201-1/+3
|
* chpst: fix "envdir dir" case (bug 4574).Denis Vlasenko2008-08-151-1/+1
|
* randomconfig fixesDenis Vlasenko2008-08-051-3/+3
|
* chpst: large code shrink by VladimirDenis Vlasenko2008-07-301-195/+178
| | | | | | | | | | | | | function old new delta chpst_main 1058 1357 +299 euidgid 56 - -56 suidgid 59 - -59 slimit 208 - -208 packed_usage 24638 24420 -218 edir 375 - -375 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 1/1 up/down: 299/-916) Total: -617 bytes
* - first pass to unify/cleanup uid handling (-236b)Bernhard Reutner-Fischer2008-07-211-6/+2
| | | | This needs further love, alot of love.. Tito?
* - fix spellingBernhard Reutner-Fischer2008-07-212-16/+16
|
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-056-24/+24
|
* whitespace fixes. no code changesDenis Vlasenko2008-06-251-4/+3
|
* runsvdir: make it more robust against libc buglets (errno accidentally set ↵Denis Vlasenko2008-05-311-2/+7
| | | | | | | | | | to !0) closes bug 3514 function old new delta runsvdir_main 1672 1664 -8
* - use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer2008-05-191-3/+3
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-192-2/+2
|
* Use intra-DSO calls when we build libbusybox. No-op for normal build.Denis Vlasenko2008-05-091-0/+8
| | | | | | | | | This was Bernhard Fischer' idea. text data bss dec hex filename 773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped 769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
* chpst: fix "env directory" parsing to not strip everythingDenis Vlasenko2008-04-011-24/+22
| | | | | after 1st whitespace. -6 bytes.
* brctl: eliminate stray data objectDenis Vlasenko2008-03-171-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | brctl: use constant fd to reduce parameter passing runsvdir: do not use data/bss od: reuse bb_argv_dash last: do not go into endless loop on read error mount: make it not fail scripts/find_bad_common_bufsiz check dc: add INIT_G() (no-op for dc, but we want uniform usage of "G trick") function old new delta runsvdir_main 1646 1672 +26 set_pgrp 1 - -1 exitsoon 1 - -1 check 679 678 -1 svnum 4 - -4 svdir 4 - -4 sv 4 - -4 stamplog 4 - -4 rploglen 4 - -4 rplog 4 - -4 mount_main 995 988 -7 static.default_file_list 8 - -8 pfd 8 - -8 logpipe 8 - -8 static.info 20 - -20 brctl_main 767 739 -28 ------------------------------------------------------------------------------ (add/remove: 0/12 grow/shrink: 1/3 up/down: 26/-106) Total: -80 bytes text data bss dec hex filename 793327 662 7412 801401 c3a79 busybox_old 793329 641 7372 801342 c3a3e busybox_unstripped
* selinux/*: -Wunused-parameter fixesDenis Vlasenko2008-03-171-5/+8
| | | | | | | | | | runsv: make it NOMMU-capable function old new delta startservice 291 313 +22 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 22/0) Total: 22 bytes
* *: mode tcp/udpsvd to networking, delete ipsvd/*Denis Vlasenko2008-03-171-7/+12
| | | | | | | | | | | | | | */Config.in: fixes to text svlogd: make it NOMMU capable function old new delta processorstart 378 420 +42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0) Total: 42 bytes text data bss dec hex filename 797153 662 7420 805235 c4973 busybox_old 797196 662 7420 805278 c499e busybox_unstripped
* *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Denis Vlasenko2008-03-171-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta getopt32 1370 1385 +15 sulogin_main 490 494 +4 realpath_main 84 86 +2 sleep_main 76 77 +1 mt_main 256 257 +1 printenv_main 75 74 -1 fdformat_main 546 545 -1 usleep_main 44 42 -2 setlogcons_main 77 75 -2 ed_main 2654 2649 -5 deallocvt_main 69 64 -5 addgroup_main 373 368 -5 mkfs_minix_main 2989 2982 -7 tail_main 1221 1213 -8 sv_main 1254 1241 -13 du_main 348 328 -20 tftp_main 325 302 -23 split_main 581 558 -23 nc_main 1000 977 -23 diff_main 891 868 -23 arping_main 1797 1770 -27 ls_main 893 847 -46 od_main 2797 2750 -47 readprofile_main 1944 1895 -49 tcpudpsvd_main 1973 1922 -51 udhcpc_main 2590 2513 -77 grep_main 824 722 -102 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/22 up/down: 23/-560) Total: -537 bytes text data bss dec hex filename 796973 658 7428 805059 c48c3 busybox_old 796479 662 7420 804561 c46d1 busybox_unstripped
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-175-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* inetd: make it NOMMU-capable and IPv6-friendly. Lots of renamesDenis Vlasenko2008-03-121-2/+2
| | | | | | | | | | of variable/function names Total: -2474 bytes text data bss dec hex filename 802215 661 7452 810328 c5d58 busybox_old 800120 661 7428 808209 c5511 busybox_unstripped
* actually add bb_qsort.cDenis Vlasenko2008-03-026-6/+6
| | | | | *: s/Denis/Denys/
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-1/+1
|
* lpd: spool mode added by VladimirDenis Vlasenko2008-02-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | lpr: more robust error reporting *: introduce and use xchroot libbb: full_read/write now will report partial data counts prior to error isdirectory.c: style fixes lpd_main 249 486 +237 xchroot - 29 +29 get_response_or_say_and_die 110 139 +29 full_write 52 60 +8 full_read 55 63 +8 static.newline 1 - -1 switch_root_main 404 400 -4 chpst_main 1089 1079 -10 getopt32 1370 1359 -11 chroot_main 115 101 -14 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 4/4 up/down: 311/-40) Total: 271 bytes text data bss dec hex filename 798472 728 7484 806684 c4f1c busybox_old 798775 728 7484 806987 c504b busybox_unstripped
* libbb: introduce and use xrename and rename_or_warn.Denis Vlasenko2008-02-171-10/+0
|
* libbb: introduce bb_signals and bb_signals_recursive,Denis Vlasenko2008-02-163-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
* *: more readable handling of pipe fds. No code changes.Denis Vlasenko2008-02-162-33/+34
|
* *: tidy up usage of char **environDenis Vlasenko2008-01-282-2/+2
|