summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pwcache.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't let the C library depend on <utmp.h>.ed2009-12-051-9/+9
| | | | | | The maximum length of a username has nothing to do with the size of the username in the utmp files. Use MAXLOGNAME, which is defined as 17 (UT_USERSIZE + 1).
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Make user_from_uid and group_from_gid return const char *, just likeimp2002-03-221-2/+2
| | | | NetBSD. Update man page to reflect this.
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-191-1/+1
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* Use new-style function declations.imp2002-02-131-6/+2
|
* * Remove 'register'. (some functions had 7+ register functions...)obrien2002-02-011-2/+4
| | | | * Fix SCM ID's.
* Honor the nouser/nogroup flag when determing if NULL shouldmpp1997-04-031-2/+2
| | | | | be returned if a cached uid/gid does not exist in the password file.
* The user_from_{uid,gid} routines would return garbage if thempp1997-04-021-2/+2
| | | | | | | uid/gid in question was in the cache, but did not exist in the password file. This causes the -nouser and -nogroup options to find(1) to only print the first file owned by an unknown user/group in some cases.
* General -Wall warning cleanup, part I.jkh1996-07-121-1/+1
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Implemented negative caching on uid/gid lookup failures. This won'tdg1996-03-051-14/+20
| | | | | | matter much on some systems, but on ftp servers (like wcarchive) where you run with special stripped group and pwd.db files in the anonymous ftp /etc, this can be a major speedup for ls(1).
* Minor cleanup, mostly unused vars and missing #includes.phk1995-10-221-0/+1
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+112
OpenPOWER on IntegriCloud