summaryrefslogtreecommitdiff
path: root/src/passwd
AgeCommit message (Expand)AuthorLines
2021-04-16nscd: fall back gracefully on kernels without AF_UNIX supportJoakim Sindholt-1/+9
2020-10-14fix getgrouplist when nscd reports an empty listRich Felker-1/+2
2019-05-16fix format strings for uid/gid values in putpwent/putgrentRich Felker-2/+2
2018-12-28halt getspnam[_r] search on error accessing TCB shadowRich Felker-0/+2
2018-12-28don't set errno or return an error when getspnam[_r] finds no entryRich Felker-3/+9
2018-09-12reduce spurious inclusion of libc.hRich Felker-1/+1
2018-09-12apply hidden visibility to various remaining internal interfacesRich Felker-6/+6
2017-06-21fix regression in getspnam[_r] error code for insufficient buffer sizeRich Felker-1/+1
2017-06-15set errno when getpw*_r, getgr*_r, and getspnam_r failRich Felker-3/+7
2016-07-13revert unrelated change that slipped into last commitRich Felker-1/+1
2016-07-13fix regression in tcsetattr on all mips archsRich Felker-1/+1
2015-06-09fix spurious errors from pwd/grp functions when nscd backend is absentRich Felker-4/+8
2015-05-01fix mishandling of ENOMEM return case in internal getgrent_a functionRich Felker-1/+2
2015-03-15avoid sending huge names as nscd passwd/group queriesRich Felker-2/+3
2015-03-15simplify nscd lookup code for alt passwd/group backendsRich Felker-15/+15
2015-03-15add alternate backend support for getgrouplistJosiah Worcester-0/+86
2015-02-23support alternate backends for the passwd and group dbsJosiah Worcester-2/+390
2015-02-23fix spurious errors in refactored passwd/group codeRich Felker-2/+2
2015-02-23fix crashes in refactored passwd/group codeRich Felker-4/+4
2015-02-13refactor group file access codeJosiah Worcester-51/+71
2015-02-10refactor passwd file access codeJosiah Worcester-49/+65
2015-01-21fix erroneous return of partial username matches by getspnam[_r]Rich Felker-1/+1
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-0/+4
2013-11-24shadow: Implement fgetspentMichael Forney-1/+10
2013-11-24shadow: Move spent parsing to internal functionMichael Forney-31/+40
2013-11-24shadow: Implement putspentMichael Forney-5/+13
2013-11-23putgrent: Add missing newlineMichael Forney-0/+1
2013-11-23putgrent: Stop writing output on first failureMichael Forney-2/+3
2013-09-29fix off-by-one error in getgrnam_r and getgrgid_r, clobbering gr_nameRich Felker-2/+2
2013-07-19change uid_t, gid_t, and id_t to unsigned typesRich Felker-6/+20
2013-04-04add put*ent functions for passwd/group files and similar for shadowRich Felker-0/+34
2013-02-17add fgetgrent functionRich Felker-0/+9
2012-09-29more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker-6/+6
2012-02-01make passwd/group functions safe against cancellation in stdioRich Felker-6/+35
2012-01-29add fgetpwent (nonstandard function)Rich Felker-0/+9
2011-09-27fix clobbering of errno in get(pw|gr)([ug]id|nam) by fcloseRich Felker-0/+12
2011-09-21protect against/handle cancellation reading shadow passwordsRich Felker-1/+11
2011-06-30fix buffer overrun in getgrent code when there are no group membersRich Felker-4/+8
2011-06-08it's called getgrgid_r, not getgruid_r...Rich Felker-1/+1
2011-04-20shadow password fixes: empty fields should read as -1 not 0Rich Felker-7/+13
2011-02-14guard against hard links to non-ordinary-files when reading tcb shadowRich Felker-2/+4
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+404