[lkml]   [1999]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Q: Signal processing
Hello Philip,

Philip Blundell wrote:

> Yes; the signal handler can modify the register state (including the program
> counter if you so desire) at the instant the signal was delivered. So you can
> unthread the signal handler and make control immediately pass somewhere else
> without actually returning to the place where the signal was delivered.
> See the sigcontext structure for details. Exactly how you get at it is
> probably architecture dependent.

That's exactly what I was looking for. It even works as desired. The
question is: Can I be sure that the layout of a sigframe won't change?
It's not documented in the man pages, so it's probably not meant to be
used by user code?

Bye, E-Mail .........
Jörg Homepage ...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean