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

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