hush/libbb
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
..
appletlib.c *: move getopt reset code to better place(s) 2008-01-28 22:57:10 +00:00
ask_confirmation.c
bb_askpass.c bb_askpass: handle Ctrl-C, restore termoios on Ctrl-C. 2007-10-20 19:20:22 +00:00
bb_basename.c
bb_do_delay.c
bb_pwd.c
bb_strtonum.c
change_identity.c 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>. 2007-10-01 11:58:38 +00:00
chomp.c
compare_string_array.c ps: fix build breakage from vda's recent commit 2008-01-07 16:13:14 +00:00
concat_path_file.c
concat_subpath_file.c
Config.in cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470 2008-02-13 16:52:00 +00:00
copy_file.c cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470 2008-02-13 16:52:00 +00:00
copyfd.c explain why we use mmap instead of malloc 2007-12-02 07:18:29 +00:00
correct_password.c appletlib.c: make it actally follow _BB_SUID_ALWAYS rules 2007-10-29 19:25:45 +00:00
crc32.c
create_icmp6_socket.c
create_icmp_socket.c
crypt_make_salt.c
default_error_retval.c
device_open.c fbset: fix buglet where we were using wrong pointer 2007-11-06 03:05:54 +00:00
dump.c - spelling fixes 2008-02-11 11:44:38 +00:00
error_msg_and_die.c
error_msg.c
execable.c reorganize applet table. Eliminates pointers to names. 2007-11-28 06:49:03 +00:00
fclose_nonstdin.c
fflush_stdout_and_exit.c
fgets_str.c Fix xmalloc_fgets_str so that it really does NOT strip terminator. 2007-12-26 20:44:45 +00:00
find_mount_point.c
find_pid_by_name.c which: fix testsuite failure 2007-11-25 04:54:13 +00:00
find_root_device.c
full_write.c
get_console.c kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com> 2007-10-20 00:17:34 +00:00
get_last_path_component.c
get_line_from_file.c Fix xmalloc_fgets_str so that it really does NOT strip terminator. 2007-12-26 20:44:45 +00:00
getopt32.c getpot: add support for "a+" specifier for nonnegative int parameters. 2008-02-10 19:44:20 +00:00
herror_msg_and_die.c
herror_msg.c
human_readable.c
inet_common.c fdisk: fix a case where break was reached only for DOS labels 2008-01-24 22:49:15 +00:00
info_msg.c - fix conflicting decls of syslog related facilitynames and prioritynames tables 2008-01-27 12:50:12 +00:00
inode_hash.c
isdirectory.c
Kbuild libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
kernel_version.c
last_char_is.c
lineedit.c libbb: filename completion should match dangling symlinks too 2008-02-14 19:55:58 +00:00
llist.c
login.c login: clear dangerous environment variables if started by non-root 2007-11-06 05:26:51 +00:00
loop.c
make_directory.c
makedev.c
match_fstype.c
md5.c
messages.c remove trailing whitespace 2007-10-14 04:55:59 +00:00
mode_string.c
mtab_file.c
mtab.c
obscure.c fbset: fix buglet where we were using wrong pointer 2007-11-06 03:05:54 +00:00
parse_mode.c
perror_msg_and_die.c 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>. 2007-10-01 11:58:38 +00:00
perror_msg.c 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>. 2007-10-01 11:58:38 +00:00
perror_nomsg_and_die.c
perror_nomsg.c fix warning from needlessly-global functions 2007-01-22 23:04:27 +00:00
pidfile.c
printable.c adding libbb/printable.c 2007-12-30 20:13:39 +00:00
process_escape_sequence.c trylink: produce even more info about final link stage 2007-08-12 20:58:27 +00:00
procps.c ps: add conditional support for -o [e]time 2008-01-05 03:26:41 +00:00
pw_encrypt.c
read.c
README
recursive_action.c 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>. 2007-10-01 11:58:38 +00:00
remove_file.c
restricted_shell.c
rtc.c we need to pass back the rtc device name that was actually used so that we can turn around and check its sysfs status 2008-02-15 07:19:03 +00:00
run_shell.c
safe_poll.c
safe_strncpy.c
safe_write.c
selinux_common.c ping: fix breakage from -I fix 2007-10-20 02:00:49 +00:00
setup_environment.c
sha1.c
signals.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
simplify_path.c
skip_whitespace.c
speed_table.c
str_tolower.c
time.c
trim.c syscall: code shrink 2007-10-29 19:22:13 +00:00
u_signal_names.c signal names hack was wrong, it broke "get signal name" function. 2007-12-04 21:44:52 +00:00
udp_io.c
update_passwd.c xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths, 2007-11-08 20:00:36 +00:00
uuencode.c
vdprintf.c
verror_msg.c - fix conflicting decls of syslog related facilitynames and prioritynames tables 2008-01-27 12:50:12 +00:00
vfork_daemon_rexec.c *: move getopt reset code to better place(s) 2008-01-28 22:57:10 +00:00
warn_ignoring_args.c
wfopen_input.c
wfopen.c 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>. 2007-10-01 11:58:38 +00:00
xatonum_template.c num conversions: allow for leading '+' (renice needs that) 2007-12-11 13:15:11 +00:00
xatonum.c
xconnect.c - be C99 friendly. Anonymous unions are a GNU extension. This change is 2008-01-29 10:33:34 +00:00
xfuncs.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
xgetcwd.c xrealloc_getcwd_or_warn: smaller cod and less wasted RAM at run time 2007-09-29 19:19:55 +00:00
xgethostbyname.c
xreadlink.c syslogd: support "symlink to symlink" for /dev/log; reduce stack usage 2007-11-10 01:28:19 +00:00
xregcomp.c

Please see the LICENSE file for copyright information (GPLv2)

libbb is BusyBox's utility library.  All of this stuff used to be stuffed into
a single file named utility.c.  When I split utility.c to create libbb, some of
the very oldest stuff ended up without their original copyright and licensing
information (which is now lost in the mists of time).  If you see something
that you wrote that is mis-attributed, do let me know so we can fix that up.

	Erik Andersen
	<andersen@codepoet.org>