Subject: Re: SA_SIGINFO notes
To: None <M.Drochner@fz-juelich.de>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 10/07/2003 10:41:16
On Tuesday, October 7, 2003, at 10:09  AM, Matthias Drochner wrote:

> This would be inconsistent with the documentation (siginfo(5)):
>      If si_code is less than or equal to zero, the signal was 
> generated by a
>      user process or a user requested service:
>      SI_USER
>      [...]
>      SI_TIMER
>      [...]
>      SI_ASYNCIO
>
> My proposed patch was motivated by exactly this sentence.

So what is si_code going to be for SIGCHLD?  > 0, but yet it is not 
generated by a trap, so I don't see how > 0 is a reliable test for 
"generated by trap".

         -- Jason R. Thorpe <thorpej@wasabisystems.com>