]> granicus.if.org Git - sudo/commit
Reference count cached passwd and group structs. The cache holds
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Aug 2010 13:13:17 +0000 (09:13 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Aug 2010 13:13:17 +0000 (09:13 -0400)
commitb2fcb06c428ba33cbca1515b69ed0dc022d5a0d0
tree1d97c6b917a9d55b07cfb535dc202d601098edf7
parentf6b88ca9944b6a42913ca56f733f78c60b33f5f2
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.

--HG--
branch : 1.7
check.c
get_pty.c
glob.c
ldap.c
match.c
pwutil.c
sudo.c
sudo.h