Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-19 | change uid_t, gid_t, and id_t to unsigned types | Rich Felker | 2 | -6/+20 | |
this change is both to fix one of the remaining type (and thus C++ ABI) mismatches with glibc/LSB and to allow use of the full range of uid and gid values, if so desired. passwd/group access functions were not prepared to deal with unsigned values, so they too have been fixed with this commit. | |||||
2013-04-04 | add put*ent functions for passwd/group files and similar for shadow | Rich Felker | 3 | -0/+34 | |
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. | |||||
2013-02-17 | add fgetgrent function | Rich Felker | 1 | -0/+9 | |
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. | |||||
2012-09-29 | more close-on-exec fixes, mostly using new "e" flag to fopen | Rich Felker | 5 | -6/+6 | |
2012-02-01 | make passwd/group functions safe against cancellation in stdio | Rich Felker | 4 | -6/+35 | |
these changes are a prerequisite to making stdio cancellable. | |||||
2012-01-29 | add fgetpwent (nonstandard function) | Rich Felker | 1 | -0/+9 | |
based on patch by Jeremy Huntwork | |||||
2011-09-27 | fix clobbering of errno in get(pw|gr)([ug]id|nam) by fclose | Rich Felker | 2 | -0/+12 | |
2011-09-21 | protect against/handle cancellation reading shadow passwords | Rich Felker | 1 | -1/+11 | |
2011-06-30 | fix buffer overrun in getgrent code when there are no group members | Rich Felker | 1 | -4/+8 | |
2011-06-08 | it's called getgrgid_r, not getgruid_r... | Rich Felker | 1 | -1/+1 | |
2011-04-20 | shadow password fixes: empty fields should read as -1 not 0 | Rich Felker | 1 | -7/+13 | |
2011-02-14 | guard against hard links to non-ordinary-files when reading tcb shadow | Rich Felker | 1 | -2/+4 | |
2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | 11 | -0/+404 | |