[sudo-commits] sudo changeset 13876:e34a3f90de5b

Todd C. Miller Todd.Miller at sudo.ws
Mon Mar 14 14:03:11 MDT 2022


changeset:	13876:e34a3f90de5b in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/e34a3f90de5b
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Mar 14 13:54:12 2022 -0600

Log Message:
	Block SIGCHLD when forking the mailer.
	Otherwise, it may be picked up by the signal handler instead of our
	waitpid(2) call.
	Don't warn if waitpid() returns 0 in a SIGCHLD handler.

diffstat:

 lib/eventlog/eventlog.c |  22 +++++++++++++++++++++-
 src/exec_monitor.c      |   6 ++++--
 src/exec_nopty.c        |  11 ++++++++---
 src/exec_pty.c          |  13 +++++++++----
 src/tgetpass.c          |  16 +++++++---------
 5 files changed, 49 insertions(+), 19 deletions(-)



More information about the sudo-commits mailing list