[sudo-commits] sudo changeset 15298:c900ae4e24d6

Todd C. Miller Todd.Miller at sudo.ws
Sat May 18 19:37:48 MDT 2024


changeset:	15298:c900ae4e24d6 in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/c900ae4e24d6
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat May 18 19:15:14 2024 -0600
files:		src/exec_monitor.c src/exec_pty.c src/sudo.h

Log Message:
	When revoking the pty, kill the foreground process from the parent sudo.

	There's no need to send messages back and forth to the monitor
	when the main process can just do it.  GitHub issue #367.


diffstat:

 src/exec_monitor.c |  45 ++-------------------------------------------
 src/exec_pty.c     |  43 ++++++++++++++++++++++++++++---------------
 src/sudo.h         |   1 -
 3 files changed, 30 insertions(+), 59 deletions(-)



More information about the sudo-commits mailing list