[sudo-commits] sudo changeset 10444:66e6f5e7b51b
Todd C. Miller
Todd.Miller at courtesan.com
Wed May 11 07:08:18 MDT 2016
changeset: 10444:66e6f5e7b51b in /media/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/66e6f5e7b51b
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Wed May 11 07:06:45 2016 -0600
Log Message:
Eliminate use of setpwent()/endpwent() and setgrent()/endgrent().
Sudo never iterates over the passwd or group file.
Rename sudo_set{pw,gr}ent() -> sudo_mk{pw,gr}cache() and
use sudo_free{pw,gr}cache() instead of sudo_end{pw,gr}ent().
diffstat:
plugins/sudoers/iolog.c | 8 ++++----
plugins/sudoers/logging.c | 4 +---
plugins/sudoers/pwutil.c | 34 ++++------------------------------
plugins/sudoers/sudoers.c | 12 ++++++------
plugins/sudoers/sudoers.h | 8 ++++----
plugins/sudoers/testsudoers.c | 8 ++++----
plugins/sudoers/visudo.c | 12 ++++++------
7 files changed, 29 insertions(+), 57 deletions(-)
More information about the sudo-commits
mailing list