summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getpwent.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* The "always hint that getpw operation is happening with access() the YPderaadt2019-07-021-1/+2
* Use an mmap()'d buffer instead of a static buffer for the contentsmillert2018-08-211-48/+109
* stop opening the shadow database by default. only programs that request ittedu2016-05-071-5/+3
* Remove NULL-checks before free() and a few related dead assignments.mmcc2015-12-281-13/+7
* modify getpw*(), getgr*(), and getgrouplist() functions to access thederaadt2015-12-011-2/+6
* Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} withinmillert2015-11-241-3/+1
* Add _shadow variants to the two popular getpw functions (uid and nam).tedu2015-11-181-14/+66
* remove null check before free. from Michael McConvilletedu2015-09-141-23/+12
* Wrap <pwd.h> so that calls go direct and the symbols are all weak.guenther2015-09-131-1/+6
* Do not assume that asprintf() clears the pointer on failure, whichmillert2015-06-031-3/+9
* Move to the <limits.h> universe.deraadt2015-01-161-4/+6
* Make sure that setgrent(), endgrent(), and endpwent() do not clobberschwarze2014-03-121-1/+5
* The functions getpw{nam,uid}_r() no longer set errno, not even if anschwarze2014-03-121-7/+15
* Fix getpw{nam,uid}{,_r}() errno handling for the non-YP case.schwarze2014-03-081-6/+15
* Fix the return values of getpwnam_r(), getpwuid_r(), getgrnam_r(),schwarze2014-03-051-3/+19
* getpwnam_r() and getpwuid_r() reopen the passwd even when called withbenno2013-11-151-7/+3
* ANSI prototypesderaadt2013-11-121-3/+3
* Align stack yp buffers to 64-bit boundaries now, for they might containmiod2013-08-151-5/+5
* Do not need machine/param.hderaadt2013-03-211-2/+1
* use a size_t instead of an int to avoid signed comparederaadt2013-01-071-2/+3
* Preserve errno across calls to open the password database(s), soguenther2011-09-051-2/+5
* remove unused variablechl2009-11-211-2/+1
* simplify the code looking for + in the password database, after analysisderaadt2009-11-121-5/+4
* Take advantage of the surprise libc bump to bring inschwarze2009-06-031-59/+2
* getgrouplist: If YP is #defined and enabled in /etc/group(5) and /etc/netid(5)schwarze2009-03-271-11/+13
* Avoid an occasional double free in getpwent() which corrupted memory. Itderaadt2008-07-231-6/+2
* oops, fix getpwent() use of wrong buffersderaadt2008-07-061-3/+4
* Add _PW_BUF_LEN define and use it instead of hard-coding 1024 formillert2008-06-251-6/+6
* implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of thederaadt2008-06-241-469/+403
* zap remaining rcsid.espie2005-08-081-4/+1
* deregister (and deauto!). ok millert@ marco@otto2005-03-251-4/+4
* ansify function definitions and zap some `register'jfb2004-05-181-22/+15
* protosderaadt2003-06-251-1/+2
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
* add missing enumeration case to select to kill gcc warningavsm2003-05-011-1/+4
* Add a "shadow" group and make the shadow passwd db readable by thatmillert2002-11-211-6/+4
* KNFderaadt2002-07-061-20/+20
* cope better if realloc fails; better fix than cloder@acm.orgderaadt2002-07-061-1/+2
* try to use strlcpy and snprintf more; ok variousderaadt2002-05-241-2/+2
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-6/+1
* 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-9/+9
* put another YP-only piece inside the ifdefderaadt2001-07-101-1/+3
* Avoid theoretical potential buffer overflowpjanzen2001-02-131-2/+2
* move utmp to large format, usernames to 32 chars; downsjderaadt2001-01-311-9/+8
* well if you cannot do a libc commit properly a week before 2.7 tree lock, surely it can wait till after 2.7deraadt2000-04-251-132/+10
* getpw*_r()d2000-04-251-10/+132
* redo master.passwd.byname check if either the uid or euid changes, this wasderaadt1999-09-151-4/+18
* indentderaadt1999-09-141-114/+114
* Use strtol() and strtoul() instead of atoi(). This allows us to catchmillert1999-09-031-6/+21
* realloc repairderaadt1998-08-141-3/+10