summaryrefslogtreecommitdiffstats
path: root/lib/libutil/check_expire.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Use the backchannel for all error messages instead of syslog(3).millert2015-11-261-16/+15
| | | | OK deraadt@ beck@
* tzfile.h is an internal header that should never have been installed.millert2015-03-151-4/+5
| | | | | | | | | What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@
* Delete secret or secret-derived data with explicit_bzero.doug2014-08-251-2/+2
| | | | | concept ok deraadt@ diff looks ok tedu@
* use O_CLOEXEC with open() instead of open/fcntl; from David Hillokan2013-04-291-3/+3
| | | | ok otto
* Adapt to new pw_copy() API, closes PR 3698.millert2004-04-201-11/+6
|
* fix use-after-free for expired passwds; ok deraadt, tdevalmarkus2003-09-021-7/+9
|
* some -Wall and spaces cleanup, scsi.c left.fgsch2002-06-091-2/+2
| | | | some brave soul should look at it.
* login_close() should avoid memory leak.mpech2002-02-191-1/+2
| | | | millert@ ok
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-2/+2
|
* 2nd arg to pw_mkdb()millert2001-08-161-2/+2
|
* consistently use #include "util.h" not <util.h> since util.h lives in this dir.millert2001-08-161-3/+3
|
* login_check_expire(3), a helper function for use with BSD authentication.millert2000-11-261-0/+191
This lives in libutil because it uses pw_lock(3) and friends. Needs a man page (soon!).