[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emulating no-senders notifications in L4?
From: |
Adam Olsen |
Subject: |
Re: emulating no-senders notifications in L4? |
Date: |
Wed, 2 Jan 2002 10:09:10 +0000 |
User-agent: |
Mutt/1.3.23i |
On Wed, Jan 02, 2002 at 10:59:58AM +0100, Ondrej Hurt wrote:
>
> > I think it'd be interesting to see if they really are recursive, or
> > just looping. To do that you'd need to mprotect a page of memory,
> > generate the fault on that, then after 30000 or so iterations
> > un-mprotect it and let the signal handler return. See if they all
> > print out "end of handler".
>
> > Adam Olsen, aka Rhamphoryncus
>
> I can't imagine how it could be looping. IMO classic (e.g. in Linux)
> exception handling is a sudden function call jumping to kernel (or
> just libc?) which then calls your handler so it is some sort of
> indirect recursion. I tried the test you proposed and all SIGSEGV
> handler calls returned (30000x "end of handler").
I didn't think they'd be looping either, but I don't know how it's
supposed to behave. Well, I guess I know now :)
--
Adam Olsen, aka Rhamphoryncus