[sudo-commits] sudo changeset 14283:d1bf60eac57f

Todd C. Miller Todd.Miller at sudo.ws
Mon Nov 7 14:54:21 MST 2022


changeset:	14283:d1bf60eac57f in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/d1bf60eac57f
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Nov 07 14:51:41 2022 -0700

Log Message:
	Fix handling of signal forwarding when running commands in a script.
	We need to forward signals from a process in the same pgrp if the
	pgrp leader is not either sudo or the command itself.

diffstat:

 src/exec_monitor.c |   8 +++++---
 src/exec_nopty.c   |  38 +++++++++++++++++++++-----------------
 src/exec_pty.c     |  22 +++++++++++++---------
 src/sudo_exec.h    |   1 +
 4 files changed, 40 insertions(+), 29 deletions(-)



More information about the sudo-commits mailing list