]> 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:58:50 +0000 (09:58 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Aug 2010 13:58:50 +0000 (09:58 -0400)
commit0186018d3dbab213040f2c90bd92148461fb83e3
treec557ee84c60fdc1be53e3bee8fdff85ebfd41287
parent7b011cf152fb889652e5dd813634dfdce2a21ddd
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.
plugins/sudoers/check.c
plugins/sudoers/ldap.c
plugins/sudoers/match.c
plugins/sudoers/pwutil.c
plugins/sudoers/sudoers.c
plugins/sudoers/sudoers.h