hush/runit
Denis Vlasenko 25591c322c libbb: introduce bb_signals and bb_signals_recursive,
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
2008-02-16 22:58:56 +00:00
..
chpst.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
Config.in runit: add runsv, runsvdir and sv. Oh yes. 2006-11-17 18:58:16 +00:00
Kbuild done a dozen of randconfig test. guess what? ALL failed... 2006-12-30 17:57:03 +00:00
runit_lib.c fbset: fix buglet where we were using wrong pointer 2007-11-06 03:05:54 +00:00
runit_lib.h introduce and use close_on_exec_on(fd). -50 bytes. 2007-09-30 23:50:48 +00:00
runsv.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
runsvdir.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
sv.c libbb: introduce and use safe_waitpid (loops in EINTR) 2008-01-02 19:55:04 +00:00
svlogd.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00