summaryrefslogtreecommitdiff
path: root/lib/libutil/passwd.c
AgeCommit message (Expand)Author
2018-06-24Prevent underflow buffer read in trim_whitespace() in libutil/passwd.ckamil
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
2011-04-24fix freudian slipchristos
2010-08-18Log why pwd_mkdb failed. Currently on aslr systems, pwd_mkdb either abortschristos
2010-08-18Log via syslog(3) when we run pwd_mkdb(8).christos
2009-01-18fix -Wsign-compare issueslukem
2009-01-11merge christos-time_tchristos
2008-12-21PR/18150: John F. Woods: Print meaningful error messages on inconsistent/christos
2006-12-20From Anon Ymous:christos
2006-10-15add volatile to prevent gcc clobbering.christos
2006-03-20plug leaks, coverity cids 1618, 1619.elad
2005-09-14Use the re-entrant getgr*_r functions. From John Nemeth.christos
2005-08-19Make this compile without warnings.elad
2005-08-18Make pw_getconf(3) set errno so we have indication on what went wrong.elad
2005-01-15PR/28792: FUKAUMI Naoki: passwd: Couldn't generate salt: Invalid argumentchristos
2005-01-12add pw_getpwconf(), bump.christos
2004-12-11WARNS=3; fix cast-qual issues.christos
2004-08-03- Rename pw_copy() to pw_copyx(), make it return a success/failure code,thorpej
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-04-17Back out previous - it will come as a surprise to many users.ad
2002-04-15Per discussion on tech-security and tech-userlevel, upgrade defaultperry
2001-11-05WARNS=2 fixlukem
2001-10-23- add _PATH_USERMGMT_CONF. resolves [bin/14305]lukem
2001-08-18Add two arguments to pw_mkdb(), a la OpenBSD. This is to allow us to passad
2001-01-03sprinkle in _DIAGASSERT() as appropriatelukem
2000-12-08Fix oversight in last commit.tron
2000-12-06Add two new passwd file update functions:tron
2000-10-04honor behavior of warn(NULL).itojun
2000-10-03Close possible format string attack.sommerfeld
2000-07-11Correct ctype(3) usage.itohy
2000-07-07Fix typo. This probably would have stopped passwd(1) working ifad
2000-07-06Oops - declare static functions.ad
2000-07-06Use ':' as group prefix; suggested by hubertf.ad
2000-07-06- Add pw_getconf(). This is used to read configuration information fromad
1999-12-03Use /bin/sh to take care of the EDITOR command parsing instead of homemjl
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-17remove diagnostic check for name==NULL; it's ok to call pw_error() in this caselukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1998-12-09Delintchristos
1998-09-26Preserve the correct errno so that programs know the reason we failed.christos
1998-08-19Add some braces to make egcs happy.thorpej
1998-06-08move pw_scan() out of here (into libc)lukem
1997-12-31Change an exit() to _exit(), so that it's safe for vfork().thorpej
1997-07-24Change pw_copy to take an optional 4th parameter (old_pw), a pointerphil
1997-07-06PR/3832: Enami Tsugutomo: passwd.c will not compile on NetBSD/alphachristos
1997-06-29- RCSID policechristos
1997-06-20add parens for gcc -Wallmikel
1997-05-22in pw_scan(), parse [gu]id with strtoul() instead of atoi(), and sanitylukem
1997-05-09Pull in err.h for prototypes.mycroft
1997-04-23Allow the full range of UIDs and GIDs.mycroft