[sudo-commits] sudo changeset 5966:e544685523c3

Todd C. Miller Todd.Miller at courtesan.com
Wed Aug 4 09:58:56 EDT 2010


changeset:	5966:e544685523c3 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/e544685523c3
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Aug 04 09:58:50 2010 -0400

Log Message:
	Reference count cached passwd and group structs.  The cache holds
	one reference itself and another is added by sudo_getgr{gid,nam}
	and sudo_getpw{uid,nam}.  The final ref on the runas and user passwd
	and group structs are persistent for now.

diffstat:

 plugins/sudoers/check.c   |    4 +
 plugins/sudoers/ldap.c    |   10 +-
 plugins/sudoers/match.c   |   36 +++++-
 plugins/sudoers/pwutil.c  |  235 ++++++++++++++++++++++++++++-----------------
 plugins/sudoers/sudoers.c |   20 ++-
 plugins/sudoers/sudoers.h |    4 +
 6 files changed, 201 insertions(+), 108 deletions(-)



More information about the sudo-commits mailing list