| Commit message (Expand) | Author | Age | Files | Lines |
| * | include cleanups: remove unused headers and add feature test macros | Szabolcs Nagy | 2013-12-12 | 4 | -0/+4 |
| * | shadow: Implement fgetspent | Michael Forney | 2013-11-24 | 1 | -1/+10 |
| * | shadow: Move spent parsing to internal function | Michael Forney | 2013-11-24 | 2 | -31/+40 |
| * | shadow: Implement putspent | Michael Forney | 2013-11-24 | 2 | -5/+13 |
| * | putgrent: Add missing newline | Michael Forney | 2013-11-23 | 1 | -0/+1 |
| * | putgrent: Stop writing output on first failure•••This way, if an fprintf fails, we get an incomplete group entry rather
than a corrupted one.
| Michael Forney | 2013-11-23 | 1 | -2/+3 |
| * | fix off-by-one error in getgrnam_r and getgrgid_r, clobbering gr_name•••bug report and patch by Michael Forney. the terminating null pointer
at the end of the gr_mem array was overwriting the beginning of the
string data, causing the gr_name member to always be a zero-length
string.
| Rich Felker | 2013-09-29 | 1 | -2/+2 |
| * | change uid_t, gid_t, and id_t to unsigned types•••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.
| Rich Felker | 2013-07-19 | 2 | -6/+20 |
| * | 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 Felker | 2013-04-04 | 3 | -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 Felker | 2013-02-17 | 1 | -0/+9 |
| * | more close-on-exec fixes, mostly using new "e" flag to fopen | Rich Felker | 2012-09-29 | 5 | -6/+6 |
| * | make passwd/group functions safe against cancellation in stdio•••these changes are a prerequisite to making stdio cancellable.
| Rich Felker | 2012-02-01 | 4 | -6/+35 |
| * | add fgetpwent (nonstandard function)•••based on patch by Jeremy Huntwork
| Rich Felker | 2012-01-29 | 1 | -0/+9 |
| * | fix clobbering of errno in get(pw|gr)([ug]id|nam) by fclose | Rich Felker | 2011-09-27 | 2 | -0/+12 |
| * | protect against/handle cancellation reading shadow passwords | Rich Felker | 2011-09-21 | 1 | -1/+11 |
| * | fix buffer overrun in getgrent code when there are no group members | Rich Felker | 2011-06-30 | 1 | -4/+8 |
| * | it's called getgrgid_r, not getgruid_r... | Rich Felker | 2011-06-08 | 1 | -1/+1 |
| * | shadow password fixes: empty fields should read as -1 not 0 | Rich Felker | 2011-04-20 | 1 | -7/+13 |
| * | guard against hard links to non-ordinary-files when reading tcb shadow | Rich Felker | 2011-02-14 | 1 | -2/+4 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 11 | -0/+404 |