aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/getpwent.c
Commit message (Expand)AuthorAgeFilesLines
* POSIX prohibits any library function from setting errno to 0.Tim Kientzle2004-05-171-1/+1
* If getpwent/getpwuid/getpwnam return NULL, they must also set errno.Tim Kientzle2004-05-171-0/+3
* Fix a bug that could result in getpw*() incorrectly returning NULL when NISJonathan Chen2004-04-211-0/+1
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)Mark Murray2004-03-051-1/+1
* Kill whitespace at end of lines.Jacques Vidrine2004-01-121-9/+9
* Fix a bug that could result in a null pointer dereference inJacques Vidrine2004-01-121-1/+1
* Revert to using yp_order() to probe for master.paswd.by* maps andBill Paul2003-07-181-7/+14
* fix NIS+ YP compat modeJohn W. De Boskey2003-06-271-3/+4
* Back out the `hiding' of strlcpy and strlcat. Several peopleJacques Vidrine2003-05-011-5/+5
* `Hide' strlcpy and strlcat (using the namespace.h / __weak_referenceJacques Vidrine2003-04-291-5/+5
* When using `compat' mode, be sure to re-dispatch setpwent, endpwent,Jacques Vidrine2003-04-251-0/+29
* In compat mode, we `redispatch' the lookup. It is probably a goodJacques Vidrine2003-04-241-0/+1
* Don't try to access the NIS `master' maps unless we have superuserJacques Vidrine2003-04-211-7/+9
* Follow-up to revision 1.74: Using the result buffer to store our emptyJacques Vidrine2003-04-181-22/+16
* Follow-up to revision 1.73: set _PWF_FILES when `compat' source is usedJacques Vidrine2003-04-181-4/+13
* Don't use `memset' to initialize a struct passwd. A moduleJacques Vidrine2003-04-181-6/+31
* Correctly set _PWF_FILES in pw_fields when appropriate.Jacques Vidrine2003-04-181-2/+6
* Revert the definitions of _PW_KEY* to their previous values. There isJacques Vidrine2003-04-181-2/+2
* The default if nsswitch.conf(5) is not present is supposed to be theJacques Vidrine2003-04-181-1/+1
* = Implement thread-safe versions of the getpwent(3) and getgrent(3)Jacques Vidrine2003-04-171-954/+1429
* Eliminate 19 warnings in libc (at level WARNS=2) of theJacques Vidrine2003-02-271-0/+1
* Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).Jacques Vidrine2003-02-161-4/+1
* Fix bug that causes passwd and friends to fail when the user has a '+' inDag-Erling Smørgrav2002-05-071-0/+3
* Missed a spot in previous commit.Dag-Erling Smørgrav2002-04-151-1/+3
* (ab)use unused bits in the pw_fields member of struct passwd to recordDag-Erling Smørgrav2002-04-141-2/+12
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-011-23/+19
* Fixed world breakage due to missing include of <sys/cdefs.h> in previousBruce Evans2002-01-311-0/+4
* Fix FreeBSD IDs.David E. O'Brien2002-01-301-3/+2
* Explicitly use int32_t for on-disk records for pw_change and pw_expire,Peter Wemm2001-10-271-2/+5
* If the username we are trying to look up in the db files won't fit intoDavid Malone2001-06-181-1/+3
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-241-0/+2
* Fix bug introduced in previous commit: users obtained via compat modeJacques Vidrine2000-11-131-3/+8
* Fix passwd entry `prototypes' in compat mode. I broke this in revisionJacques Vidrine2000-11-101-34/+16
* Explicitly initialize _pw_passwd.Jacques Vidrine2000-10-271-1/+1
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you canJacques Vidrine2000-09-061-662/+977
* sprintf -> snprintf paranoiaKris Kennaway2000-08-041-3/+3
* YP/NIS code: remove unnecessary endgrent() calls which can cause fail onAndrey A. Chernov1999-10-161-5/+3
* Fix longstanding bug "unused stayopen" introduced in rev1.11Andrey A. Chernov1999-10-161-2/+6
* Don't forget to reset _pw_stepping_yp to 0 before returning. Fixes a bugDag-Erling Smørgrav1999-09-061-0/+1
* Apply patch for PR #12008: remember to reset _yp_enabled flag inBill Paul1999-06-041-0/+2
* Partial fix for the forking problem: if we can't access the master maps,Dag-Erling Smørgrav1999-03-271-4/+11
* Restore old semantics (broken in rev 1.47's buffer overflow fix).Eivind Eklund1998-12-171-1/+3
* Prevent buffer overflow in getpwnam()Mike Smith1998-10-291-2/+2
* Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh1998-09-161-1/+1
* Don't initialize NIS until it is really necessary. Now, in case of networkDmitrij Tejblum1998-09-151-55/+71
* XOpen says the void setpwent(void) is correct. Also call setpassent(0)Steve Price1998-02-011-7/+2
* Many places in the code NULL is used in integer context, wherePoul-Henning Kamp1997-09-181-2/+2
* Fix yet a minor stylistic nit from Bruce.Wolfram Schneider1997-09-151-4/+4
* Potential bufferflow in getpwent(), getpwnam() and getpwuid()Wolfram Schneider1997-09-141-2/+7
* Remove minor warning (for -Wall -Wshadow); clarifies code.David Nugent1997-03-261-3/+3