Denys Vlasenko bb0bf287d8 randomconfig fixes 2 8 سال پیش
..
Config.src fe0dc34746 lineedit: FEATURE_REVERSE_SEARCH should not depend on SAVEHISTORY 9 سال پیش
Kbuild.src bb0bf287d8 randomconfig fixes 2 8 سال پیش
README ba2dcccd79 *: trailing empty lines removed 14 سال پیش
appletlib.c ce824aecf2 libbb: move common code into run_applet_and_exit 8 سال پیش
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_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 93e1aaa1c7 libbb: constify *bb_common_bufsiz1 (if it is compiled to be a pointer) 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 877dedb825 cp: add -u/--update and --remove-destination 8 سال پیش
copyfd.c 8d75d794ea libbb: use sendfile() to copy data between file descriptors 10 سال پیش
correct_password.c feac9b607d ftpd: add optional support for authentication 10 سال پیش
crc32.c b7c9fb27cb whitespace fixes 14 سال پیش
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 ef6747e290 hexdump: don't unconditionally limit the usable address range 11 سال پیش
endofname.c 1961aea305 move endofname() to libbb 11 سال پیش
executable.c 8220399173 nsenter,unshare: share common code; fix a bug of not closing all fds 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 b47b3ce1bd randomconfig fixes 13 سال پیش
getpty.c 438b4ac286 script: make it work even if fd 0 is closed 10 سال پیش
hash_md5_sha.c 305958dbd4 md5sum: code shrink 9 سال پیش
hash_md5prime.c 522041ee7b regularize options which control size/speed trade 13 سال پیش
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 8e74adab01 libbb: make INET[6]_rresolve use sockaddr2{host,dotted}_noport 9 سال پیش
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 سال پیش
kernel_version.c 00da72bee0 tidy up strtok use 9 سال پیش
last_char_is.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
lineedit.c 2b91958dff Rewrite iteration through applet names to save a few bytes 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 8f2cb7ab26 libbb: introduce and use strftime_[YYYYMMDD]HHMMSS() 11 سال پیش
loop.c 782ee2aa0e libbb/loop: don't try to re-use existing loop device 9 سال پیش
make_directory.c 17f8418ea7 Add conditional support for -v / --verbose 10 سال پیش
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c 14 سال پیش
match_fstype.c 8dff01d06a libbb: introduce and use is_prefixed_with() 9 سال پیش
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 499597d6ef mdev: do not treat non-leading '#' chars as start of comment. Closes 4676 13 سال پیش
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 سال پیش
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 049b007865 pmap: fix bogus {no such process} comm field text 9 سال پیش
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 3e134ebf6a *: slap on a few ALIGN1/2s where appropriate 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 5dcc6606cb libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash rework 14 سال پیش
read.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
read_key.c 0ccae4d8b3 Add comments in keyboard escape sequences table 12 سال پیش
read_printf.c 61d6ae244a libbb: remove unnecessary argument to nonblock_immune_read 9 سال پیش
recursive_action.c 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
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 a73b87e934 *: s/"/bin/sh"/DEFAULT_SHELL, run_shell() API fix, remove unneeded strdup 14 سال پیش
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 0ef64bdb40 *: make GNU licensing statement forms more regular 14 سال پیش
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 96f92a1afa libbb: FreeBSD fix for B<num> baud rate constants not fitting into a short. 11 سال پیش
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 c52cbea2bb libbb: add setsockopt_foo helpers 9 سال پیش
unicode.c 7a18043a96 lineedit: improve Unicode handling (still buggy though) 11 سال پیش
update_passwd.c 8dff01d06a libbb: introduce and use is_prefixed_with() 9 سال پیش
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 610c4c385b applet_tables: save space by removing applet name offsets 8 سال پیش
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 911db16229 truncate: new applet 9 سال پیش
xatonum_template.c 6830ade6aa whitespace fixes. no code changes 12 سال پیش
xconnect.c c52cbea2bb libbb: add setsockopt_foo helpers 9 سال پیش
xfunc_die.c 550bf5b4a4 remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds 9 سال پیش
xfuncs.c c4199f22d0 libbb: two new functions: wait_for_exitstatus(pid), xfchdir(fd) 8 سال پیش
xfuncs_printf.c 8220399173 nsenter,unshare: share common code; fix a bug of not closing all fds 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