Messages in this thread | | | Date | Wed, 15 Sep 1999 18:12:27 +0200 | From | Jamie Lokier <> | Subject | Re: [PATCH] 2.3.18: siginfo data available for all signals |
| |
Jakub Jelinek wrote: > make the arch signal handlers understand a little bit the siginfo_t > structure and for the well known si_codes they just put_user the fields > related to that si_code as opposed to copy_to_user the whole structure > and only operate with the full 128byte siginfo_t if it came from > sigqueueinfo.
A simple si_len field for the kernel would do this in an uncomplicated way. Wow, 128 bytes is large for something that usually has only 3 or so words in it.
> It makes a lot of sense to use siginfo_t for passing stuff like segfault > address, segfault reason and the like and other Unices do it that way.
Indeed, SIGCHLD (which child) springs to mind too.
-- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |