[sudo-cvs] CVS commit: sudo

Todd C. Miller Todd.Miller at courtesan.com
Thu Aug 30 21:21:26 EDT 2007

Module Name:	sudo
Committed By:	millert
Date:		Fri Aug 31 01:21:26 UTC 2007

Modified Files:
	sudo: match.c parse.c testsudoers.c

Log Message:
Use LH_FOREACH_REV when checking permission and short-circuit on
the first non-UNSPEC hit we get for the command.  This means that
instead of cycling through the all the parsed sudoers entries we
start at the end and work backwards and quit after the first positive
or negative match.

To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 sudo/match.c
cvs rdiff -r1.205 -r1.206 sudo/parse.c
cvs rdiff -r1.112 -r1.113 sudo/testsudoers.c

More information about the sudo-commits mailing list