summaryrefslogtreecommitdiff
path: root/src/passwd/getpw_a.c
AgeCommit message (Collapse)AuthorLines
2015-02-23support alternate backends for the passwd and group dbsJosiah Worcester-1/+113
when we fail to find the entry in the commonly accepted files, we query a server over a Unix domain socket on /var/run/nscd/socket. the protocol used here is compatible with glibc's nscd protocol on most systems (all that use 32-bit numbers for all the protocol fields, which appears to be everything but Alpha).
2015-02-10refactor passwd file access codeJosiah Worcester-0/+31
this allows getpwnam and getpwuid to share code with the _r versions in preparation for alternate backend support.