summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-05-03Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize.Todd C. Miller
Also make the open functions take a mode_t, not int. OK deraadt@
2004-05-03XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@Todd C. Miller
2004-05-03Add _Exit(3) as per C99. Discussed with espie@ some time ago.Todd C. Miller
2004-05-03typo spotted by grangeTed Unangst
2004-05-03strtonum, a nicer version of strtoll, by millert and myself.Ted Unangst
ok deraadt@ millert@
2004-05-03Do a better job of documenting strerror_r() and add an ERRORS section.Todd C. Miller
2004-05-03build the error message in strerror_r.c directly, avoiding one copy there.Marc Espie
handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@.
2004-05-03Rev 1.4 was bogus (committed from the wrong tree), this repairs it.Todd C. Miller
2004-05-02some minor KNFTodd C. Miller
2004-05-02Do not define NOTE_EOF in CFLAGS. ok millert@Miod Vallat
2004-05-02bump minor for new functions. Reminder from brad@Marco S Hyman
2004-05-01pthead_supsend_all_np and pthread_resume_all_np from freebsd viaMarco S Hyman
Kurt Miller <truk at optonline.net>. Kurt says: They're needed for the java hotspot compiler in the 1.3+ jdk OK brad@
2004-05-01let __strerror fill precisely the part of the buffer it can.Marc Espie
okay millert@
2004-04-30Mention siginterrupt; OK deraadt@Todd C. Miller
2004-04-30Let __strerror work by fixing a number of problems. Work by tholo and I,Marc Espie
okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int.
2004-04-29Sync with md5.c rev. 1.4Todd C. Miller
2004-04-29Changes inspired by Markus's rmd160 implementation:Todd C. Miller
o Make MD5Update() more readable o Simplify padding in MD5Final() o Do copy + byte flip in MD5Transform() instead of in the caller The result is a faster md5 and the byte order foo is kept to a minimum.
2004-04-29Undo some recent prototype changes; it is legal to pass the helperTodd C. Miller
functions can take a NULL buf pointer. They will malloc memory as needed in this case.
2004-04-29The data pointer passed to the transform function may not be properlyTodd C. Miller
aligned so copy it in a way that a) is endian indepenent and b) does not rely on alignment. Problem found and solution tested by hshoexer@
2004-04-29typo in SEE ALSO;Jason McIntyre
2004-04-29more KNFTodd C. Miller
2004-04-29Some KNFTodd C. Miller
2004-04-28KNF: function names should be at column 0 for easier grepping.Todd C. Miller
2004-04-28Pass sizeof(*pointer) not sizeof(point) to memset. Karsten Desler.Todd C. Miller
2004-04-28Remove old md[45]Todd C. Miller
2004-04-28Don't build lib/libc/md, build md[45] in lib/libc/hash instead.Todd C. Miller
2004-04-28md[45] man pageTodd C. Miller
2004-04-28Xr sha2(3)Todd C. Miller
2004-04-28PD md4 code derived from Colin Plumb's md5 routines.Todd C. Miller
2004-04-28Rename members of struct MD5Context to match other hash routines.Todd C. Miller
Add constants for buffer lengths and use them. Make bit count 64bit based on changes by niklas@ long ago. Conver htole32n() to macros and unroll loops.
2004-04-28PD version of md5(3) based on code written by Colin Plumb.Todd C. Miller
2004-04-28various tweaks;Jason McIntyre
2004-04-28update to libevent 0.8; keep local changesBrad Smith
ok markus@
2004-04-28typo from Jared Yanovich;Jason McIntyre
ok deraadt@
2004-04-28Include db.h, not ndbm.h since this uses db routines and not ndbm.Todd C. Miller
2004-04-28remove dup file kvm_amd64 should be used.Marco S Hyman
OK deraadt@
2004-04-27fd passing works over a socketpair too of course so document this.Todd C. Miller
Also test it in regress to be pedantic (though the kernel path is really the same). While there, remove cred-passing code that we don't support. OK deraadt@,
2004-04-27A quad is two ints, not two longs. Also fix some problems withOtto Moerbeek
conversions from floating point to quad. Problem reported by Marcus Holland-Moritz. From NetBSD. ok millert@
2004-04-27Make the bit count u_int64_t instead of two u_int32_t. Adapted fromTodd C. Miller
changes Niklas made to the md5 code long ago. OK hshoexer@
2004-04-27do not link ssltest.c into libssl, stops main/doit symbols from beingAnil Madhavapeddy
exported. no bump needed since nothing should use them, markus@ ok
2004-04-26Use a common source file for all the hash helper functions thatTodd C. Miller
previously lived in foohl.c. The foohl.c files are now generated via sed, though perhaps cpp could be used in the future. Use u_int8_t instead of unsigned char for the buffers struct fooContext. Add constants for buffer lengths and use them in function prototypes and the man pages. This is basically cosmetic surgery; there should be no functional changes. OK deraadt@
2004-04-25add/subtract ULONG_MAX + 1 on over/underflows, fixes float -> quadDaniel Hartmeier
conversion in libc, reported by Marcus Holland-Moritz, ok beck@
2004-04-25update missing pieces from 0.9.7d; ok henningMarkus Friedl
crank minor for API extensions
2004-04-25avoid NULL deref; from danh@Markus Friedl
2004-04-25from openssl, 1.50.2.9, make S/MIME encrypt work again.Markus Friedl
2004-04-21Rename kvm_mvme88k so that luna88k can build libkvm.Miod Vallat
2004-04-21kill whitespace at eol;Jason McIntyre
2004-04-20Adapt to new pw_copy() API, closes PR 3698.Todd C. Miller
2004-04-20Change pw_copy(3) to take a 3rd arguement, the existing passwd entry.Todd C. Miller
This allows an application to only update a password entry if it is in the state it expects. Additionally, if the old passwd struct is specified the new one may have a different pw_name field since matching is done on the original. Adapted from FreeBSD.
2004-04-20kern.maxclusters. ok beck@ deraadt@ jmc@Ted Unangst