Bernd Kuhls 39b71881b8 update_passwd: fix context variable 3 jaren geleden
..
Config.src 5c69ad0ecd build system: drop PLATFORM_LINUX 4 jaren geleden
Kbuild.src 5c69ad0ecd build system: drop PLATFORM_LINUX 4 jaren geleden
README ba2dcccd79 *: trailing empty lines removed 14 jaren geleden
appletlib.c aaa0709e7b libbb: do not open-code __errno_location() call 4 jaren geleden
ask_confirmation.c bae8fc4436 xargs: use bb_ask_y_confirmation_FILE() instead of homegrown copy 6 jaren geleden
auto_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs 9 jaren geleden
bb_askpass.c 17058a06c4 libbb: switch bb_ask_noecho() to "mallocing" string return API 6 jaren geleden
bb_bswap_64.c 9ff50b8697 *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits 14 jaren geleden
bb_cat.c d9eb40c185 fix errors found with make_single_applets.sh 7 jaren geleden
bb_do_delay.c 030fe31760 libbb: make msleep() result in only one syscall instead of looping 4 jaren geleden
bb_getgroups.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
bb_getsockname.c ba3b9dbf06 libbb: introduce and use bb_getsockname() 6 jaren geleden
bb_pwd.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
bb_qsort.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
bb_strtod.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
bb_strtonum.c 93ef5dd640 printf: fix printf "%u\n" +18446744073709551614 6 jaren geleden
bbunit.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
capability.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 4 jaren geleden
change_identity.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
chomp.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
common_bufsiz.c 72089cf6b4 config: deindent all help texts 7 jaren geleden
compare_string_array.c c9fc15359e compare_string_array: code shrink 4 jaren geleden
concat_path_file.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
concat_subpath_file.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
copy_file.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
copyfd.c fd3c512f88 libbb: create and use mmap() helpers 4 jaren geleden
correct_password.c 77cb6b99a4 libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation 6 jaren geleden
crc32.c ddacb03e87 libbb: commonalize a bit of little-endian CRC32 table generation code 6 jaren geleden
default_error_retval.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
device_open.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
die_if_bad_username.c 0723131628 Fixes for Hurd build 3 jaren geleden
dump.c 112453acf2 od: unbreak it 4 jaren geleden
duration.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 4 jaren geleden
endofname.c 1961aea305 move endofname() to libbb 11 jaren geleden
executable.c 2075aa93e0 libbb: rename run_shell() to exec_shell() 4 jaren geleden
fclose_nonstdin.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
fflush_stdout_and_exit.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
fgets_str.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
find_mount_point.c f3a064f495 libbbb: find_mount_point() too eager to stat mounted devices 5 jaren geleden
find_pid_by_name.c 3a0eea0887 pidof: support "pidof /path/to/binary" case 5 jaren geleden
find_root_device.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
full_write.c 875ce094cf dd: fix handling of short result of full_write(), closes 11711 5 jaren geleden
get_console.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
get_cpu_count.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 jaren geleden
get_last_path_component.c b24ef035bd find: cater for libc w/o FNM_CASEFOLD 13 jaren geleden
get_line_from_file.c 22a9951620 libbb: in xmalloc_fgets(), use size_t for bb_get_chunk_from_file() 6 jaren geleden
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC 12 jaren geleden
get_volsize.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
getopt32.c 6016181b68 hush: GETOPT_RESET() _after_ getopts too. 7 jaren geleden
getopt_allopts.c 727948e585 getopt32: factor out code to treat all args as options 7 jaren geleden
getpty.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
hash_md5_sha.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 4 jaren geleden
hash_md5prime.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work 7 jaren geleden
herror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
human_readable.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
in_ether.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
inet_cksum.c 4a0eb0370c gcc-9.x warning fixes 4 jaren geleden
inet_common.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
inode_hash.c e563f9e851 du: don't count duplicate arguments. Closes 5288 5 jaren geleden
isdirectory.c 416899fca6 do not include <sys/stat.h> just before "libbb.h", it's there already 7 jaren geleden
isqrt.c 8a134ec680 libbb: move isqrt from factor, use it in diff too 7 jaren geleden
kernel_version.c 2496616b0a avoid using strok - eliminates use of hidden global variable 4 jaren geleden
last_char_is.c 79a4032eef libbb: shrink last_char_is(), no longer allow NULL string argument 4 jaren geleden
lineedit.c 96717d9fb4 lineedit: code shrink 3 jaren geleden
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 jaren geleden
llist.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality 10 jaren geleden
login.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
loop.c 15733cb48e mount: if we race with other loop mount, we forget to close loop dev 3 jaren geleden
make_directory.c 1267770a9d fix compile failure in previous commit 6 jaren geleden
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c 14 jaren geleden
match_fstype.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
messages.c cca7c611f2 which: fix TODO with NOFORK+malloc_failure misbehaving 6 jaren geleden
missing_syscalls.c d3539be8f2 Remove stime() function calls 5 jaren geleden
mode_string.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 4 jaren geleden
mtab.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
nuke_str.c 4c201c00a3 whitespace fixes 6 jaren geleden
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework 10 jaren geleden
parse_config.c 22542eca18 getopt32: remove opt_complementary 7 jaren geleden
parse_mode.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
percent_decode.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 jaren geleden
perror_nomsg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
perror_nomsg_and_die.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
pidfile.c 5059653882 do not duplicate CONFIG_PID_FILE_PATH and ".pid" strings 5 jaren geleden
platform.c 030fe31760 libbb: make msleep() result in only one syscall instead of looping 4 jaren geleden
print_flags.c 2ab9403119 whitespace and comment format fixes, no code changes 7 jaren geleden
print_numbered_lines.c c100535571 cat,nl: fix handling of open errors 6 jaren geleden
printable.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
printable_string.c 349d72c19c unzip: use printable_string() for printing filenames 6 jaren geleden
process_escape_sequence.c 9a2b6dcc2d libbb: do not misinterpret 0x10-0x19 chars in "\xNNN" too 6 jaren geleden
procps.c 77a51a2709 randomconfig fixes 3 jaren geleden
progress.c 26602b85a3 wget: print the final newline only for non-tty output 6 jaren geleden
ptr_to_globals.c b1c7a66ca6 libbb: extend "errno pointer" trick to other than __GLIBC__ 4 jaren geleden
pw_encrypt.c 73d93d9f83 libbb: make pw_encrypt() die if supplied salt is bad (e.g. emply) 3 jaren geleden
pw_encrypt_des.c 73d93d9f83 libbb: make pw_encrypt() die if supplied salt is bad (e.g. emply) 3 jaren geleden
pw_encrypt_md5.c 9b2a9f0210 fix assorted unused code and wrong format specs found by cppchekc (bug 6716) 11 jaren geleden
pw_encrypt_sha.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work 7 jaren geleden
read.c dd46861282 libbb: Converted safe_read to safe_write format 5 jaren geleden
read_key.c f39a71817e read_key(): placate "warning: shifting a negative signed value is undefined" 5 jaren geleden
read_printf.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
recursive_action.c 689d0650ab libbb: shrink recursive_action() by reducing memory pressure 4 jaren geleden
remove_file.c 05b18065ab remove_file: don't call rmdir if remove_file return failure 6 jaren geleden
replace.c 7011eca83a replace: count_strstr - Handle an edge case where sub is empty 5 jaren geleden
rtc.c 251e08ffa6 move ADJTIME_PATH define to header files 3 jaren geleden
run_shell.c f4f6e5144b libbb: exec_login_shell() - new function 4 jaren geleden
safe_gethostname.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
safe_poll.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
safe_strncpy.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
safe_write.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
securetty.c 44c0ab4102 libbb: fix "error: redefinition of 'is_tty_secure'" 7 jaren geleden
selinux_common.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
setup_environment.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
signals.c b437df1157 inetd: suppress aliasing warning 6 jaren geleden
simplify_path.c fb132e4737 whitespace cleanup 14 jaren geleden
single_argv.c c13ee8c0f3 basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument 13 jaren geleden
skip_whitespace.c cc222747ae libbb: Use return value from is_prefixed_with() 6 jaren geleden
speed_table.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 4 jaren geleden
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 jaren geleden
strrstr.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() 10 jaren geleden
time.c 33e955ab91 unicode: fix handling of short 1-4 char tables 4 jaren geleden
trim.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
u_signal_names.c 656ca7bdd9 libbb/u_signal_names.c: don't check errno after bb_strtou 6 jaren geleden
ubi.c 798b94518e ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE 7 jaren geleden
udp_io.c 518fb3ba19 udp_io, traceroute: Standardise IPv6 PKTINFO handling to be portable 7 jaren geleden
unicode.c 2fba2f5bb9 unicode: relax array alignment for tables 4 jaren geleden
update_passwd.c 39b71881b8 update_passwd: fix context variable 3 jaren geleden
utmp.c 86a7f18f21 *: Switch to POSIX utmpx API 9 jaren geleden
uuencode.c ae04ce82cf base32/64: "truncated base64 input" -> "truncated input" 4 jaren geleden
verror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
vfork_daemon_rexec.c fa8878bf1f start-stop-daemon: do try to close fds > 2 5 jaren geleden
warn_ignoring_args.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
wfopen.c 899ae5337a libbb: new function bb_die_memory_exhausted 6 jaren geleden
wfopen_input.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
write.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
xatonum.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 4 jaren geleden
xatonum_template.c 6830ade6aa whitespace fixes. no code changes 12 jaren geleden
xconnect.c 12aa68d10f libbb: set netlink socket revbuf size before binding 4 jaren geleden
xfunc_die.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
xfuncs.c eb0c2e218c libbb: introduce and use xsettimeofday() 3 jaren geleden
xfuncs_printf.c bb15969333 libbb: do not compile selinux_or_die() if !SELINUX 3 jaren geleden
xgetcwd.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
xgethostbyname.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls 5 jaren geleden
xreadlink.c 25a871fb40 libbb: deal with "declaration of 'link' shadows a global declaration" warning 5 jaren geleden
xrealloc_vector.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden
xregcomp.c ebe6d9d875 whitespace and comment format fixes, no code changes 7 jaren geleden

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