[sudo-commits] sudo changeset 15202:88563830f0c5

Todd C. Miller Todd.Miller at sudo.ws
Mon Dec 4 18:35:13 MST 2023


changeset:	15202:88563830f0c5 in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/88563830f0c5
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Dec 04 18:35:08 2023 -0700
files:		plugins/sudoers/match_command.c

Log Message:
	command_matches_fnmatch: retry with canonicalized path if possible

	If ctx->user.cmnd doesn't match, use ctx->user.cmnd_dir (if present)
	to construct a canonicalized path and match on that.


diffstat:

 plugins/sudoers/match_command.c |  26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)



More information about the sudo-commits mailing list