]> granicus.if.org Git - sudo/commitdiff
Don't forward SIGINFO to the child when it is send by the kernel
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 29 Aug 2017 14:58:14 +0000 (08:58 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 29 Aug 2017 14:58:14 +0000 (08:58 -0600)
(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

index f22555d617188c2ded8f7e436281d8128f822db4..7e044a05e91a025136289c3d0c3bbd73a7ed2e01 100644 (file)
@@ -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: