Denys Vlasenko 67e1529b92 nologin: make it possible to build it as single applet 4 سال پیش
..
Config.src 43b17b1cd0 restore documentation on the build config language 6 سال پیش
Kbuild.src 7367a949a6 libbb: compile obscure() only if FEATURE_PASSWD_WEAK_CHECK=y 7 سال پیش
README ba2dcccd79 *: trailing empty lines removed 14 سال پیش
appletlib.c 67e1529b92 nologin: make it possible to build it as single applet 4 سال پیش
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 9 سال پیش
bb_askpass.c 17058a06c4 libbb: switch bb_ask_noecho() to "mallocing" string return API 6 سال پیش
bb_bswap_64.c 9ff50b8697 *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits 14 سال پیش
bb_cat.c d9eb40c185 fix errors found with make_single_applets.sh 7 سال پیش
bb_do_delay.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
bb_getgroups.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
bb_getsockname.c ba3b9dbf06 libbb: introduce and use bb_getsockname() 6 سال پیش
bb_pwd.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
bb_qsort.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
bb_strtod.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
bb_strtonum.c 93ef5dd640 printf: fix printf "%u\n" +18446744073709551614 6 سال پیش
bbunit.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
capability.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
change_identity.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
chomp.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
common_bufsiz.c 72089cf6b4 config: deindent all help texts 7 سال پیش
compare_string_array.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
concat_path_file.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
concat_subpath_file.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
copy_file.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
copyfd.c 42f454b13b dpkg-deb: work around bogus error message when working with XZ compressed packages 5 سال پیش
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 7 سال پیش
default_error_retval.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
device_open.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
die_if_bad_username.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
dump.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
duration.c 5fa5c4bde8 randomconfig fixes 4 سال پیش
endofname.c 1961aea305 move endofname() to libbb 12 سال پیش
executable.c cca7c611f2 which: fix TODO with NOFORK+malloc_failure misbehaving 7 سال پیش
fclose_nonstdin.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
fflush_stdout_and_exit.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
fgets_str.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
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 7 سال پیش
full_write.c 875ce094cf dd: fix handling of short result of full_write(), closes 11711 5 سال پیش
get_console.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
get_cpu_count.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
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() 6 سال پیش
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC 12 سال پیش
get_volsize.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
getopt32.c 6016181b68 hush: GETOPT_RESET() _after_ getopts too. 7 سال پیش
getopt_allopts.c 727948e585 getopt32: factor out code to treat all args as options 7 سال پیش
getpty.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
hash_md5_sha.c f69f207490 libbb: add comment on sha384 6 سال پیش
hash_md5prime.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work 8 سال پیش
herror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
human_readable.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
in_ether.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
inet_cksum.c 0d0260fd1e inet_cksum: big-endian fix 13 سال پیش
inet_common.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
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 7 سال پیش
isqrt.c 8a134ec680 libbb: move isqrt from factor, use it in diff too 7 سال پیش
kernel_version.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
last_char_is.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
lineedit.c d5314e7129 suppress a few compile warnings 4 سال پیش
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
llist.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality 10 سال پیش
login.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
loop.c 3b69ba799f mount,losetup: use /dev/loop-control is it exists 5 سال پیش
make_directory.c 1267770a9d fix compile failure in previous commit 6 سال پیش
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c 14 سال پیش
match_fstype.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
messages.c cca7c611f2 which: fix TODO with NOFORK+malloc_failure misbehaving 7 سال پیش
missing_syscalls.c d3539be8f2 Remove stime() function calls 5 سال پیش
mode_string.c 416899fca6 do not include <sys/stat.h> just before "libbb.h", it's there already 7 سال پیش
mtab.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
nuke_str.c 4c201c00a3 whitespace fixes 6 سال پیش
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework 10 سال پیش
parse_config.c 22542eca18 getopt32: remove opt_complementary 7 سال پیش
parse_mode.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
percent_decode.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
perror_nomsg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
perror_nomsg_and_die.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
pidfile.c 5059653882 do not duplicate CONFIG_PID_FILE_PATH and ".pid" strings 5 سال پیش
platform.c cee59053dc Bionic lacks ttyname_r; provide a workaround 9 سال پیش
print_flags.c 2ab9403119 whitespace and comment format fixes, no code changes 7 سال پیش
print_numbered_lines.c c100535571 cat,nl: fix handling of open errors 6 سال پیش
printable.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
printable_string.c 349d72c19c unzip: use printable_string() for printing filenames 6 سال پیش
process_escape_sequence.c 9a2b6dcc2d libbb: do not misinterpret 0x10-0x19 chars in "\xNNN" too 6 سال پیش
procps.c aad76968cd pmap: make 32-bit version work better on 64-bit kernels 6 سال پیش
progress.c 26602b85a3 wget: print the final newline only for non-tty output 6 سال پیش
ptr_to_globals.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
pw_encrypt.c 4767a5375e libbb: include <crypt.h> only if necessary 5 سال پیش
pw_encrypt_des.c 95f7953f2c do not use `a' quoting style in comments 7 سال پیش
pw_encrypt_md5.c 9b2a9f0210 fix assorted unused code and wrong format specs found by cppchekc (bug 6716) 11 سال پیش
pw_encrypt_sha.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work 8 سال پیش
read.c dd46861282 libbb: Converted safe_read to safe_write format 5 سال پیش
read_key.c f39a71817e read_key(): placate "warning: shifting a negative signed value is undefined" 5 سال پیش
read_printf.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
recursive_action.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
remove_file.c 05b18065ab remove_file: don't call rmdir if remove_file return failure 6 سال پیش
replace.c 7011eca83a replace: count_strstr - Handle an edge case where sub is empty 5 سال پیش
rtc.c 8dff01d06a libbb: introduce and use is_prefixed_with() 9 سال پیش
run_shell.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
safe_gethostname.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
safe_poll.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
safe_strncpy.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
safe_write.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
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 5 سال پیش
setup_environment.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
signals.c b437df1157 inetd: suppress aliasing warning 6 سال پیش
simplify_path.c fb132e4737 whitespace cleanup 14 سال پیش
single_argv.c c13ee8c0f3 basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument 13 سال پیش
skip_whitespace.c cc222747ae libbb: Use return value from is_prefixed_with() 6 سال پیش
speed_table.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
strrstr.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() 10 سال پیش
time.c be5a505d77 Remove syscall wrappers around clock_gettime, closes 12091 5 سال پیش
trim.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
u_signal_names.c 656ca7bdd9 libbb/u_signal_names.c: don't check errno after bb_strtou 6 سال پیش
ubi.c 798b94518e ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE 7 سال پیش
udp_io.c 518fb3ba19 udp_io, traceroute: Standardise IPv6 PKTINFO handling to be portable 7 سال پیش
unicode.c dac0a7d234 unicode: code shrink in character width determination 5 سال پیش
update_passwd.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
utmp.c 86a7f18f21 *: Switch to POSIX utmpx API 9 سال پیش
uuencode.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
verror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
vfork_daemon_rexec.c fa8878bf1f start-stop-daemon: do try to close fds > 2 5 سال پیش
warn_ignoring_args.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
wfopen.c 899ae5337a libbb: new function bb_die_memory_exhausted 6 سال پیش
wfopen_input.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
write.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
xatonum.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
xatonum_template.c 6830ade6aa whitespace fixes. no code changes 12 سال پیش
xconnect.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
xfunc_die.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
xfuncs.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
xfuncs_printf.c 9b4a9d96b8 xstrndup: Use strndup instead of implementing it. 4 سال پیش
xgetcwd.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
xgethostbyname.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 سال پیش
xreadlink.c 25a871fb40 libbb: deal with "declaration of 'link' shadows a global declaration" warning 5 سال پیش
xrealloc_vector.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش
xregcomp.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 سال پیش

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