[sudo-commits] sudo changeset 14158:3d30c6d28005
Todd C. Miller
Todd.Miller at sudo.ws
Fri Aug 19 11:42:37 MDT 2022
changeset: 14158:3d30c6d28005 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/3d30c6d28005
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Fri Aug 19 11:05:10 2022 -0600
Log Message:
ptrace_intercept_execve: fail syscall rather than killing process on error.
If the execve(2) args are bogus pointers, we should just return an
error instead of killing the process. For consistency with the
kernel, convert EIO from ptrace(2) to EFAULT.
Also convert some ptrace(2) warnings to debug printfs so sudo is less chatty.
diffstat:
src/exec_ptrace.c | 43 ++++++++++++++++++++++++++-----------------
1 files changed, 26 insertions(+), 17 deletions(-)
More information about the sudo-commits
mailing list