2008-02-09 04:10:00 +08:00
|
|
|
#ifdef CONFIG_X86_32
|
|
|
|
struct sigframe {
|
2005-09-10 00:18:14 +08:00
|
|
|
char __user *pretcode;
|
2005-04-17 06:20:36 +08:00
|
|
|
int sig;
|
|
|
|
struct sigcontext sc;
|
|
|
|
struct _fpstate fpstate;
|
|
|
|
unsigned long extramask[_NSIG_WORDS-1];
|
|
|
|
char retcode[8];
|
|
|
|
};
|
|
|
|
|
2008-02-09 04:10:00 +08:00
|
|
|
struct rt_sigframe {
|
2005-09-10 00:18:14 +08:00
|
|
|
char __user *pretcode;
|
2005-04-17 06:20:36 +08:00
|
|
|
int sig;
|
2005-09-10 00:18:14 +08:00
|
|
|
struct siginfo __user *pinfo;
|
|
|
|
void __user *puc;
|
2005-04-17 06:20:36 +08:00
|
|
|
struct siginfo info;
|
|
|
|
struct ucontext uc;
|
|
|
|
struct _fpstate fpstate;
|
|
|
|
char retcode[8];
|
|
|
|
};
|
2008-02-09 04:10:00 +08:00
|
|
|
#else
|
|
|
|
struct rt_sigframe {
|
|
|
|
char __user *pretcode;
|
|
|
|
struct ucontext uc;
|
|
|
|
struct siginfo info;
|
|
|
|
};
|
|
|
|
#endif
|