[sudo-commits] sudo changeset 13924:db4d7cd5f673
Todd C. Miller
Todd.Miller at sudo.ws
Tue May 3 13:44:35 MDT 2022
changeset: 13924:db4d7cd5f673 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/db4d7cd5f673
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue May 03 13:34:40 2022 -0600
Log Message:
If the process is already being traced, just resume it and clear flags.
This makes it possible to run sudo in ptrace intercept mode from within
a shell (or other process) that is already being traced by sudo.
diffstat:
src/exec_nopty.c | 15 +++++++++------
src/exec_ptrace.c | 41 ++++++++++++++++++++++++++++++-----------
src/exec_pty.c | 8 ++++++--
src/sudo_exec.h | 2 +-
4 files changed, 46 insertions(+), 20 deletions(-)
More information about the sudo-commits
mailing list