14 Commits (ebb4cc0fec110edc7caf5ae545bfb816565a060d)

Author SHA1 Message Date
Rich Felker 23b8e3bc95 fix off-by-one error in getgrnam_r and getgrgid_r, clobbering gr_name 13 years ago
Rich Felker 648c3b4e18 change uid_t, gid_t, and id_t to unsigned types 13 years ago
Rich Felker ddfb267b0e add put*ent functions for passwd/group files and similar for shadow 13 years ago
Rich Felker cac872957e add fgetgrent function 13 years ago
Rich Felker d712dd396d more close-on-exec fixes, mostly using new "e" flag to fopen 14 years ago
Rich Felker 4948a24df2 make passwd/group functions safe against cancellation in stdio 15 years ago
Rich Felker 5e9314ff03 add fgetpwent (nonstandard function) 15 years ago
Rich Felker aef84ca7ec fix clobbering of errno in get(pw|gr)([ug]id|nam) by fclose 15 years ago
Rich Felker 0d4d94efd5 protect against/handle cancellation reading shadow passwords 15 years ago
Rich Felker fb62ae74d0 fix buffer overrun in getgrent code when there are no group members 15 years ago
Rich Felker c19a6be5a1 it's called getgrgid_r, not getgruid_r... 15 years ago
Rich Felker 18bca57510 shadow password fixes: empty fields should read as -1 not 0 15 years ago
Rich Felker 976f42d1f1 guard against hard links to non-ordinary-files when reading tcb shadow 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago