aboutsummaryrefslogtreecommitdiff
path: root/src/passwd (follow)
Commit message (Expand)AuthorAgeFilesLines
* add put*ent functions for passwd/group files and similar for shadow•••since shadow does not yet support enumeration (getspent), the corresponding FILE-based get and put versions are also subbed out for now. this is partly out of laziness and partly because it's not clear how they should work in the presence of TCB shadow files. the stubs should make it possible to compile some software that expects them to exist, but such software still may not work properly. Rich Felker2013-04-043-0/+34
* add fgetgrent function•••based on patch by Isaac Dunham, moved to its own file to avoid increasing bss on static linked programs not using this nonstandard function but using the standard getgrent function, and vice versa. Rich Felker2013-02-171-0/+9
* more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker2012-09-295-6/+6
* make passwd/group functions safe against cancellation in stdio•••these changes are a prerequisite to making stdio cancellable. Rich Felker2012-02-014-6/+35
* add fgetpwent (nonstandard function)•••based on patch by Jeremy Huntwork Rich Felker2012-01-291-0/+9
* fix clobbering of errno in get(pw|gr)([ug]id|nam) by fcloseRich Felker2011-09-272-0/+12
* protect against/handle cancellation reading shadow passwordsRich Felker2011-09-211-1/+11
* fix buffer overrun in getgrent code when there are no group membersRich Felker2011-06-301-4/+8
* it's called getgrgid_r, not getgruid_r...Rich Felker2011-06-081-1/+1
* 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.0Rich Felker2011-02-1211-0/+404