Denys Vlasenko ca26f1c238 hush: fix a bug with "stdio rewind on exit". Closes 9186 il y a 8 ans
..
Config.src 30a8652fbf sha3: make size/speed optimization decision configurable il y a 12 ans
Kbuild.src 11775edbfc randomconfig fixes il y a 10 ans
README ba2dcccd79 *: trailing empty lines removed il y a 14 ans
appletlib.c ca26f1c238 hush: fix a bug with "stdio rewind on exit". Closes 9186 il y a 8 ans
ask_confirmation.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
auto_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs il y a 9 ans
bb_askpass.c 02859aaeb2 use auto_string() where appropriate to kill a few statics il y a 9 ans
bb_bswap_64.c 9ff50b8697 *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits il y a 14 ans
bb_do_delay.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
bb_pwd.c 1da09cfacf libpwdgrp: rewritten to use malloced implementation il y a 10 ans
bb_qsort.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
bb_strtod.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
bb_strtonum.c ba65872950 libbb/bb_strtonum: always set end ptr, even on error return il y a 13 ans
bbunit.c 718e228adc unit-tests: remove code depending on WANT_TIMING il y a 9 ans
change_identity.c a818777d42 libbb: Enable support for !CONFIG_MULTIUSER il y a 9 ans
chomp.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
compare_string_array.c f085344d5c libbb: another unit test for is_suffixed_with il y a 9 ans
concat_path_file.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
concat_subpath_file.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
copy_file.c 17f8418ea7 Add conditional support for -v / --verbose il y a 10 ans
copyfd.c 8d75d794ea libbb: use sendfile() to copy data between file descriptors il y a 10 ans
correct_password.c feac9b607d ftpd: add optional support for authentication il y a 10 ans
crc32.c b7c9fb27cb whitespace fixes il y a 14 ans
default_error_retval.c 7aa63042d0 libbb: xfunc_error_retval can be a byte il y a 14 ans
device_open.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
die_if_bad_username.c 7485086f1e die_if_bad_username: tighten up a bit il y a 13 ans
dump.c ef6747e290 hexdump: don't unconditionally limit the usable address range il y a 11 ans
endofname.c 1961aea305 move endofname() to libbb il y a 12 ans
executable.c e765b5ac34 libbb: rename execable -> executable. No code changes il y a 10 ans
fclose_nonstdin.c 259b3c047a sed: open input files sequentially to avoid EMFILE il y a 11 ans
fflush_stdout_and_exit.c 550bf5b4a4 remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds il y a 9 ans
fgets_str.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
find_mount_point.c ce4f39ac7c find_mount_point: fix find_mount_point for char devices il y a 13 ans
find_pid_by_name.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
find_root_device.c 2272129a93 plug a DIR* leak on error path il y a 14 ans
full_write.c e4dcba1c10 *: whitespace fixes il y a 14 ans
get_console.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
get_cpu_count.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
get_last_path_component.c b24ef035bd find: cater for libc w/o FNM_CASEFOLD il y a 13 ans
get_line_from_file.c a1a448347e libbb: split bb_get_chunk_from_file and bb_get_chunk_with_continuation il y a 13 ans
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC il y a 12 ans
get_volsize.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
getopt32.c b47b3ce1bd randomconfig fixes il y a 13 ans
getpty.c 438b4ac286 script: make it work even if fd 0 is closed il y a 10 ans
hash_md5_sha.c 305958dbd4 md5sum: code shrink il y a 9 ans
hash_md5prime.c 522041ee7b regularize options which control size/speed trade il y a 13 ans
herror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
human_readable.c 02859aaeb2 use auto_string() where appropriate to kill a few statics il y a 9 ans
in_ether.c 97f2f7ca7f Removes stray empty line from code il y a 9 ans
inet_cksum.c 0d0260fd1e inet_cksum: big-endian fix il y a 13 ans
inet_common.c 8e74adab01 libbb: make INET[6]_rresolve use sockaddr2{host,dotted}_noport il y a 10 ans
info_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
inode_hash.c 83bc4332e7 du, copy_file: fix file matching on cramfs. Closes 5456 il y a 10 ans
isdirectory.c f282c6b657 libbb: remove is_directory's argument which is always NULL il y a 13 ans
kernel_version.c 556ac3633c get_linux_version_code: don't fail on Linux version strints like "3.0-foo" il y a 12 ans
last_char_is.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
lineedit.c 8dff01d06a libbb: introduce and use is_prefixed_with() il y a 9 ans
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
llist.c 9be4702a30 main: free suid_config list after use il y a 13 ans
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality il y a 10 ans
login.c 8f2cb7ab26 libbb: introduce and use strftime_[YYYYMMDD]HHMMSS() il y a 11 ans
loop.c 782ee2aa0e libbb/loop: don't try to re-use existing loop device il y a 10 ans
make_directory.c 17f8418ea7 Add conditional support for -v / --verbose il y a 10 ans
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c il y a 14 ans
match_fstype.c 8dff01d06a libbb: introduce and use is_prefixed_with() il y a 9 ans
messages.c c52cbea2bb libbb: add setsockopt_foo helpers il y a 9 ans
missing_syscalls.c 93b98ff572 Bionic lacks tcdrain; provide a workaround il y a 9 ans
mode_string.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
mtab.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
nuke_str.c 198b02f7dd fix failures found by randomconfig builds il y a 11 ans
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework il y a 10 ans
parse_config.c 499597d6ef mdev: do not treat non-leading '#' chars as start of comment. Closes 4676 il y a 13 ans
parse_mode.c 5711a2a4ad libbb: more compact API for bb_parse_mode() il y a 9 ans
percent_decode.c dd1061b6a7 wget: URL-decode user:password before base64-encoding it into auth hdr. Closes 3625. il y a 13 ans
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
perror_nomsg.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
perror_nomsg_and_die.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
pidfile.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
platform.c cee59053dc Bionic lacks ttyname_r; provide a workaround il y a 9 ans
print_flags.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
printable.c 79c618c411 Refactor catv. Move visible() from stty to libbb. il y a 11 ans
printable_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs il y a 9 ans
process_escape_sequence.c a2d27a1919 libbb/process_escape_sequence.c: fix recently broken handling of \\ il y a 14 ans
procps.c d840c5d139 libbb: add a function to make a copy of a region of memory il y a 9 ans
progress.c 8345b2bd5e libbb: make warning go away il y a 13 ans
ptr_to_globals.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
pw_encrypt.c 8ed9672660 libbb: don't die if crypt() returns NULL il y a 11 ans
pw_encrypt_des.c 44d1989997 des encrypt: fix goof with NUL byte added at the end as '.' il y a 15 ans
pw_encrypt_md5.c 9b2a9f0210 fix assorted unused code and wrong format specs found by cppchekc (bug 6716) il y a 11 ans
pw_encrypt_sha.c 5dcc6606cb libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash rework il y a 14 ans
read.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
read_key.c 0ccae4d8b3 Add comments in keyboard escape sequences table il y a 12 ans
read_printf.c 61d6ae244a libbb: remove unnecessary argument to nonblock_immune_read il y a 9 ans
recursive_action.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
remove_file.c 17f8418ea7 Add conditional support for -v / --verbose il y a 10 ans
replace.c 6f068904dc xargs: add support for -I and -i. Closes 493 il y a 10 ans
rtc.c 8dff01d06a libbb: introduce and use is_prefixed_with() il y a 9 ans
run_shell.c a73b87e934 *: s/"/bin/sh"/DEFAULT_SHELL, run_shell() API fix, remove unneeded strdup il y a 14 ans
safe_gethostname.c 576b1d3c41 sendmail: use host rather than NIS domain name for HELO il y a 12 ans
safe_poll.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
safe_strncpy.c 0016bcee37 klogd: do not log partial lines il y a 14 ans
safe_write.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
selinux_common.c 60cb48ca50 whitespace cleanup. no code changes il y a 12 ans
setup_environment.c 70fc8c17e2 su: do not change to home dir unless -l il y a 12 ans
signals.c c4f2d997a4 libbb: correctness/size tweaks in signal-related helpers il y a 12 ans
simplify_path.c fb132e4737 whitespace cleanup il y a 14 ans
single_argv.c c13ee8c0f3 basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument il y a 13 ans
skip_whitespace.c 8dff01d06a libbb: introduce and use is_prefixed_with() il y a 9 ans
speed_table.c 96f92a1afa libbb: FreeBSD fix for B<num> baud rate constants not fitting into a short. il y a 11 ans
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
strrstr.c 3ed81cf052 unit-tests: implement the unit-testing framework il y a 10 ans
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() il y a 10 ans
systemd_support.c 0b8a7723c7 typo fix il y a 14 ans
time.c 3b394781b5 libbb: fix parsing of "10101010" date/time form il y a 11 ans
trim.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
u_signal_names.c 327d2885ec kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAX il y a 14 ans
udp_io.c c52cbea2bb libbb: add setsockopt_foo helpers il y a 9 ans
unicode.c 7a18043a96 lineedit: improve Unicode handling (still buggy though) il y a 11 ans
update_passwd.c 8dff01d06a libbb: introduce and use is_prefixed_with() il y a 9 ans
utmp.c 86a7f18f21 *: Switch to POSIX utmpx API il y a 9 ans
uuencode.c e6094d95b5 libbb: shrink base64 decoding a bit il y a 13 ans
vdprintf.c ec447c7f01 libbb.h: remove unused defines il y a 13 ans
verror_msg.c fe33683c8b Fix compile failures il y a 10 ans
vfork_daemon_rexec.c 550bf5b4a4 remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds il y a 9 ans
warn_ignoring_args.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
wfopen.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
wfopen_input.c e4dcba1c10 *: whitespace fixes il y a 14 ans
write.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
xatonum.c 911db16229 truncate: new applet il y a 9 ans
xatonum_template.c 6830ade6aa whitespace fixes. no code changes il y a 12 ans
xconnect.c c52cbea2bb libbb: add setsockopt_foo helpers il y a 9 ans
xfunc_die.c 550bf5b4a4 remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds il y a 9 ans
xfuncs.c 97f2f7ca7f Removes stray empty line from code il y a 9 ans
xfuncs_printf.c d840c5d139 libbb: add a function to make a copy of a region of memory il y a 9 ans
xgetcwd.c e4dcba1c10 *: whitespace fixes il y a 14 ans
xgethostbyname.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
xreadlink.c c50493854a libbb: fix a bad check for uclibc >= 0.9.31 il y a 10 ans
xrealloc_vector.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
xregcomp.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans

README

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