Implement group caching and use the passwd and group caches throughout.

This commit is contained in:
Todd C. Miller
2004-11-16 04:24:11 +00:00
parent fd46c2c3ef
commit 9846e562ad
11 changed files with 286 additions and 45 deletions

View File

@@ -492,7 +492,7 @@ send_mail(line)
/* Close password and group files so we don't leak fds. */
sudo_endpwent();
endgrent();
sudo_endgrent();
/*
* Depending on the config, either run the mailer as root