[sudo-commits] sudo changeset 14285:e6715ec62335
Todd C. Miller
Todd.Miller at sudo.ws
Mon Nov 7 14:54:22 MST 2022
changeset: 14285:e6715ec62335 in /raid/repos/sudo
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Nov 07 14:51:43 2022 -0700
Don't kill the parent process group on suspend if it is not sudo's pid.
If sudo is not the process group leader we must only send the suspend
signal to sudo itself. When sudo is run via a shell script, it
usually has the same process group as the shell script interpreter.
We do not want to suspend the script itself when the command run
by sudo is suspended.
src/exec_pty.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
More information about the sudo-commits