Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
signal.c File Reference
#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]
 

Macro Definition Documentation

#define MOV_R7_NR_RT_SIGRETURN   (0xe3a07000 | (__NR_rt_sigreturn - __NR_SYSCALL_BASE))

Definition at line 34 of file signal.c.

#define MOV_R7_NR_SIGRETURN   (0xe3a07000 | (__NR_sigreturn - __NR_SYSCALL_BASE))

Definition at line 33 of file signal.c.

#define SWI_SYS_RT_SIGRETURN   (0xef000000|(__NR_rt_sigreturn)|(__NR_OABI_SYSCALL_BASE))

Definition at line 28 of file signal.c.

#define SWI_SYS_SIGRETURN   (0xef000000|(__NR_sigreturn)|(__NR_OABI_SYSCALL_BASE))

Definition at line 27 of file signal.c.

#define SWI_THUMB_RT_SIGRETURN   (0xdf00 << 16 | 0x2700 | (__NR_rt_sigreturn - __NR_SYSCALL_BASE))

Definition at line 41 of file signal.c.

#define SWI_THUMB_SIGRETURN   (0xdf00 << 16 | 0x2700 | (__NR_sigreturn - __NR_SYSCALL_BASE))

Definition at line 40 of file signal.c.

Function Documentation

asmlinkage int do_work_pending ( struct pt_regs regs,
unsigned int  thread_flags,
int  syscall 
)

Definition at line 638 of file signal.c.

asmlinkage int sys_rt_sigreturn ( struct pt_regs regs)

Definition at line 280 of file signal.c.

asmlinkage int sys_sigaction ( int  sig,
const struct old_sigaction __user act,
struct old_sigaction __user oact 
)

Definition at line 59 of file signal.c.

asmlinkage int sys_sigreturn ( struct pt_regs regs)

Definition at line 250 of file signal.c.

asmlinkage int sys_sigsuspend ( int  restart,
unsigned long  oldmask,
old_sigset_t  mask 
)

Definition at line 51 of file signal.c.

Variable Documentation

const unsigned long sigreturn_codes[7]