aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/getpwent.c
Commit message (Expand)AuthorAgeFilesLines
* libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-0/+2
* libc: make some more use of the nitems() macro.Pedro F. Giffuni2016-04-161-1/+1
* Fix compiling with gcc [4.2.1] after r287797 when MK_HESOID == no andEnji Cooper2015-10-251-6/+4
* Use unsigned variables in a few places.Craig Rodrigues2015-09-141-2/+3
* compat_passwd(): yet another uninitialized access to stayopen.Pedro F. Giffuni2015-03-061-1/+1
* Fix small memleaks in nis_passwd() and nis_group().Pedro F. Giffuni2015-02-201-1/+3
* More tidy-ups on uninitialized scalar variablePedro F. Giffuni2015-02-151-1/+1
* Protect uninitialized scalar variable from being accessedPedro F. Giffuni2015-02-071-1/+1
* - Extend the nsswitch to support Services, Protocols and RpcHajimu UMEMOTO2006-04-281-0/+277
* 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-971/+1446
* 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-675/+990
* 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