Kill processes which ignore signals thatshould not be ignored

This commit is contained in:
Erik van der Kouwe
2010-01-31 19:13:20 +00:00
parent 82ce09234b
commit 310876dcec
5 changed files with 33 additions and 16 deletions

View File

@@ -279,11 +279,11 @@ void test5g()
int n;
subtest = 7;
Signal(11, func11);
Signal(11, SIG_IGN);
Signal(SIGUSR1, func11);
Signal(SIGUSR1, SIG_IGN);
n = getpid();
if (kill(n, 11) != 0) e(1);
Signal(11, SIG_DFL);
if (kill(n, SIGUSR1) != 0) e(1);
Signal(SIGUSR1, SIG_DFL);
}
void funcalrm(s)