Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/personality.h>
#include <linux/uaccess.h>
#include <linux/tracehook.h>
#include <asm/elf.h>
#include <asm/cacheflush.h>
#include <asm/ucontext.h>
#include <asm/unistd.h>
#include <asm/vfp.h>
#include "signal.h"
Go to the source code of this file.
Data Structures | |
struct | sigframe |
struct | rt_sigframe |
Macros | |
#define | SWI_SYS_SIGRETURN (0xef000000|(__NR_sigreturn)|(__NR_OABI_SYSCALL_BASE)) |
#define | SWI_SYS_RT_SIGRETURN (0xef000000|(__NR_rt_sigreturn)|(__NR_OABI_SYSCALL_BASE)) |
#define | MOV_R7_NR_SIGRETURN (0xe3a07000 | (__NR_sigreturn - __NR_SYSCALL_BASE)) |
#define | MOV_R7_NR_RT_SIGRETURN (0xe3a07000 | (__NR_rt_sigreturn - __NR_SYSCALL_BASE)) |
#define | SWI_THUMB_SIGRETURN (0xdf00 << 16 | 0x2700 | (__NR_sigreturn - __NR_SYSCALL_BASE)) |
#define | SWI_THUMB_RT_SIGRETURN (0xdf00 << 16 | 0x2700 | (__NR_rt_sigreturn - __NR_SYSCALL_BASE)) |
Functions | |
asmlinkage int | sys_sigsuspend (int restart, unsigned long oldmask, old_sigset_t mask) |
asmlinkage int | sys_sigaction (int sig, const struct old_sigaction __user *act, struct old_sigaction __user *oact) |
asmlinkage int | sys_sigreturn (struct pt_regs *regs) |
asmlinkage int | sys_rt_sigreturn (struct pt_regs *regs) |
asmlinkage int | do_work_pending (struct pt_regs *regs, unsigned int thread_flags, int syscall) |
Variables | |
const unsigned long | sigreturn_codes [7] |
#define MOV_R7_NR_RT_SIGRETURN (0xe3a07000 | (__NR_rt_sigreturn - __NR_SYSCALL_BASE)) |
#define MOV_R7_NR_SIGRETURN (0xe3a07000 | (__NR_sigreturn - __NR_SYSCALL_BASE)) |
#define SWI_SYS_RT_SIGRETURN (0xef000000|(__NR_rt_sigreturn)|(__NR_OABI_SYSCALL_BASE)) |
#define SWI_SYS_SIGRETURN (0xef000000|(__NR_sigreturn)|(__NR_OABI_SYSCALL_BASE)) |
#define SWI_THUMB_RT_SIGRETURN (0xdf00 << 16 | 0x2700 | (__NR_rt_sigreturn - __NR_SYSCALL_BASE)) |
#define SWI_THUMB_SIGRETURN (0xdf00 << 16 | 0x2700 | (__NR_sigreturn - __NR_SYSCALL_BASE)) |
asmlinkage int sys_sigaction | ( | int | sig, |
const struct old_sigaction __user * | act, | ||
struct old_sigaction __user * | oact | ||
) |
asmlinkage int sys_sigsuspend | ( | int | restart, |
unsigned long | oldmask, | ||
old_sigset_t | mask | ||
) |