Re: Should parent's WIFSIGNALED(siginfo->si_status) be true EVEN IF the SIGNAL was caught by the child?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: John Z. Bohach <jzb2@...>
Cc: <linux-kernel@...>, <mtk-manpages@...>
Date: Saturday, September 22, 2007 - 2:49 pm

John,


If the child terminated by calling exit(), regardless of whether it
was done from inside a signal handler, then WIFEXITED() should test
true, but WIFSIGNALED() will not.  If you are seeing otherwise, then
show a *short* program that demonstrates the behavior.  (But it seems
unlikely that there would be a kernel bug on this point, so do check
your program carefully!)

Cheers,

Michael
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Should parent's WIFSIGNALED(siginfo->si_status) be tr..., Michael Kerrisk, (Sat Sep 22, 2:49 pm)