Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct the uid_from_user() and gid_from_group() comments. | 2018-09-22 | 1 | -7/+7 | |
| | |||||
* | Add uid_from_user() and gid_from_group(), derived from pax's cache.c. | 2018-09-13 | 1 | -80/+386 | |
| | | | | | | It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBSD (mycroft) changes from our own pax's cache.c. OK guenther@ | ||||
* | group_from_gid: use _GR_BUF_LEN instead of _PW_BUF_LEN | 2015-11-25 | 1 | -2/+2 | |
| | |||||
* | Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within | 2015-11-24 | 1 | -7/+11 | |
| | | | | | | | libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@ | ||||
* | change passwd caches to be 4-way "associative". still primitive, but a | 2015-11-17 | 1 | -24/+62 | |
| | | | | little better than winner take all caching. | ||||
* | don't keep the passwd database open; callers do not expect that they will | 2015-10-26 | 1 | -11/+1 | |
| | | | | | become responsible for calling endpwent. ok deraadt | ||||
* | zap remaining rcsid. | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | deregister (and deauto!). ok millert@ marco@ | 2005-03-25 | 1 | -3/+3 | |
| | |||||
* | ansify function definitions and zap some `register' | 2004-05-18 | 1 | -7/+3 | |
| | | | | ok millert@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | 2001-06-27 | 1 | -5/+3 | |
| | |||||
* | move utmp to large format, usernames to 32 chars; downsj | 2001-01-31 | 1 | -8/+7 | |
| | |||||
* | Clean up some -Wall complaints. | 1997-07-09 | 1 | -2/+2 | |
| | |||||
* | Fix RCS ids | 1996-08-19 | 1 | -7/+1 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+119 | |