Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
signal.c File Reference
#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/personality.h>
#include <linux/suspend.h>
#include <linux/tracehook.h>
#include <asm/cacheflush.h>
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/fpu.h>
#include "sigframe.h"

Go to the source code of this file.

Macros

#define DEBUG_SIG   0
 
#define COPY(x)   err |= __get_user(regs->x, &sc->x)
 
#define USER_EPSW
 
#define COPY(x)   err |= __put_user(regs->x, &sc->x)
 

Functions

asmlinkage long sys_sigsuspend (int history0, int history1, old_sigset_t mask)
 
asmlinkage long sys_sigaction (int sig, const struct old_sigaction __user *act, struct old_sigaction __user *oact)
 
asmlinkage long sys_sigaltstack (const stack_t __user *uss, stack_t *uoss)
 
asmlinkage long sys_sigreturn (void)
 
asmlinkage long sys_rt_sigreturn (void)
 
asmlinkage void do_notify_resume (struct pt_regs *regs, u32 thread_info_flags)
 

Macro Definition Documentation

#define COPY (   x)    err |= __get_user(regs->x, &sc->x)
#define COPY (   x)    err |= __put_user(regs->x, &sc->x)
#define DEBUG_SIG   0

Definition at line 32 of file signal.c.

#define USER_EPSW
Value:
(EPSW_FLAG_Z | EPSW_FLAG_N | EPSW_FLAG_C | EPSW_FLAG_V | \
EPSW_T | EPSW_nAR)

Function Documentation

asmlinkage void do_notify_resume ( struct pt_regs regs,
u32  thread_info_flags 
)

Definition at line 505 of file signal.c.

asmlinkage long sys_rt_sigreturn ( void  )

Definition at line 179 of file signal.c.

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

Definition at line 47 of file signal.c.

asmlinkage long sys_sigaltstack ( const stack_t __user uss,
stack_t uoss 
)

Definition at line 82 of file signal.c.

asmlinkage long sys_sigreturn ( void  )

Definition at line 147 of file signal.c.

asmlinkage long sys_sigsuspend ( int  history0,
int  history1,
old_sigset_t  mask 
)

Definition at line 37 of file signal.c.