[sudo-commits] sudo changeset 14893:6cc420fea368

Todd C. Miller Todd.Miller at sudo.ws
Sun Jul 16 14:14:15 MDT 2023


changeset:	14893:6cc420fea368 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/6cc420fea368
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Jul 14 14:08:59 2023 -0600

Log Message:
	Simplify the exec_monitor() foreground flag.

	Add cmnd_foreground flag that is only true if sudo is the foreground
	process and the CD_EXEC_BG flag is not set and pass it to exec_monitor().
	This means exec_monitor() no longer needs to check for CD_EXEC_BG.

diffstat:

 src/exec_monitor.c |   4 ++--
 src/exec_pty.c     |  29 ++++++++++++-----------------
 2 files changed, 14 insertions(+), 19 deletions(-)



More information about the sudo-commits mailing list