[sudo-commits] sudo changeset 14174:5da938210647
Todd C. Miller
Todd.Miller at sudo.ws
Mon Aug 29 12:51:20 MDT 2022
changeset: 14174:5da938210647 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/5da938210647
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Sun Aug 28 18:59:41 2022 -0600
Log Message:
ptrace_verify_post_exec: use /proc/PID/cmdline and /proc/PID/environ
There is no reason to read these directly from the tracee
when we rely on /proc being mounted to access /proc/PID/exe.
diffstat:
src/exec_ptrace.c | 151 ++++++++++++++++++++++++++++-------------------------
src/exec_ptrace.h | 4 +
2 files changed, 83 insertions(+), 72 deletions(-)
More information about the sudo-commits
mailing list