[lkml]   [2001]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsigcontext on Linux-ppc in user space
Does anyone know how to get at the struct sigcontext in a signal handler
on Linux for powerpc? sigaction of course lets you create a signal
handler as a function with the prototype void(*)(int, siginfo_t *, void
where the last argument, a pointer to void, is the sigcontext. I believe
that the last argument is NOT defined by POSIX and so is implementation

On Intel it seems sufficient to use #include <asm/sigcontext.h>
to get the definition of struct sigcontext, and then get the values
you'd like out of the signal handler. But on Linux for powerpc, the same
thing doesn't work. Does anyone know what the trick is here to
accomplish this?

Thanks in advance
John Kacur
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:21    [W:0.038 / U:3.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site