lkml.org 
[lkml]   [1999]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.033 / U:1.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site