[sudo-commits] sudo changeset 10566:54a464b116ad

Todd C. Miller Todd.Miller at courtesan.com
Wed Jul 27 16:19:27 MDT 2016

changeset:	10566:54a464b116ad in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/54a464b116ad
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Jul 27 16:17:41 2016 -0600

Log Message:
	Explicitly check for a continued process with waitpid(2).  Otherwise,
	waitpid() will return 0 when the command is resumed after being
	suspended, which we were treating the same as -1.  Fixes suspend
	and resume on Linux and probably others.


 src/exec_pty.c |  25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

More information about the sudo-commits mailing list