3
0
Denys Vlasenko 6bb89e1622 libbb: safe_write should not return EINTR 7 жил өмнө
..
Config.src f560422fa0 Big cleanup in config help and description 8 жил өмнө
Kbuild.src 517a82c5b6 login: move check_securetty to libbb 7 жил өмнө
README ba2dcccd79 *: trailing empty lines removed 14 жил өмнө
appletlib.c 54916641be main: fix the case where user has "halt" as login shell. Closes 9986 7 жил өмнө
ask_confirmation.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
auto_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs 9 жил өмнө
bb_askpass.c 02859aaeb2 use auto_string() where appropriate to kill a few statics 9 жил өмнө
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 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
bb_pwd.c 1da09cfacf libpwdgrp: rewritten to use malloced implementation 10 жил өмнө
bb_qsort.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
bb_strtod.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
bb_strtonum.c ba65872950 libbb/bb_strtonum: always set end ptr, even on error return 13 жил өмнө
bbunit.c 718e228adc unit-tests: remove code depending on WANT_TIMING 9 жил өмнө
change_identity.c a818777d42 libbb: Enable support for !CONFIG_MULTIUSER 9 жил өмнө
chomp.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
common_bufsiz.c 834aba3b72 comment and readme updates 8 жил өмнө
compare_string_array.c f085344d5c libbb: another unit test for is_suffixed_with 9 жил өмнө
concat_path_file.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
concat_subpath_file.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
copy_file.c 98c50f93fe cp: fix -i for POSIX mode. Closes 9106 8 жил өмнө
copyfd.c 3df48bdde9 copyfd: guard use of munmap() with #if (windows builds need this) 7 жил өмнө
correct_password.c a3de0b3b86 libbb: make check_password() also return CHECKPASS_PW_HAS_EMPTY_PASSWORD 7 жил өмнө
crc32.c 8762512fdb Replace int -> uint to avoid signed integer overflow 8 жил өмнө
default_error_retval.c 7aa63042d0 libbb: xfunc_error_retval can be a byte 14 жил өмнө
device_open.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
die_if_bad_username.c 7485086f1e die_if_bad_username: tighten up a bit 13 жил өмнө
dump.c cb8e84e65a libbb: shrink sump.c 8 жил өмнө
endofname.c 1961aea305 move endofname() to libbb 12 жил өмнө
executable.c 79e2598c48 su: expand help; simplify passing of -c CMD to run_shell() 8 жил өмнө
fclose_nonstdin.c 259b3c047a sed: open input files sequentially to avoid EMFILE 11 жил өмнө
fflush_stdout_and_exit.c 550bf5b4a4 remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds 9 жил өмнө
fgets_str.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
find_mount_point.c ce4f39ac7c find_mount_point: fix find_mount_point for char devices 13 жил өмнө
find_pid_by_name.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
find_root_device.c 2272129a93 plug a DIR* leak on error path 14 жил өмнө
full_write.c e4dcba1c10 *: whitespace fixes 14 жил өмнө
get_console.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
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 a1a448347e libbb: split bb_get_chunk_from_file and bb_get_chunk_with_continuation 13 жил өмнө
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC 12 жил өмнө
get_volsize.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
getopt32.c 442d522f0b fixes for bugs found by make_single_applets.sh 7 жил өмнө
getpty.c 438b4ac286 script: make it work even if fd 0 is closed 10 жил өмнө
hash_md5_sha.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work 8 жил өмнө
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 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
human_readable.c 93dd9fd90a du: extra compat: with -k and -m, round sizes up 9 жил өмнө
in_ether.c 97f2f7ca7f Removes stray empty line from code 9 жил өмнө
inet_cksum.c 0d0260fd1e inet_cksum: big-endian fix 13 жил өмнө
inet_common.c 2cb72bb8de libbb: hide getnetbyaddr() inside "#if ENABLE_FEATURE_ETC_NETWORKS" block 7 жил өмнө
inode_hash.c 83bc4332e7 du, copy_file: fix file matching on cramfs. Closes 5456 10 жил өмнө
isdirectory.c f282c6b657 libbb: remove is_directory's argument which is always NULL 13 жил өмнө
isqrt.c 8a134ec680 libbb: move isqrt from factor, use it in diff too 7 жил өмнө
kernel_version.c 00da72bee0 tidy up strtok use 9 жил өмнө
last_char_is.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
lineedit.c 01ccdd1d3c libbb: consolidate the code to set termios unbuffered mode 8 жил өмнө
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
llist.c 9be4702a30 main: free suid_config list after use 13 жил өмнө
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality 10 жил өмнө
login.c 65ba7113e3 libbb: handle \S in /etc/issue 8 жил өмнө
loop.c ab518eea9c mount: create loop devices with LO_FLAGS_AUTOCLEAR flag 7 жил өмнө
make_directory.c 4bd0c2ab38 fix musl problem with dirname, now for all users of bb_make_directory() 8 жил өмнө
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c 14 жил өмнө
match_fstype.c 35b54a3c24 libbb: match_fstype() is unreadable in the extreme, fixing it 8 жил өмнө
messages.c e6a2f4cc5a libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it 8 жил өмнө
missing_syscalls.c 6df961257d Resolve linker issues with Android API 21 (dprintf, tcdrain) 9 жил өмнө
mode_string.c 3e134ebf6a *: slap on a few ALIGN1/2s where appropriate 8 жил өмнө
mtab.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
nuke_str.c 198b02f7dd fix failures found by randomconfig builds 11 жил өмнө
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework 10 жил өмнө
parse_config.c 237bedd499 getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 8 жил өмнө
parse_mode.c 5711a2a4ad libbb: more compact API for bb_parse_mode() 9 жил өмнө
percent_decode.c dd1061b6a7 wget: URL-decode user:password before base64-encoding it into auth hdr. Closes 3625. 13 жил өмнө
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
perror_nomsg.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
perror_nomsg_and_die.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
pidfile.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
platform.c cee59053dc Bionic lacks ttyname_r; provide a workaround 9 жил өмнө
print_flags.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
print_numbered_lines.c d9eb40c185 fix errors found with make_single_applets.sh 7 жил өмнө
printable.c 79c618c411 Refactor catv. Move visible() from stty to libbb. 11 жил өмнө
printable_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs 9 жил өмнө
process_escape_sequence.c a2d27a1919 libbb/process_escape_sequence.c: fix recently broken handling of \\ 14 жил өмнө
procps.c b6871c1965 ps: avoid -o stat to contain spaces. Closes 9631 8 жил өмнө
progress.c d3d6534b2a wget: if stderr is not a tty, progress bar shouldn't use tty-tricks 9 жил өмнө
ptr_to_globals.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
pw_encrypt.c 8762512fdb Replace int -> uint to avoid signed integer overflow 8 жил өмнө
pw_encrypt_des.c 44d1989997 des encrypt: fix goof with NUL byte added at the end as '.' 15 жил өмнө
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 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
read_key.c 2e4ef38743 lineedit: fix handling of repeating Alt-b, Alt-f, Alt-d, Alt-Backspace 8 жил өмнө
read_printf.c 61d6ae244a libbb: remove unnecessary argument to nonblock_immune_read 9 жил өмнө
recursive_action.c 4f0b540d08 modprobe: do not descend into /etc/modprobe.d/DIR/. Closes 8686 7 жил өмнө
remove_file.c 17f8418ea7 Add conditional support for -v / --verbose 10 жил өмнө
replace.c 6f068904dc xargs: add support for -I and -i. Closes 493 10 жил өмнө
rtc.c 8dff01d06a libbb: introduce and use is_prefixed_with() 9 жил өмнө
run_shell.c 79e2598c48 su: expand help; simplify passing of -c CMD to run_shell() 8 жил өмнө
safe_gethostname.c 576b1d3c41 sendmail: use host rather than NIS domain name for HELO 12 жил өмнө
safe_poll.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
safe_strncpy.c 0016bcee37 klogd: do not log partial lines 14 жил өмнө
safe_write.c 6bb89e1622 libbb: safe_write should not return EINTR 7 жил өмнө
securetty.c 44c0ab4102 libbb: fix "error: redefinition of 'is_tty_secure'" 7 жил өмнө
selinux_common.c 60cb48ca50 whitespace cleanup. no code changes 12 жил өмнө
setup_environment.c 70fc8c17e2 su: do not change to home dir unless -l 12 жил өмнө
signals.c c4f2d997a4 libbb: correctness/size tweaks in signal-related helpers 12 жил өмнө
simplify_path.c fb132e4737 whitespace cleanup 14 жил өмнө
single_argv.c c13ee8c0f3 basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument 13 жил өмнө
skip_whitespace.c 8dff01d06a libbb: introduce and use is_prefixed_with() 9 жил өмнө
speed_table.c 525209ac94 libbb/speed_table.c: expand comments 8 жил өмнө
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
strrstr.c 3ed81cf052 unit-tests: implement the unit-testing framework 10 жил өмнө
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() 10 жил өмнө
time.c b684d1b186 libbb: fix time parsing of [[CC]YY]MMDDhhmm[.SS]. Closes 8951 8 жил өмнө
trim.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
u_signal_names.c 3e134ebf6a *: slap on a few ALIGN1/2s where appropriate 8 жил өмнө
ubi.c 6aab9928de whitespace and namespace cleanups 8 жил өмнө
udp_io.c 7cef4817d6 libbb:/send_to_from: do not require that "to" should have the same AF. Closes 9146 8 жил өмнө
unicode.c 7a18043a96 lineedit: improve Unicode handling (still buggy though) 11 жил өмнө
update_passwd.c 9cc3d3ab21 fix breakage found by mass one-applet builds 8 жил өмнө
utmp.c 86a7f18f21 *: Switch to POSIX utmpx API 9 жил өмнө
uuencode.c e6094d95b5 libbb: shrink base64 decoding a bit 13 жил өмнө
vdprintf.c ec447c7f01 libbb.h: remove unused defines 13 жил өмнө
verror_msg.c 46b494635e libbb: speed up error_msg functions 8 жил өмнө
vfork_daemon_rexec.c 54916641be main: fix the case where user has "halt" as login shell. Closes 9986 7 жил өмнө
warn_ignoring_args.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
wfopen.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
wfopen_input.c e4dcba1c10 *: whitespace fixes 14 жил өмнө
write.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
xatonum.c e184a88356 df: implement -B n<suff> and -B <suff> formats of -B option 8 жил өмнө
xatonum_template.c 6830ade6aa whitespace fixes. no code changes 12 жил өмнө
xconnect.c 3c18e3051d libbb: make xmalloc_sockaddr2dotted use NI_NUMERICSCOPE 8 жил өмнө
xfunc_die.c 550bf5b4a4 remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds 9 жил өмнө
xfuncs.c 01ccdd1d3c libbb: consolidate the code to set termios unbuffered mode 8 жил өмнө
xfuncs_printf.c 9fd61be191 libbb/xwrite: print errno on "short write" errors 8 жил өмнө
xgetcwd.c e4dcba1c10 *: whitespace fixes 14 жил өмнө
xgethostbyname.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
xreadlink.c c50493854a libbb: fix a bad check for uclibc >= 0.9.31 10 жил өмнө
xrealloc_vector.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө
xregcomp.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 жил өмнө

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