busybox/libbb
Denis Vlasenko fb79a2e2cf xioctl and friends by Tito <farmatito@tiscali.it>
function                                             old     new   delta
do_iptunnel                                          203     977    +774
process_dev                                         5328    5494    +166
ioctl_or_perror                                        -      54     +54
ioctl_or_perror_and_die                                -      51     +51
ioctl_alt_func                                         -      49     +49
bb_ioctl_or_warn                                       -      47     +47
do_add_ioctl                                         102     145     +43
bb_xioctl                                              -      39     +39
print_value_on_off                                     -      31     +31
get_lcm                                              105     123     +18
arp_main                                            2155    2167     +12
..................
zcip_main                                           1576    1566     -10
setlogcons_main                                       92      82     -10
dumpkmap_main                                        263     253     -10
do_get_ioctl                                          85      75     -10
setkeycodes_main                                     165     154     -11
write_table                                          244     232     -12
vconfig_main                                         318     306     -12
do_del_ioctl                                          93      81     -12
set_address                                           75      62     -13
maybe_set_utc                                         30      16     -14
loadfont_main                                        495     479     -16
slattach_main                                        712     695     -17
do_loadfont                                          191     174     -17
do_iplink                                           1155    1136     -19
getty_main                                          2583    2562     -21
fbset_main                                          2058    2035     -23
do_time                                              588     565     -23
xioctl                                                25       -     -25
read_rtc                                             186     160     -26
parse_conf                                          1299    1270     -29
udhcp_read_interface                                 269     239     -30
bb_ioctl                                              45       -     -45
bb_ioctl_alt                                          70       -     -70
bb_ioctl_on_off                                       78       -     -78
.rodata                                           129370  129018    -352
do_show                                              799       -    -799
------------------------------------------------------------------------------
(add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864)     Total: -548 bytes
   text	   data	    bss	    dec	    hex	filename
 675352	   2740	  13968	 692060	  a8f5c	busybox_old
 674804	   2740	  13968	 691512	  a8d38	busybox_unstripped
