summaryrefslogtreecommitdiff
path: root/lib/libc/gen/auth_subr.c
AgeCommit message (Expand)Author
2014-08-25Delete secret or secret-derived data with explicit_bzero.Doug Hogan
2014-05-25use calloc, from Benjamin BaierTed Unangst
2013-11-24most obvious unsigned char casts for ctypeTheo de Raadt
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,Todd C. Miller
2013-01-08More int's that should be size_t for strlen() useTheo de Raadt
2009-01-15Remove support for kerb4 '.' instance separator, kerb4 is dead. OK jacekm@Todd C. Miller
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
2008-03-15Repair the simple cases for msg_controllen where it should just beTheo de Raadt
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
2007-11-01Fix waitpid() idiom. Noticed by deraadt@Todd C. Miller
2007-09-17Check snprintf(3) return value for error or truncation.Moritz Jodeit
2004-12-02Restart waitpid() if we are interupted by a signal. OK deraadt@Todd C. Miller
2004-08-30Use CMSG_SPACE when allocating space for the control message.Todd C. Miller
2004-08-09Add my copyright.Todd C. Miller
2004-08-03Add support for passing a file descriptor back and forth betweenTodd C. Miller
2004-01-23Use closefrom(); ok millert teduTheo de Raadt
2004-01-10Don't clean options in auth_clean() which was introduced in rev 1.8.Todd C. Miller
2004-01-08use va_copy() with gcc 3 and up.Brad Smith
2003-06-11ansification; checked by pvalTheo de Raadt
2003-01-04spellingTheo de Raadt
2002-11-22Initialize status to zero before calling waitpid(). That way, ifTodd C. Miller
2002-11-22more snprintf; ok millertTheo de Raadt
2002-10-30Revert this va_copy addition, it cannot work on macppc (which is theDale Rahn
2002-10-24Use va_copy() for varargs assignemnt. va_copy() is standard with C99Dale Rahn
2002-10-16Replace "if (value != NULL && value == as->FOO)" with justTodd C. Miller
2002-10-15Fix typo introduce in last commitTodd C. Miller
2002-10-15If auth_setitem() is called with the current value (ie: the pointerTodd C. Miller
2002-10-15Cast NULL sentinel in auth_call() to a pointerTodd C. Miller
2002-10-13Move the clearing of as->state in auth_challenge() to after the sanityTodd C. Miller
2002-08-04If fork() fails, log/report the error *before* we close our fd's justTodd C. Miller
2002-06-27KNFTheo de Raadt
2002-05-24try to use strlcpy and snprintf more; ok variousTheo de Raadt
2002-03-13Convert indentation whitespace -> tabs and kill $@%^#! ^M'sTodd C. Miller
2002-02-05o) Fix memory leak in _auth_checklogin(), auth_approval(), auth_close() andMike Pechkin
2002-01-14If waitpid() return ECHILD that should not be a fatal error sinceTodd C. Miller
2001-07-02Convert warn/warnx -> _warn/_warnxTodd C. Miller
2001-06-24When splitting instance from username, treat '/' as a separator asTodd C. Miller
2000-11-23zero pw_passwd before freeingTodd C. Miller
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
2000-11-21BSD authentication routines from BSDI. Presently this is not used butTodd C. Miller