[sudo-commits] sudo changeset 11104:9e163efe4afb

Todd C. Miller Todd.Miller at sudo.ws
Fri Dec 1 13:54:46 MST 2017


changeset:	11104:9e163efe4afb in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/9e163efe4afb
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Dec 01 13:43:06 2017 -0700

Log Message:
	When the command completes, make the monitor the foreground process
	group before informing the main sudo process of the command's exit
	status.  This will prevent processes started by the command (which
	runs in a different process group) from receiving SIGHUP since the
	kernel sends SIGHUP to the foreground process group associated with
	the terminal session.  The monitor has a SIGHUP handler installed
	so the signal is effectively ignored.

diffstat:

 src/exec_monitor.c |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)


More information about the sudo-commits mailing list