summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getpwent.c
AgeCommit message (Expand)Author
2011-09-05Preserve errno across calls to open the password database(s), soPhilip Guenthe
2009-11-21remove unused variableCharles Longeau
2009-11-12simplify the code looking for + in the password database, after analysisTheo de Raadt
2009-06-03Take advantage of the surprise libc bump to bring inIngo Schwarze
2009-03-27getgrouplist: If YP is #defined and enabled in /etc/group(5) and /etc/netid(5)Ingo Schwarze
2008-07-23Avoid an occasional double free in getpwent() which corrupted memory. ItTheo de Raadt
2008-07-06oops, fix getpwent() use of wrong buffersTheo de Raadt
2008-06-25Add _PW_BUF_LEN define and use it instead of hard-coding 1024 forTodd C. Miller
2008-06-24implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of theTheo de Raadt
2005-08-08zap remaining rcsid.Marc Espie
2005-03-25deregister (and deauto!). ok millert@ marco@Otto Moerbeek
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
2003-06-25protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-01add missing enumeration case to select to kill gcc warningAnil Madhavapeddy
2002-11-21Add a "shadow" group and make the shadow passwd db readable by thatTodd C. Miller
2002-07-06KNFTheo de Raadt
2002-07-06cope better if realloc fails; better fix than cloder@acm.orgTheo de Raadt
2002-05-24try to use strlcpy and snprintf more; ok variousTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-07-10put another YP-only piece inside the ifdefTheo de Raadt
2001-02-13Avoid theoretical potential buffer overflowPaul Janzen
2001-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt
2000-04-25well if you cannot do a libc commit properly a week before 2.7 tree lock, sur...Theo de Raadt
2000-04-25getpw*_r()David Leonard
1999-09-15redo master.passwd.byname check if either the uid or euid changes, this wasTheo de Raadt
1999-09-14indentTheo de Raadt
1999-09-03Use strtol() and strtoul() instead of atoi(). This allows us to catchTodd C. Miller
1998-08-14realloc repairTheo de Raadt
1998-07-14avoid calling __has_yppw() everytime through getpwent(), by caching the YP st...Theo de Raadt
1997-12-18handle long usernames more carefullyTheo de Raadt
1997-07-23tabifykstailey
1997-04-18constrain length of db lookups better; reported by adam@math.tau.ac.ilTheo de Raadt
1997-04-13buf oflow; bitbltTheo de Raadt
1996-10-16kill __yp_token, other clean ups.Jason Downs
1996-10-15* optimal exclusions support -- don't waste memory with DB. assumesJason Downs
1996-09-16uid_t is now a u_int32_t, treat it as such.Todd C. Miller
1996-09-15Add a couple of syscalls; bring more prototypes into scopeThorsten Lockert
1996-09-15Remove dead codeThorsten Lockert
1996-08-19Fix RCS idsThorsten Lockert
1996-04-24yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structureTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt