Commit Graph

9 Commits

Author SHA1 Message Date
Todd C. Miller
e56d4af8fd Remove my_* redirection in pwutil.c for testsudoers and just use the normal
libc get{pw,gr}* names.
2009-09-19 19:13:10 +00:00
Todd C. Miller
840acbd3ac Update copyright years. 2008-11-09 14:13:13 +00:00
Todd C. Miller
3cb9d538f9 use zero_bytes() instead of memset() for consistency 2008-11-02 14:51:16 +00:00
Todd C. Miller
f758302279 Make return buffers static so they don't get clobbered 2005-08-02 13:57:55 +00:00
Todd C. Miller
7ca844890d Use function pointers to only call private passwd/group routines when
using a nonstandard passwd/group file.
2005-01-09 23:58:21 +00:00
Todd C. Miller
b8c4e2770d Can't use strtok() since it doesn't handle empty fields so add
getpwent()/getgrent() functions and call those.
2005-01-06 03:16:11 +00:00
Todd C. Miller
13cc087799 Remove caching; we will just use what is in pwutil.c
Use global buffers for passwd/group structs
Rename functions from sudo_* to my_*
2005-01-05 19:44:58 +00:00
Todd C. Miller
516ff29770 zero out struct passwd/group before filling it in so if there are
fields we don't handle they end up as 0.
2005-01-05 03:40:01 +00:00
Todd C. Miller
31fd279da8 Passwd and group lookup routines for testsudoers that support alternate
passwd and group files.
2005-01-05 01:08:30 +00:00