[sudo-commits] sudo changeset 10508:29bdba0cf2eb

Todd C. Miller Todd.Miller at courtesan.com
Thu Jun 9 12:27:11 MDT 2016

changeset:	10508:29bdba0cf2eb in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/29bdba0cf2eb
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jun 09 11:41:09 2016 -0600

Log Message:
	When matching paths with glob(3), check returned matches against
	user_cmnd first if it is fully-qualified.  This avoids a lot of
	needless stat(2) calls and avoids a mismatch between safe_cmnd and
	argv[0] if there are multiple matches with the same inode/dev due
	to links.  Bug #746.


 plugins/sudoers/match.c |  32 ++++++++++++++++++++++++++++----
 1 files changed, 28 insertions(+), 4 deletions(-)

More information about the sudo-commits mailing list