Linux Kernel
3.7.1
|
#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/unistd.h>
#include <linux/stddef.h>
#include <linux/tty.h>
#include <linux/elf.h>
#include <linux/personality.h>
#include <linux/binfmts.h>
#include <linux/io.h>
#include <linux/tracehook.h>
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#include <asm/syscalls.h>
#include <asm/fpu.h>
Go to the source code of this file.
Data Structures | |
struct | fdpic_func_descriptor |
struct | sigframe |
struct | rt_sigframe |
Macros | |
#define | UNWINDGUARD 64 |
#define | MOVW(n) (0x9300|((n)-2)) /* Move mem word at PC+n to R3 */ |
#define | TRAP_NOARG 0xc310 /* Syscall w/no args (NR in R3) */ |
#define | OR_R0_R0 0x200b /* or r0,r0 (insert to avoid hardware bug) */ |
#define | COPY(x) err |= __get_user(regs->x, &sc->sc_##x) |
#define | COPY(x) err |= __put_user(regs->x, &sc->sc_##x) |
Functions | |
asmlinkage int | sys_sigsuspend (old_sigset_t mask) |
asmlinkage int | sys_sigaction (int sig, const struct old_sigaction __user *act, struct old_sigaction __user *oact) |
asmlinkage int | sys_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long r6, unsigned long r7, struct pt_regs __regs) |
asmlinkage int | sys_sigreturn (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs) |
asmlinkage int | sys_rt_sigreturn (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs) |
void | __kernel_sigreturn (void) |
void | __kernel_rt_sigreturn (void) |
asmlinkage void | do_notify_resume (struct pt_regs *regs, unsigned int save_r0, unsigned long thread_info_flags) |
#define MOVW | ( | n | ) | (0x9300|((n)-2)) /* Move mem word at PC+n to R3 */ |
Definition at line 107 of file signal_32.c.
#define OR_R0_R0 0x200b /* or r0,r0 (insert to avoid hardware bug) */ |
Definition at line 113 of file signal_32.c.
#define TRAP_NOARG 0xc310 /* Syscall w/no args (NR in R3) */ |
Definition at line 111 of file signal_32.c.
#define UNWINDGUARD 64 |
Definition at line 47 of file signal_32.c.
asmlinkage void do_notify_resume | ( | struct pt_regs * | regs, |
unsigned int | save_r0, | ||
unsigned long | thread_info_flags | ||
) |
Definition at line 593 of file signal_32.c.
asmlinkage int sys_rt_sigreturn | ( | unsigned long | r4, |
unsigned long | r5, | ||
unsigned long | r6, | ||
unsigned long | r7, | ||
struct pt_regs | __regs | ||
) |
Definition at line 237 of file signal_32.c.
asmlinkage int sys_sigaction | ( | int | sig, |
const struct old_sigaction __user * | act, | ||
struct old_sigaction __user * | oact | ||
) |
Definition at line 61 of file signal_32.c.
asmlinkage int sys_sigaltstack | ( | const stack_t __user * | uss, |
stack_t __user * | uoss, | ||
unsigned long | r6, | ||
unsigned long | r7, | ||
struct pt_regs | __regs | ||
) |
Definition at line 93 of file signal_32.c.
asmlinkage int sys_sigreturn | ( | unsigned long | r4, |
unsigned long | r5, | ||
unsigned long | r6, | ||
unsigned long | r7, | ||
struct pt_regs | __regs | ||
) |
Definition at line 205 of file signal_32.c.
asmlinkage int sys_sigsuspend | ( | old_sigset_t | mask | ) |
Definition at line 53 of file signal_32.c.