On Sat, 10 Oct 2009 18:48:29 +0200, Oleg Nesterov wrote: > On 10/10, Jan Kratochvil wrote: > > (VERBOSE-caught with FAIL now). > > Cough. please translate this to me ;)
(Cc of each such mail to Roland does not look OK to me but removing Ccs is also not OK) --- tests/attach-into-signal.c 6 Oct 2009 19:21:35 -0000 1.6 +++ tests/attach-into-signal.c 10 Oct 2009 16:47:46 -0000 1.7 @@ -227,14 +227,8 @@ static void reproduce (void) /* SIGPIPE was still pending and it has not been yet delivered. */ if (WIFSTOPPED (status) && WSTOPSIG (status) == SIGPIPE) { - /* Deliver it and get the queued SIGSTOP. */ - errno = 0; - ptrace (PTRACE_CONT, child, (void *) 1, (void *) SIGPIPE); - assert_perror (errno); - - errno = 0; - pid = waitpid (child, &status, 0); - assert (pid == child); + VERBOSE ("Forbidden to catch pending signal from PTRACE_DETACH"); + exit (1); } assert (WIFSTOPPED (status)); assert (WSTOPSIG (status) == SIGSTOP);