2007-07-14 22:07:14 +00:00
..
ask_confirmation.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
bb_askpass.c libbb: random hunt for statics 2007-06-18 10:35:06 +00:00
bb_basename.c add bb_basename.c 2007-06-30 10:58:08 +00:00
bb_do_delay.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
bb_pwd.c random style fixes (extra spaces deleted) 2007-03-24 15:40:16 +00:00
bb_strtonum.c
change_identity.c
chomp.c cryptpw: new applet (a bit less than 3k added) 2007-05-08 17:52:17 +00:00
compare_string_array.c - fix bug where we did not reject invalid classes like '[[:alpha' 2007-03-30 14:43:27 +00:00
concat_path_file.c
concat_subpath_file.c teach find_root_device to deal with /dev/ subdirs 2007-04-13 23:59:52 +00:00
Config.in xioctl and friends by Tito <farmatito@tiscali.it> 2007-07-14 22:07:14 +00:00
copy_file.c do not do utime() on links, it acts on link targets, and we don't want that. 2007-06-20 14:49:47 +00:00
copyfd.c bb_full_fd_action: remove potential xmalloc from NOFORK path 2007-04-11 23:20:53 +00:00
correct_password.c correct_password: if password is 'x' or '*' and there is no shadow, use 2007-07-03 10:28:46 +00:00
crc32.c make compressed help code NOMMU- and NOFORK-friendly - 2007-04-10 21:40:19 +00:00
create_icmp6_socket.c ping: don't measure times if ping payload is less than 8 bytes; 2007-03-03 00:36:35 +00:00
create_icmp_socket.c clean up accumulated whitespace damage 2007-03-07 09:35:43 +00:00
crypt_make_salt.c cryptpw: forgot svn add... how typical of me :( 2007-05-08 23:23:35 +00:00
default_error_retval.c Rename two config options: 2007-04-10 23:03:30 +00:00
device_open.c
dump.c random shrinkage of statics, -60 bytes saved 2007-06-21 12:43:45 +00:00
error_msg_and_die.c hush: fix handling of unmatched ${name (without closing '}') - 2007-05-24 12:18:16 +00:00
error_msg.c use "glibc errno" trick not only for ash, but for entire busybox 2007-05-31 22:16:38 +00:00
execable.c make busybox --install work even if /proc/self/exe doesn't exist 2007-06-08 15:02:55 +00:00
fclose_nonstdin.c
fflush_stdout_and_exit.c Rename two config options: 2007-04-10 23:03:30 +00:00
fgets_str.c
find_mount_point.c
find_pid_by_name.c introduce and use bb_basename() 2007-06-30 08:04:05 +00:00
find_root_device.c find_root_device: use lstat - don't follow links 2007-04-21 23:28:03 +00:00
full_write.c httpd: a little bit more correct handling of CGI "HTTP/xxx" output 2007-02-13 23:42:54 +00:00
get_console.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
get_last_path_component.c preparatory patch for -Wwrite-strings #2 2007-01-29 22:51:25 +00:00
get_line_from_file.c style fixes. No code changes 2007-04-12 00:32:05 +00:00
getopt32.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
herror_msg_and_die.c make a few struct bb_applet members conditional 2007-04-10 21:38:30 +00:00
herror_msg.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
human_readable.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
inet_common.c make /etc/network parsing configurable. -200 bytes when off. 2007-06-19 11:24:47 +00:00
info_msg.c login: remove setpgrp call (makes it work from shell prompt again). 2007-04-12 12:31:02 +00:00
inode_hash.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
isdirectory.c
Kbuild find: fix build failure on certain configs 2007-07-01 17:35:17 +00:00
kernel_version.c
last_char_is.c
lineedit.c introduce and use bb_basename() 2007-06-30 08:04:05 +00:00
llist.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
login.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
loop.c loop device code: readability improvement 2007-04-19 00:09:34 +00:00
make_directory.c audit small applets and mark some of them as NOFORK. 2007-04-10 15:43:37 +00:00
makedev.c fix warning from needlessly-global functions 2007-01-22 23:04:27 +00:00
match_fstype.c whitespace fixes 2007-05-30 00:29:55 +00:00
md5.c
messages.c *: BB_BANNER -> bb_banner (it is not a const or #define)! 2007-06-13 12:27:17 +00:00
mode_string.c - the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully 2007-01-22 17:48:08 +00:00
mtab_file.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
mtab.c
obscure.c
parse_mode.c audit small applets and mark some of them as NOFORK. 2007-04-10 15:43:37 +00:00
perror_msg_and_die.c make a few struct bb_applet members conditional 2007-04-10 21:38:30 +00:00
perror_msg.c use "glibc errno" trick not only for ash, but for entire busybox 2007-05-31 22:16:38 +00:00
perror_nomsg_and_die.c fix warning from needlessly-global functions 2007-01-22 23:04:27 +00:00
perror_nomsg.c fix warning from needlessly-global functions 2007-01-22 23:04:27 +00:00
pidfile.c pidfile creation mode set to 0666 (umask affects it as usual) 2007-03-27 22:05:34 +00:00
process_escape_sequence.c Implement first instance of NOFORK applet - echo 2007-04-09 13:04:50 +00:00
procps.c top,ps: improve /proc/PID/cmdinfo reading code 2007-06-30 14:47:41 +00:00
pw_encrypt.c libbb: random hunt for statics 2007-06-18 10:35:06 +00:00
read.c top,ps: improve /proc/PID/cmdinfo reading code 2007-06-30 14:47:41 +00:00
README
recursive_action.c md5_sha1_sum: fix mishandling when run as /bin/md5sum (with path) 2007-07-05 00:12:55 +00:00
remove_file.c audit small applets and mark some of them as NOFORK. 2007-04-10 15:43:37 +00:00
restricted_shell.c
run_shell.c use "glibc errno" trick not only for ash, but for entire busybox 2007-05-31 22:16:38 +00:00
safe_strncpy.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
safe_write.c use "glibc errno" trick not only for ash, but for entire busybox 2007-05-31 22:16:38 +00:00
selinux_common.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
setup_environment.c remove nearly-duplicate PATHs in several places 2007-06-12 22:35:19 +00:00
sha1.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
simplify_path.c teach find_root_device to deal with /dev/ subdirs 2007-04-13 23:59:52 +00:00
skip_whitespace.c
speed_table.c Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>) 2007-06-25 10:55:35 +00:00
str_tolower.c - add libbb function str_tolower to convert a string to lowercase. 2007-04-10 09:37:29 +00:00
time.c fix an obvious typo while trying to access the tv_usec member 2007-06-18 07:12:31 +00:00
trim.c style fixes. No code changes 2007-04-12 00:32:05 +00:00
u_signal_names.c Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>) 2007-06-25 10:55:35 +00:00
udp_io.c whitespace fixes 2007-05-30 00:29:55 +00:00
uuencode.c uuencode: shrink 2007-06-26 15:59:37 +00:00
vdprintf.c accumulated post-1.4.0 fixes 2007-01-24 22:02:01 +00:00
verror_msg.c verror_msg: don't printf(NULL) 2007-05-29 21:41:28 +00:00
vfork_daemon_rexec.c init: make sure fd 0,1,2 are not closed, + related optimizations. 2007-06-14 07:53:06 +00:00
vherror_msg.c
vinfo_msg.c
vperror_msg.c
warn_ignoring_args.c
wfopen_input.c bb_full_fd_action: remove potential xmalloc from NOFORK path 2007-04-11 23:20:53 +00:00
wfopen.c
xatonum_template.c find: make -size match GNU find 2007-06-16 00:30:52 +00:00
xatonum.c diff: shrink code (-85 bytes): 2007-06-12 20:54:54 +00:00
xconnect.c nc: make connecting to IPv4 from IPv6-enabled hosts easier 2007-06-05 20:08:11 +00:00
xfuncs.c xioctl and friends by Tito <farmatito@tiscali.it> 2007-07-14 22:07:14 +00:00
xgetcwd.c syslogd: fix "readpath bug" by using readlink instead 2007-02-11 16:19:28 +00:00
xgethostbyname.c
xreadlink.c syslogd: fix "readpath bug" by using readlink instead 2007-02-11 16:19:28 +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>