summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-12-05We haven't used this in years, remove it.Todd C. Miller
2000-12-04Silently convert s/key -> skey in login_getstyle(). A bit of a hackTodd C. Miller
but OpenBSD folks are more used to saying s/key.
2000-11-29Don't print an extra newline after reading passphrase if echo was notTodd C. Miller
turned off since we already printed one from the user.
2000-11-27MLINK check_expire.3 -> login_check_expire.3Todd C. Miller
2000-11-27first cut at a man page for login_check_expire()Todd C. Miller
2000-11-26login_check_expire(3), a helper function for use with BSD authentication.Todd C. Miller
This lives in libutil because it uses pw_lock(3) and friends. Needs a man page (soon!).
2000-11-26Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.Todd C. Miller
Crank the shlib major number due to the interface change.
2000-11-26Properly implement errno handling for the threaded libc (libc_r)Dale Rahn
The powerpc specific code was previously handling system call errors as if kernel threads existed (currently only userlang threads are modeled). Thus if multiple threads existed in a process, the process would not get the correct errno from a system call. This would cause _many_ tests to fail. Fixing this causes a number of the tests in libc_r/TEST to now work, that did not before, however a few still fail.
2000-11-24comment fix; strlcat returns strlen(initial dst) + strlen(src).Jun-ichiro itojun Hagino
2000-11-24ifm_data is avilable on {net,open,free}bsd. sync with kame.Jun-ichiro itojun Hagino
2000-11-23zero pw_passwd before freeingTodd C. Miller
2000-11-22avoid double fclose()Theo de Raadt
2000-11-22use strlcpy in the exampleTheo de Raadt
2000-11-21updateNiels Provos
2000-11-21Remove needless memset() from last commit.Todd C. Miller
2000-11-21Deal with va_list not being a pointer; this should be re-evaluated.Todd C. Miller
Fixes a compile problem on alpha.
2000-11-21prevent type overflow; dzerkel@columbus.rr.comTheo de Raadt
2000-11-21crank minor numberTodd C. Miller
2000-11-21Add references to new files.Todd C. Miller
2000-11-21BSD authentication routines from BSDI. Presently this is not used butTodd C. Miller
the login_* helper programs and other support will be committed in the near future.
2000-11-21Add pw_dup(3), a function to copy 'struct passwd'. It is allocated asTodd C. Miller
a single chunk with the strings pointing elsewhere in the buffer so a simple free() of the struct passwd * is all that is needed to decallocate.
2000-11-21Add readpasasphrase(3), a more flexible getpass(3) replacement.Todd C. Miller
getpass(3) is now implemented in terms of readpasasphrase(3).
2000-11-21Add strnvis(3) -- a length-bounded version of strvis(3) with a returnTodd C. Miller
value similar to snprintf(3) and strlcpy(3).
2000-11-20Move fake prompt generation from skey_authenticate() to skeychallenge()Todd C. Miller
and getskeyprompt(). This means that when you get a challenge the result parameter is always filled in, even if the use is not in the skeykeys file.
2000-11-19XXX - Alpha port doesn't currently support weak symbolsTodd C. Miller
2000-11-19Correctly deal with NOMAN being set. Since it may be set in mk.confTodd C. Miller
we pull in bsd.own.mk before testing for it.
2000-11-18OpenBSD does not support non-standard mdoc macros like .Lb.Aaron Campbell
2000-11-17crank minorNiels Provos
2000-11-17remove non-existing manual references.Niels Provos
2000-11-16"of", not "on" (from Henric Jungheim)Angelos D. Keromytis
2000-11-16forgot manpageNiels Provos
2000-11-16kqueue and kevent system callsNiels Provos
2000-11-15do not open fifos with O_RDWR, either use O_RDONLY or O_WRONLY. okay aaron@Niels Provos
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-11-10these contain special cases where they build man pages into .0 files;Theo de Raadt
they must now also build .ps files if MANPS is set.
2000-11-10shorten, now it fits in -TpsTheo de Raadt
2000-11-09typoTheo de Raadt
2000-11-08another MLINKTheo de Raadt
2000-11-08put infnan in there, even though it is depricatedTheo de Raadt
2000-11-08adjust for changes to kcore, and dynamically compute page shift.Eric Jackson
from NetBSD. art@ OK
2000-11-06The constant's name is MAXPATHLEN, not MAXPATHNAMELEN; closes PR/1491.Aaron Campbell
From ianm@kashmir.cit.nepean.uws.edu.au.
2000-10-25various savecore/kvm fixes; gluk@ptci.ru, PR#1461Theo de Raadt
2000-10-25DBM_READONLY -> DBM_RDONLY; dugsong@Aaron Campbell
2000-10-25Clarify; gluk@ptci.ruAaron Campbell
2000-10-24Crank major because the type of the "ospeed" variable changed fromTodd C. Miller
speed_t (u_int) to short to match historic termcap usage.
2000-10-23Document that the string returned by strerror(3) contains a maximum ofAaron Campbell
NL_TEXTMAX characters.
2000-10-23Format string paranoia; deraadt@ okAaron Campbell
2000-10-22update to ncurses 5.2Todd C. Miller
2000-10-20Don't attempt to free uninitialized variable; guenther@gac.eduTodd C. Miller