From: Todd C. Miller Date: Tue, 29 Aug 2017 14:58:14 +0000 (-0600) Subject: Don't forward SIGINFO to the child when it is send by the kernel X-Git-Tag: SUDO_1_8_21p1^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3d098254d25925f955330bc44a79197d91b47cc;p=sudo Don't forward SIGINFO to the child when it is send by the kernel (not another user process). This is consistent with the handling of other keyboard-generated signals such as SIGINT, SIGQUIT and SIGTSTP. Bug #796 --- diff --git a/src/exec_nopty.c b/src/exec_nopty.c index f22555d61..7e044a05e 100644 --- a/src/exec_nopty.c +++ b/src/exec_nopty.c @@ -134,6 +134,9 @@ signal_cb_nopty(int signo, int what, void *v) sudo_ev_loopexit(ec->evbase); } debug_return; +#ifdef SIGINFO + case SIGINFO: +#endif case SIGINT: case SIGQUIT: case SIGTSTP: