Denys Vlasenko 9225f9684f libbb/dump: make xxd_displayoff member conditional on xxd vor 1 Jahr
..
Config.src 45734a2351 loop: optionally use ioctl(LOOP_CONFIGURE) to set up loopdevs vor 1 Jahr
Kbuild.src 6472ac9428 libbb/sha256: optional x86 hardware accelerated hashing vor 2 Jahren
README ba2dcccd79 *: trailing empty lines removed vor 14 Jahren
appletlib.c 85e4805ae9 appletlib: fix "warning: unused variable applet_no" vor 1 Jahr
ask_confirmation.c bae8fc4436 xargs: use bb_ask_y_confirmation_FILE() instead of homegrown copy vor 6 Jahren
auto_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs vor 8 Jahren
bb_askpass.c cad3fc743a libbb: introduce and use fputs_stdout vor 3 Jahren
bb_bswap_64.c 9ff50b8697 *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits vor 13 Jahren
bb_cat.c d9eb40c185 fix errors found with make_single_applets.sh vor 7 Jahren
bb_do_delay.c 030fe31760 libbb: make msleep() result in only one syscall instead of looping vor 3 Jahren
bb_getgroups.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
bb_getsockname.c ba3b9dbf06 libbb: introduce and use bb_getsockname() vor 6 Jahren
bb_pwd.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
bb_qsort.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
bb_strtod.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
bb_strtonum.c 93ef5dd640 printf: fix printf "%u\n" +18446744073709551614 vor 5 Jahren
bbunit.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
capability.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly vor 3 Jahren
change_identity.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
chomp.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
common_bufsiz.c 72089cf6b4 config: deindent all help texts vor 6 Jahren
compare_string_array.c bcf91d2760 libbb: code shrink and speed up index_in_strings() vor 3 Jahren
concat_path_file.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
concat_subpath_file.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
const_hack.c 5156b24553 Make const ptr assign as function call in clang vor 2 Jahren
copy_file.c 56bbbfae7d cp: implement -n vor 2 Jahren
copyfd.c fd3c512f88 libbb: create and use mmap() helpers vor 3 Jahren
correct_password.c 77cb6b99a4 libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation vor 6 Jahren
crc32.c ddacb03e87 libbb: commonalize a bit of little-endian CRC32 table generation code vor 6 Jahren
default_error_retval.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
device_open.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
die_if_bad_username.c 0723131628 Fixes for Hurd build vor 3 Jahren
dump.c 9225f9684f libbb/dump: make xxd_displayoff member conditional on xxd vor 1 Jahr
duration.c 7362d29794 ash: fix sleep built-in not running INT trap immediately on ^C vor 1 Jahr
endofname.c 1961aea305 move endofname() to libbb vor 11 Jahren
executable.c 2075aa93e0 libbb: rename run_shell() to exec_shell() vor 3 Jahren
fclose_nonstdin.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
fflush_stdout_and_exit.c dfd8aafcf5 libbb: fflush_stdout_and_exit(0) still exits with _error_ (not 0!) if fflush fails vor 2 Jahren
fgets_str.c 6ad38d66d0 libbb: code shrink fgets_str vor 3 Jahren
find_mount_point.c f3a064f495 libbbb: find_mount_point() too eager to stat mounted devices vor 5 Jahren
find_pid_by_name.c 3a0eea0887 pidof: support "pidof /path/to/binary" case vor 5 Jahren
find_root_device.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
full_write.c 875ce094cf dd: fix handling of short result of full_write(), closes 11711 vor 5 Jahren
get_console.c ca466f385a *: slap on a few ALIGN* where appropriate vor 2 Jahren
get_cpu_count.c 0ef64bdb40 *: make GNU licensing statement forms more regular vor 13 Jahren
get_last_path_component.c b24ef035bd find: cater for libc w/o FNM_CASEFOLD vor 13 Jahren
get_line_from_file.c 22a9951620 libbb: in xmalloc_fgets(), use size_t for bb_get_chunk_from_file() vor 5 Jahren
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC vor 11 Jahren
get_volsize.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
getopt32.c 987be932ed *: slap on a few ALIGN_PTR where appropriate vor 2 Jahren
getopt_allopts.c 727948e585 getopt32: factor out code to treat all args as options vor 6 Jahren
getpty.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
hash_md5_sha.c a59e5a7d08 libbb/sha: do not read shaNI variable twice, and factor out its setting vor 1 Jahr
hash_md5_sha256_x86-32_shaNI.S 526625bc83 libbb: mark stack in assembly files read-only vor 1 Jahr
hash_md5_sha256_x86-64_shaNI.S 526625bc83 libbb: mark stack in assembly files read-only vor 1 Jahr
hash_md5_sha_x86-32_shaNI.S 526625bc83 libbb: mark stack in assembly files read-only vor 1 Jahr
hash_md5_sha_x86-64.S 526625bc83 libbb: mark stack in assembly files read-only vor 1 Jahr
hash_md5_sha_x86-64.S.sh 526625bc83 libbb: mark stack in assembly files read-only vor 1 Jahr
hash_md5_sha_x86-64_shaNI.S 526625bc83 libbb: mark stack in assembly files read-only vor 1 Jahr
hash_md5prime.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work vor 7 Jahren
herror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
human_readable.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
in_ether.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
inet_cksum.c 4a0eb0370c gcc-9.x warning fixes vor 3 Jahren
inet_common.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
inode_hash.c e563f9e851 du: don't count duplicate arguments. Closes 5288 vor 5 Jahren
isdirectory.c 416899fca6 do not include <sys/stat.h> just before "libbb.h", it's there already vor 6 Jahren
isqrt.c 8a134ec680 libbb: move isqrt from factor, use it in diff too vor 7 Jahren
iterate_on_dir.c 1746218bee move iterate_on_dir() from e2fsprogs to libbb vor 2 Jahren
kernel_version.c 2496616b0a avoid using strok - eliminates use of hidden global variable vor 3 Jahren
last_char_is.c 79a4032eef libbb: shrink last_char_is(), no longer allow NULL string argument vor 3 Jahren
lineedit.c 853cfe927f lineedit: fix crash when icanon set with -echo vor 1 Jahr
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular vor 13 Jahren
llist.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality vor 9 Jahren
login.c cad3fc743a libbb: introduce and use fputs_stdout vor 3 Jahren
loop.c e7977df2ca libbb/loop: fix compile failure (name collision) vor 1 Jahr
make_directory.c 1267770a9d fix compile failure in previous commit vor 6 Jahren
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c vor 13 Jahren
match_fstype.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
messages.c cca7c611f2 which: fix TODO with NOFORK+malloc_failure misbehaving vor 6 Jahren
missing_syscalls.c d3539be8f2 Remove stime() function calls vor 4 Jahren
mode_string.c 6279aec03d libbb: clarify what bb_mode_string() generates vor 2 Jahren
mtab.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
nuke_str.c 4c201c00a3 whitespace fixes vor 5 Jahren
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework vor 10 Jahren
parse_config.c 22542eca18 getopt32: remove opt_complementary vor 6 Jahren
parse_mode.c 4958c18134 libbb: code shrink bb_parse_mode vor 2 Jahren
percent_decode.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular vor 13 Jahren
perror_nomsg.c 95fec31be6 libbb: restore special handling of nomsg errors vor 1 Jahr
perror_nomsg_and_die.c 95fec31be6 libbb: restore special handling of nomsg errors vor 1 Jahr
pidfile.c 5059653882 do not duplicate CONFIG_PID_FILE_PATH and ".pid" strings vor 5 Jahren
platform.c 33745b1fc8 ash: placate -Werror=format-security vor 3 Jahren
print_flags.c 2ab9403119 whitespace and comment format fixes, no code changes vor 6 Jahren
print_numbered_lines.c cad3fc743a libbb: introduce and use fputs_stdout vor 3 Jahren
printable.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
printable_string.c 349d72c19c unzip: use printable_string() for printing filenames vor 5 Jahren
process_escape_sequence.c 9a2b6dcc2d libbb: do not misinterpret 0x10-0x19 chars in "\xNNN" too vor 5 Jahren
procps.c 89a55972fd libbb/procps: smaller global data for username/groupname cache vor 3 Jahren
progress.c 26602b85a3 wget: print the final newline only for non-tty output vor 5 Jahren
ptr_to_globals.c b1c7a66ca6 libbb: extend "errno pointer" trick to other than __GLIBC__ vor 3 Jahren
pw_encrypt.c 09aba8bac4 Fix missing "crypt.h" compilation error on the FreeBSD vor 3 Jahren
pw_encrypt_des.c 00b5051cd2 libbb: code shrink in des encryption, in setup_salt() vor 2 Jahren
pw_encrypt_md5.c 9b2a9f0210 fix assorted unused code and wrong format specs found by cppchekc (bug 6716) vor 10 Jahren
pw_encrypt_sha.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work vor 7 Jahren
read.c dd46861282 libbb: Converted safe_read to safe_write format vor 4 Jahren
read_key.c 1e825acf8d libbb: shrink lineedit_read_key() vor 2 Jahren
read_printf.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
recursive_action.c 689d0650ab libbb: shrink recursive_action() by reducing memory pressure vor 3 Jahren
remove_file.c 4a68697521 libbb: do not check closedir() in remove_file() vor 2 Jahren
replace.c 7011eca83a replace: count_strstr - Handle an edge case where sub is empty vor 4 Jahren
rtc.c 251e08ffa6 move ADJTIME_PATH define to header files vor 3 Jahren
run_shell.c f4f6e5144b libbb: exec_login_shell() - new function vor 3 Jahren
safe_gethostname.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
safe_poll.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
safe_strncpy.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
safe_write.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
securetty.c 44c0ab4102 libbb: fix "error: redefinition of 'is_tty_secure'" vor 7 Jahren
selinux_common.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
setup_environment.c c2788f88f4 libbb: introduce and use chdir_or_warn() vor 2 Jahren
signals.c 5dadd497ff runsv: robustify signal handling - SIGTERM to child between vfork and exec could mess things up vor 3 Jahren
simplify_path.c fb132e4737 whitespace cleanup vor 13 Jahren
single_argv.c c13ee8c0f3 basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument vor 13 Jahren
skip_whitespace.c cc222747ae libbb: Use return value from is_prefixed_with() vor 6 Jahren
speed_table.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly vor 3 Jahren
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular vor 13 Jahren
strrstr.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() vor 9 Jahren
time.c f27a6a94a7 libbb: code shrink parse_datestr (again) vor 2 Jahren
trim.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
u_signal_names.c 656ca7bdd9 libbb/u_signal_names.c: don't check errno after bb_strtou vor 5 Jahren
ubi.c 798b94518e ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE vor 6 Jahren
udp_io.c 518fb3ba19 udp_io, traceroute: Standardise IPv6 PKTINFO handling to be portable vor 6 Jahren
unicode.c 2fba2f5bb9 unicode: relax array alignment for tables vor 3 Jahren
update_passwd.c 808d93c0ec update_passwd: fix context variable vor 3 Jahren
utmp.c 86a7f18f21 *: Switch to POSIX utmpx API vor 9 Jahren
uuencode.c ae04ce82cf base32/64: "truncated base64 input" -> "truncated input" vor 3 Jahren
verror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
vfork_daemon_rexec.c a26711a2d1 libbb: consolidate NOMMU fix of restoring high bit in argv[0][0] vor 1 Jahr
warn_ignoring_args.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
wfopen.c 899ae5337a libbb: new function bb_die_memory_exhausted vor 6 Jahren
wfopen_input.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
write.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
xatonum.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly vor 3 Jahren
xatonum_template.c 6830ade6aa whitespace fixes. no code changes vor 11 Jahren
xconnect.c c00bcf2d2c libbb: reuse "bad port" error message string vor 2 Jahren
xfunc_die.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
xfuncs.c db5546ca10 libbb: code shrink: introduce and use [_]exit_SUCCESS() vor 2 Jahren
xfuncs_printf.c c2788f88f4 libbb: introduce and use chdir_or_warn() vor 2 Jahren
xgetcwd.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
xgethostbyname.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls vor 4 Jahren
xreadlink.c 94eb1c4dc6 libbb: better coreutils compatibility for realpath vor 2 Jahren
xrealloc_vector.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren
xregcomp.c ebe6d9d875 whitespace and comment format fixes, no code changes vor 6 Jahren

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