about summary refs log tree commit diff
path: root/src/passwd/getgr_a.c
Commit message (Collapse)AuthorAgeFilesLines
* support alternate backends for the passwd and group dbsJosiah Worcester2015-02-231-1/+139
| | | | | | | | 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).
* refactor group file access codeJosiah Worcester2015-02-131-0/+32
this allows getgrnam and getgrgid to share code with the _r versions in preparation for alternate backend support.