[sudo-commits] sudo changeset 15203:c24a4083224b
Todd C. Miller
Todd.Miller at sudo.ws
Thu Dec 7 07:36:31 MST 2023
changeset: 15203:c24a4083224b in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/c24a4083224b
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Dec 06 10:27:57 2023 -0700
files: plugins/sudoers/match_command.c
Log Message:
command_matches_regex: 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 | 23 +++++++++++------------
1 files changed, 11 insertions(+), 12 deletions(-)
More information about the sudo-commits
mailing list