summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getpwent.c
AgeCommit message (Expand)Author
2022-04-19lib: remove CONSTCOND commentrillig
2017-01-14don't include machine/param.h <sys/param.h> already does WTF?christos
2012-09-08Revert previous temporary measure and fix the assertion properly instead.dholland
2012-09-07Disable bogus _DIAGASSERT.dholland
2012-03-29PR/46279: Dr. W. Stukenbrock: Off-by-one in buffer length check and make surechristos
2012-03-29PR?40728: W. Stukenbrock: Fix various issues with NIS-netgroups in userschristos
2010-03-23remove some stray __weak_aliases, where the target functions weredrochner
2009-01-11merge christos-time_tchristos
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-02-03make this compile with DIAGNOSTICchristos
2006-10-15fix incomplete initializerschristos
2006-06-29Fix YP lookup latency reported by Stephen M. Jones on tech-net. This is aginsbach
2006-03-19Coverity CID 708: Remove dead code.christos
2005-06-05Cosmetic tweak previous; IMHO we don't need the XXX comment in thislukem
2005-06-04Add an initialization to appease -Wuninitialized. Apparently thehe
2005-04-19getpw{ent,nam,uid}_r():lukem
2005-04-02PR/29849, PR/29850: Add getpwent_r and getgrent_rchristos
2005-02-28Restore getpwent() behaviour prior to rev 1.57; skip dodgy NIS & DNS entrieslukem
2004-11-10Use the common __nsdefaultFOO rather than private defaultFOO duplicates.lukem
2004-11-10Use _GETPW_R_SIZE_MAX from <limits.h> rather than defining a private version.lukem
2004-11-01default to "compat" not "files"lukem
2004-10-29#include "reentrant.h" instead of <threadlib.h>lukem
2004-10-24Protect access to all public functions via a mutex as some of the backends arelukem
2004-10-11Fix MKYP=no MKHESIOD=no build.lukem
2004-10-07Ensure that _nis_start(&state) has been called before using PASSWD_BYNAME()lukem
2004-10-05Use PASSWD_BYxxx(state) macros instead of "passwd.byxxx" to refer tolukem
2004-10-05Overhaul the use of nsdispatch(3) by public APIs so that the back-endlukem
2003-11-26Fix compile problem if -UYP -DHESIOD.lukem
2003-10-13Move Jason Downs's code from a 4-clause to a 3-clause licence byagc
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-11-17use strlcpy where it is more appropriate.itojun
2002-11-11Fix signed/unsigned comparison warnings.thorpej
2002-05-26__STDC__ is always defined on NetBSD.wiz
2002-04-16botched strncpy -> strlcpygroo
2002-02-12Just return an error if we try to look up a user name that's too long, rathermycroft
2000-10-03Reset allocated buffer size to 0 on allocation failure.enami
2000-10-02Fix potential buffer overflow processing long password database entries.simonb
2000-01-22Delint.mycroft
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1999-04-27Unconditionalize `rval' declaration referenced in usr.bin/chpass/ via .PATHross
1999-04-26change dns_getpw() to skip dodgy entries when doing getpwent(), ratherlukem
1999-04-25change getpwent() backends so that a flag (per source) is set once thelukem
1999-04-18specifically include stdarg/varargs.hlukem
1999-01-26always compile in support for `compat' backends (even if !YP & !HESIOD),lukem
1999-01-25convert from hes_*() -> hesiod_*()lukem
1999-01-21Use the right map for Hesiod lookups by uid.mycroft
1999-01-20- remove unneeded castschristos
1999-01-19* `passwd' defaults to `compat', and `passwd_compat' defaults to `nis'lukem
1999-01-19* maximum limit of names is MAXLOGNAME not UT_NAMESIZE. fixes [bin/6847] fromlukem
1999-01-18* fix _compat_getpw so that it returns _local_getpw(...) if therelukem