[sudo-commits] sudo changeset 14565:5dcd96a5c369
Todd C. Miller
Todd.Miller at sudo.ws
Tue Feb 21 13:23:55 MST 2023
changeset: 14565:5dcd96a5c369 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/5dcd96a5c369
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue Feb 21 10:25:14 2023 -0700
Log Message:
ptrace_intercept_execve: preserve old argv[0] after policy check.
We have to replace argv[0] with the pathname for the policy check
but want to restore it afterwards if the policy has not changed the
command's path name to avoid a mismatch later on.
diffstat:
src/exec_ptrace.c | 32 ++++++++++++++++++++++++++++----
1 files changed, 28 insertions(+), 4 deletions(-)
More information about the sudo-commits
mailing list