1 2 3 4 5 6 7 8 9 10 11 12 13
#include <asm/ucontext.h> struct sigframe { struct ucontext uc; unsigned long retcode[4]; }; struct rt_sigframe { struct siginfo info; struct sigframe sig; }; extern struct page *get_signal_page(void);