hush/libbb
Denys Vlasenko 3a41611bc5 telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363
function                                             old     new   delta
write_new_utmp                                         -     253    +253
skip_dev_pfx                                           -      30     +30
handle_sigchld                                        42      72     +30
telnetd_main                                        1650    1673     +23
make_new_session                                     415     438     +23
...
login_main                                          1140    1148      +8
update_utmp                                          337     313     -24
write_wtmp                                           220     154     -66
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 11/6 up/down: 406/-115)         Total: ~291 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-05 22:10:38 +02:00
..
appletlib.c libbb: locate PAGE_SIZE on Hurd 2010-03-29 11:02:00 +02:00
ask_confirmation.c libbb/ask_confirmation.c: shrink 2009-10-27 09:49:04 +01:00
bb_askpass.c libbb: fix bb_ask() to operate on correct fd 2010-02-03 12:17:06 +01:00
bb_basename.c
bb_do_delay.c libbb/bb_do_delay.c: shrink 2009-10-27 09:54:34 +01:00
bb_pwd.c
bb_qsort.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
bb_strtod.c libbb: stop using bb_strtod for now 2009-06-15 09:50:54 +02:00
bb_strtonum.c
change_identity.c
chomp.c
compare_string_array.c libbb: make index_in_substrings return -1 on ambiguous matches 2010-04-03 00:52:16 +02:00
concat_path_file.c
concat_subpath_file.c
Config.in rename sent_ESC_br_n6 variable to sent_ESC_br6n 2009-10-27 10:47:49 +01:00
copy_file.c cosmetic fixes 2010-02-06 21:11:49 +01:00
copyfd.c libbb/copyfd.c: don't mmap a largish buffer if we only want to copy a few kb 2010-03-19 14:34:30 +01:00
correct_password.c
crc32.c
create_icmp6_socket.c
create_icmp_socket.c
default_error_retval.c
device_open.c
die_if_bad_username.c adduser: copy /etc/skel to mew homes. +100 bytes 2010-02-06 21:50:59 +01:00
dump.c hexdump: fix "hexdump nonexistent_file" handling 2010-02-06 13:53:21 +01:00
error_msg_and_die.c
error_msg.c
execable.c
fclose_nonstdin.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
fflush_stdout_and_exit.c
fgets_str.c ftpd: fix command fetching to not do it in 1-byte reads; 2009-03-18 17:32:44 +00:00
find_mount_point.c fix mountpoint test to not prevemt mkfs_xxx from making image in any file 2009-07-18 16:22:26 +02:00
find_pid_by_name.c make find_pid_by_name look at /proc/PID/exe too 2009-07-29 01:35:13 +02:00
find_root_device.c
full_write.c
get_console.c
get_last_path_component.c
get_line_from_file.c optimize config_read() (by Timo Teras <timo.teras AT iki.fi>) 2008-08-09 17:16:40 +00:00
get_volsize.c mkXXXX: unify [KBYTES] parameter handling (added it to mkswap) 2010-02-01 23:48:27 +01:00
getopt32.c libbb/getopt32.c: clear applet_long_options and opt_complementary after use 2010-03-16 17:57:53 +01:00
getpty.c
herror_msg_and_die.c
herror_msg.c
human_readable.c ls: make it so that group never glues itself to file size 2010-01-18 01:55:00 +01:00
inet_common.c tweak Config texts and some broken English elsewhere 2009-06-18 13:23:58 +02:00
info_msg.c crond: do not log info messages at LOG_ERR. Closes bug 681. +62 bytes. 2009-12-13 17:42:49 +01:00
inode_hash.c
isdirectory.c httpd: shrink mime type matching code (suggested by Bernhard) 2009-09-10 01:46:02 +02:00
Kbuild libbb: split update_utmp from login/getty in preparation to use it for telnetd 2010-04-05 03:18:40 +02:00
kernel_version.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
last_char_is.c
lineedit_ptr_hack.c
lineedit.c unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALE 2010-03-26 14:06:56 +01:00
llist.c move llist_find_str from modutils to libbb 2009-04-13 20:52:00 +00:00
login.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
loop.c libbb/loop: comment out u32 hack 2010-03-18 14:38:21 +01:00
make_directory.c tar: fix bug 673 (misdetection of repeated dir as hardlink). +92 bytes 2009-11-29 07:45:33 +01:00
makedev.c
match_fstype.c mount: support "-O option"; stop trying to mount swap partitions 2009-03-14 22:57:20 +00:00
md5.c libbb/md5.c: remove wrong comment 2010-02-08 17:46:49 +01:00
md5prime.c
messages.c ntpd: and real handling for -N, show usage w/o options; trim text 2009-11-25 14:52:47 +01:00
mode_string.c
mtab_file.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
mtab.c
obscure.c
parse_config.c documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com) 2009-09-06 02:58:59 +02:00
parse_mode.c *: optimize code size in strtoul calls 2009-09-23 17:17:53 +02:00
perror_msg_and_die.c
perror_msg.c
perror_nomsg_and_die.c
perror_nomsg.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
pidfile.c
platform.c libbb: fix vasprintf implementation 2009-11-17 05:33:47 +01:00
print_flags.c cosmetic fixes, no code changed 2010-04-03 15:39:47 +02:00
printable_string.c unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALE 2010-03-26 14:06:56 +01:00
printable.c
process_escape_sequence.c echo et al: support \e escape 2009-10-29 03:39:55 +01:00
procps.c pidof/killall: fix bug 625 (kernel threads get stale "binary name") 2009-09-22 23:06:07 +02:00
progress.c unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALE 2010-03-26 14:06:56 +01:00
ptr_to_globals.c
pw_encrypt_des.c des encrypt: fix goof with NUL byte added at the end as '.' 2009-05-01 03:41:25 +02:00
pw_encrypt_md5.c
pw_encrypt_sha.c
pw_encrypt.c libbb: move crypt_make_salt() to pw_encrypt.c, reuse 2008-12-07 01:16:34 +00:00
read_key.c lineedit: fix another corner case with bad unicode input 2010-03-11 21:17:55 +01:00
read.c tidy up O_NONBLOCK usage. use libbb functions in stty. 2009-11-11 21:05:42 +01:00
README
recursive_action.c find: -follow should not error out on dandling links 2009-09-29 11:07:04 +02:00
remove_file.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
rtc.c *: make it easier to distinquish "struct tm", pointer to one, etc 2010-01-09 19:10:49 +01:00
run_shell.c *: merge some common strings 2010-03-23 16:25:17 +01:00
safe_gethostname.c provide safe_gethostname() for non-linux systems 2010-03-29 11:20:00 +02:00
safe_poll.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
safe_strncpy.c
safe_write.c
selinux_common.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
setup_environment.c setup_environment(): eliminate one parameter 2010-02-26 09:52:45 +01:00
sha1.c big endian warning fixes 2009-11-07 01:31:14 +01:00
signals.c
simplify_path.c httpd: simplify insane conf file parser 2009-04-22 13:49:16 +00:00
single_argv.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
skip_whitespace.c *: use better isspace implementation 2009-10-22 19:41:45 +02:00
speed_table.c add B921600 2009-10-20 19:53:24 +02:00
str_tolower.c
strrstr.c
time.c date,touch: accept Jan 7 00:00:00 2010 format 2010-03-22 18:22:33 +01:00
trim.c *: remove last function calls to isspace 2009-10-22 22:28:08 +02:00
u_signal_names.c
udp_io.c *: eliminate more aliasing warnings 2010-02-04 18:41:18 +01:00
unicode.c unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALE 2010-03-26 14:06:56 +01:00
update_passwd.c adduser: more fixes to "add user to specified group" 2010-01-09 20:57:06 +01:00
utmp.c telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363 2010-04-05 22:10:38 +02:00
uuencode.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
vdprintf.c
verror_msg.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
vfork_daemon_rexec.c *: code shrink and better "died from signal" reporting from wait4pid 2010-03-18 22:44:00 +01:00
warn_ignoring_args.c *: make 2 more "int argc"'s unused; more saved if !DESKTOP 2010-01-04 13:16:08 +01:00
wfopen_input.c
wfopen.c libbb: added xfdopen_for_read/write 2009-11-15 23:28:11 +01:00
write.c
xatonum_template.c *: remove last function calls to isspace 2009-10-22 22:28:08 +02:00
xatonum.c
xconnect.c Hurd compat fixes. Mostly dealing with absent PATH_MAX 2010-03-26 19:08:53 +01:00
xfunc_die.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
xfuncs_printf.c *: do not assign to stdout/stderr, it's not portable. 2010-01-02 18:49:22 +01:00
xfuncs.c libbb: factor out hex2bin() for infiniband address parser 2010-04-04 15:29:32 +02:00
xgetcwd.c
xgethostbyname.c clean up redundant, commented-out and misplaced includes 2010-04-01 15:09:44 +02:00
xreadlink.c Hurd compat fixes. Mostly dealing with absent PATH_MAX 2010-03-26 19:08:53 +01:00
xrealloc_vector.c libbb/xrealloc_vector.c: better comment 2009-10-27 10:01:01 +01: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>