summaryrefslogtreecommitdiff
path: root/lib/libc/gen/auth_subr.c
AgeCommit message (Expand)Author
2020-10-13Do some easy .data -> .rodata/.data.rel.ro conversionsPhilip Guenther
2020-07-06Add support for timeconting in userland.Paul Irofti
2019-12-04libc's authentication privsep layer performed insufficient usernameTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-03-23Remove useless secure_path(3) calls.Todd C. Miller
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc
2015-11-24Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} withinTodd C. Miller
2015-11-02(struct timezone *)NULL -> NULLmmcc
2015-10-23Fix waitpid() loop again: do the errno check only if waitpid() returns -1Philip Guenther
2015-10-22Cast ctype function arguments to unsigned char.mmcc
2015-09-14remove null check before free. from Michael McConvilleTed Unangst
2015-09-12Wrap <bsd_auth.h> so that calls go direct and the symbols are all weakPhilip Guenther
2015-09-03no more gcc2.Daniel Dickman
2015-08-31Add framework for resolving (pun intended) libc namespace issues, usingPhilip Guenther
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