summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2015-01-14change _yp_domain[] to HOST_NAME_MAX+1, and re-arrange those who includeTheo de Raadt
it to get limits.h early enough
2015-01-14these never needed sys/param.hTheo de Raadt
2015-01-13remove .Tn from stdio manuals; Kaspars Bankovskis found one of theseIngo Schwarze
2015-01-13Remove unnecessary calls to __atexit_register_cleanup(), calling __sinit()Philip Guenther
instead where necessary. Based on a diff from enh (at) google.com ok millert@
2015-01-12Add fgetwln(3) from FreeBSD and bump libc minor revision.Todd C. Miller
2015-01-12Add a note that HOST_NAME_MAX does not include a terminating \0, unlikeNicholas Marriott
MAXHOSTNAMELEN. ok deraadt guenther
2015-01-12rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks,Ted Unangst
nor are they the same size.
2015-01-08missing , found by Dongsheng SongTheo de Raadt
2015-01-07stupid me. need errno.hTed Unangst
2015-01-07set errno = EINVAL for invalid salts and hashes in most functions.Ted Unangst
remember to set EACCES in bcrypt_checkpass for hash differences. the higher level crypt_checkpass function will reset errno to EACCES in all cases, which is probably the right behavior, but this change gives code working with the lower level functions the correct errno if they care.
2015-01-05Remove #ifdef notdef bits--we are not going to change the fgetln()Todd C. Miller
API to NUL-terminate the buffer.
2015-01-05rename kern enter/exit macros to malloc enter/leave to better reflectTed Unangst
what's going on.
2015-01-05convert clock() to clock_gettime() for improved precision (and accuracy?)Ted Unangst
guenther suggested using thread time, which actually may improve accuracy if somebody puts this in a threaded program.
2015-01-04remove code for ancient gcc.Daniel Dickman
ok millert@, kettenis@
2015-01-01Get rid of .Tn; from Kaspars at Bankovskis dot net, tweaked by me.Ingo Schwarze
While here, stop calling the Internet "the ARPA Internet".
2015-01-01Even though i personally consider 8-bit-characters in filenames unwise,Ingo Schwarze
technically, filenames are not restricted to ASCII. Patch from Kaspars at Bankovskis dot net, no opposition when shown on tech@.
2014-12-30copy bcrypt autotune from encrypt(1) and expose via crypt_newhashTed Unangst
ok deraadt miod
2014-12-24simplify crypt_checkpass. The API promise is that this function doesn'tTed Unangst
use global data. The simplest fix is to only check blowfish passwords, and implicitly lock out DES passwords. crypt_checkpass is currently only used in one place, passwd, to verify the local user's password, so this is probably acceptable. Gives people a little more time to migrate away from DES before introduing checkpass into more places.
2014-12-22fix docs for NOBROADCASTKILLTed Unangst
2014-12-21Show the sign for NaN as per POSIX; from Elliott Hughes.Daniel Dickman
ok martynas@, millert@, doug@
2014-12-19be like the kernel and only unroll if not smallTed Unangst
2014-12-19i386 unrolling blows up the media in a big way, due to -Os forTheo de Raadt
ramdisk libc builds. there has to be a better way without #ifdef's in gross places, but I don't see it yet.
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
naddy found sparc64 gets a little slower when unrolled. ok deraadt
2014-12-17unroll loops. much faster on amd64. ok deraadt millertTed Unangst
2014-12-16typo; ok deraadtStuart Henderson
2014-12-16warn for correct symbolTheo de Raadt
2014-12-16Remove some useless casts and includes. OK deraadt@ tedu@Todd C. Miller
2014-12-16use .In and delete .Tn; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-14macro cleanup; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-13macro cleanup; from Kaspars Bankovskis, tweaked a bitIngo Schwarze
2014-12-12catch up with swab.c rev. 1.9:Ingo Schwarze
update SYNOPSIS and DESCRIPTION and add STANDARDS
2014-12-12sysctl kern.global_ptrace.Ted Unangst
controls whether you can ptrace any process with appropriate privileges or only one own's children. ok deraadt
2014-12-12Xr getdtablecountTheo de Raadt
2014-12-11update swab() to match the current posix definition. "rationale: none."Ted Unangst
rewrite the function to be simpler as well. the compiler can unroll the loop for us if necessary. ok schwarze
2014-12-11we do not need the complexity of an assembly swab function here.Ted Unangst
ok deraadt
2014-12-11Fix previous:Ingo Schwarze
As pointed out by stsp@, LC_CTYPE *does* affect the ctype.h functions. Use a wording similar to a suggestion by deraadt@. Feedback and OK jmc@, OK stsp@.
2014-12-11Remove an undocumented limit on the length of the pattern and stringTodd C. Miller
to match of PATH_MAX. As fnmatch() is used for matching more than just pathnames, this can prevent legitimate matches for long strings or partterns. OK miod@ tedu@
2014-12-10add missing sentence to RETURN VALUES; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-10use .Rv and simplify wording; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-10use .Rv; no change of meaning; from Kaspars at Bankovskis dot netIngo Schwarze
2014-12-10Prefer .In and .Rv -stdPhilip Guenther
2014-12-10Improve the description and layout of the RUSAGE_* values, and do somePhilip Guenther
general cleanup diff from Kaspars Bankovskis (kaspars (at) bankovskis.net) ok and tweaks schwarze@, jmc@
2014-12-09Xr and Ox fixes;Jason McIntyre
2014-12-09random seed buffer must be unsignedTheo de Raadt
2014-12-09put back some information what the character classes actually mean;Ingo Schwarze
while here, remove the lie that regex(3) character classes would depend on the locale; ok jmc@
2014-12-09LC_CTYPE has no effect on ctype(3), but on wctype(3); ok jmc@Ingo Schwarze
2014-12-09Import new amd64 assembly versions of strchr/index, strrchr/rindex,Reyk Floeter
and strlen that provide a significantly faster performance than our previous .c or .S implementations. Based on NetBSD's code. Tested with different amd64 CPUs. ok deraadt@ mikeb@
2014-12-09no more string(3);Jason McIntyre
2014-12-09no more ctype(3);Jason McIntyre
2014-12-09fix NAME;Jason McIntyre