[sudo-commits] sudo changeset 11516:63627909bb10

Todd C. Miller Todd.Miller at sudo.ws
Thu Aug 30 10:09:31 MDT 2018


changeset:	11516:63627909bb10 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/63627909bb10
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Aug 30 08:36:09 2018 -0600

Log Message:
	The sssd backend used to take the first match, assuming that entries
	were sorted in descending order by sudoOrder.  That allowed it to
	avoid iterating over the entire list of rules.  Now that we convert
	to a sudoers parse tree, we need to convert rules in ascending
	order, not descending.  The simplest way to accomplish this is to
	simply iterate over the rules from last to first, reversing the
	sort order.  Bug #849

diffstat:

 plugins/sudoers/sssd.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


More information about the sudo-commits mailing list