[sudo-commits] sudo changeset 10590:8ce3564e896e

Todd C. Miller Todd.Miller at courtesan.com
Sat Aug 13 16:31:21 MDT 2016


changeset:	10590:8ce3564e896e in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/8ce3564e896e
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sat Aug 13 16:27:44 2016 -0600

Log Message:
	Cache the user's group IDs and group names separately and only
	resolve group IDs -> names when needed.  If the sudoers file doesn't
	contain groups we will no longer try to resolve all the user's group
	IDs to names, which can be expensive on some systems.

diffstat:

 plugins/sudoers/ldap.c        |   28 +++-
 plugins/sudoers/policy.c      |   18 +-
 plugins/sudoers/pwutil.c      |  178 ++++++++++++++++++++++++++++++---
 plugins/sudoers/pwutil.h      |   12 +-
 plugins/sudoers/pwutil_impl.c |  114 +++++++++++++++------
 plugins/sudoers/set_perms.c   |  220 +++++++++++++++++++++---------------------
 plugins/sudoers/sudoers.c     |    4 +-
 plugins/sudoers/sudoers.h     |   24 +++-
 8 files changed, 408 insertions(+), 190 deletions(-)


More information about the sudo-commits mailing list