#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/tracehook.h>
#include <linux/unistd.h>
#include <linux/stddef.h>
#include <linux/compat.h>
#include <linux/elf.h>
#include <asm/ucontext.h>
#include <asm/rt_sigframe.h>
#include <asm/uaccess.h>
#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
#include <asm/asm-offsets.h>
Go to the source code of this file.
|
#define | DEBUG_SIG 0 |
|
#define | DEBUG_SIG_LEVEL 2 |
|
#define | DBG(LEVEL,...) |
|
#define | A(__x) ((unsigned long)(__x)) |
|
#define | INSN_LDI_R25_0 0x34190000 /* ldi 0,%r25 (in_syscall=0) */ |
|
#define | INSN_LDI_R25_1 0x34190002 /* ldi 1,%r25 (in_syscall=1) */ |
|
#define | INSN_LDI_R20 0x3414015a /* ldi __NR_rt_sigreturn,%r20 */ |
|
#define | INSN_BLE_SR2_R0 0xe4008200 /* be,l 0x100(%sr2,%r0),%sr0,%r31 */ |
|
#define | INSN_NOP 0x08000240 /* nop */ |
|
#define | INSN_DIE_HORRIBLY 0x68000ccc /* stw %r0,0x666(%sr0,%r0) */ |
|
#define A |
( |
|
__x | ) |
((unsigned long)(__x)) |
#define DBG |
( |
|
LEVEL, |
|
|
|
... |
|
) |
| |
#define DEBUG_SIG_LEVEL 2 |
#define INSN_BLE_SR2_R0 0xe4008200 /* be,l 0x100(%sr2,%r0),%sr0,%r31 */ |
#define INSN_DIE_HORRIBLY 0x68000ccc /* stw %r0,0x666(%sr0,%r0) */ |
#define INSN_LDI_R20 0x3414015a /* ldi __NR_rt_sigreturn,%r20 */ |
#define INSN_LDI_R25_0 0x34190000 /* ldi 0,%r25 (in_syscall=0) */ |
#define INSN_LDI_R25_1 0x34190002 /* ldi 1,%r25 (in_syscall=1) */ |
#define INSN_NOP 0x08000240 /* nop */ |