From c3d098254d25925f955330bc44a79197d91b47cc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 29 Aug 2017 08:58:14 -0600 Subject: [PATCH] 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 --- src/exec_nopty.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.50.1