[sudo-commits] sudo changeset 5960:e414c67e11fd

Todd C. Miller Todd.Miller at courtesan.com
Wed Aug 4 09:13:25 EDT 2010


changeset:	5960:e414c67e11fd in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/e414c67e11fd
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Aug 04 09:13:17 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:

 check.c   |    2 +
 get_pty.c |    4 +-
 glob.c    |    6 +-
 ldap.c    |   10 ++-
 match.c   |   34 +++++++--
 pwutil.c  |  207 +++++++++++++++++++++++++++++++++++++------------------------
 sudo.c    |   14 +++-
 sudo.h    |    4 +
 8 files changed, 184 insertions(+), 97 deletions(-)



More information about the sudo-commits mailing list