about summary refs log tree commit diff
path: root/src/passwd/getspnam_r.c
Commit message (Collapse)AuthorAgeFilesLines
* fix erroneous return of partial username matches by getspnam[_r]Rich Felker2015-01-211-1/+1
| | | | | | | | | when using /etc/shadow (rather than tcb) as its backend, getspnam_r matched any username starting with the caller-provided string rather than requiring an exact match. in practice this seems to have affected only systems where one valid username is a prefix for another valid username, and where the longer username appears first in the shadow file.
* shadow: Move spent parsing to internal functionMichael Forney2013-11-241-30/+39
|
* more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker2012-09-291-2/+2
|
* protect against/handle cancellation reading shadow passwordsRich Felker2011-09-211-1/+11
|
* shadow password fixes: empty fields should read as -1 not 0Rich Felker2011-04-201-7/+13
|
* guard against hard links to non-ordinary-files when reading tcb shadowRich Felker2011-02-141-2/+4
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+89