sighandling.h 763 B

12345678910111213141516171819202122232425
  1. #ifndef _ASM_X86_SIGHANDLING_H
  2. #define _ASM_X86_SIGHANDLING_H
  3. #include <linux/compiler.h>
  4. #include <linux/ptrace.h>
  5. #include <linux/signal.h>
  6. #include <asm/processor-flags.h>
  7. #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
  8. #define __FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \
  9. X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
  10. X86_EFLAGS_ZF | X86_EFLAGS_AF | X86_EFLAGS_PF | \
  11. X86_EFLAGS_CF)
  12. void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
  13. int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc,
  14. unsigned long *pax);
  15. int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
  16. struct pt_regs *regs, unsigned long mask);
  17. #endif /* _ASM_X86_SIGHANDLING_H */