From: Todd C. Miller Date: Sun, 13 Jan 2013 20:25:57 +0000 (-0500) Subject: Add missing call to save_signals(). X-Git-Tag: SUDO_1_7_10p4~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c1af01d8e3d6bd48c3c7b999e0e8dd55df16fa0;p=sudo Add missing call to save_signals(). --HG-- branch : 1.7 --- diff --git a/sudo.c b/sudo.c index 1382ca812..3e3af404e 100644 --- a/sudo.c +++ b/sudo.c @@ -1107,9 +1107,10 @@ initial_setup() struct rlimit rl; #endif - /* Reset signal mask. */ + /* Reset signal mask and save signal state. */ (void) sigemptyset(&mask); (void) sigprocmask(SIG_SETMASK, &mask, NULL); + save_signals(); #if defined(__linux__) /*