aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/getpwent.c
Commit message (Expand)AuthorAgeFilesLines
* libc: Purge unneeded cdefs.hWarner Losh2023-11-011-1/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* libc/gen/getpwent.c: plug warnings about write-only variablesKonstantin Belousov2021-11-291-6/+6
* libc: Fix the WITH_HESIOD buildMark Johnston2021-04-051-1/+1
* libc/nss: Restore iterator state when doing passwd/group lookupsMark Johnston2021-01-211-7/+11
* fix integer underflow in getgrnam_r and getpwnam_rAlan Somers2020-09-191-2/+9
* Fix -Wvoid-pointer-to-enum-cast warnings.Brooks Davis2020-04-151-8/+8
* Make pw_scan(3) more compatible with getpwent(3) et. al. when processingIan Lepore2018-07-261-23/+4
* 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