Re: [PATCH] siginfo, kernel 2.3.35

lars brinkhoff (lars.brinkhoff@intermec.com)
Mon, 03 Jan 2000 15:44:32 +0100


Keith Adams wrote:
> The siginfo patch below applies cleanly to 2.3.35. It causes SIGSEGV to
> properly report siginfo fields on i386. This is necessary to an application
> I'm working on, which does user-level paging by trapping SIGSEGV. This is
> a fairly standard UNIX technique, that is impossible on Linux without this
> patch.

Is this for the Brown Simulator? It was an inspiration for my a386
project[*], which
is like brownsim, but closer to an i386 and with user-mode binary
compatability with
the native OS (i.e. it can catch ordinary user-mode system calls).

User-level paging is possible with the information provided in the sigcontext
passed
on the signal stack frame. It's not standardized as siginfo, but it's usable.

[*] http://www.nocrew.org/software/a386/

-
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/