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/sched.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/mm.h>
#include <linux/smp.h>
#include <linux/stddef.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
#include <linux/bitops.h>
#include <linux/syscalls.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <asm/sigcontext.h>
#include <asm/ucontext.h>
#include "proto.h"

Go to the source code of this file.

Data Structures

struct  sigframe
 
struct  rt_sigframe
 

Macros

#define DEBUG_SIG   0
 
#define _BLOCKABLE   (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
 
#define INSN_MOV_R30_R16   0x47fe0410
 
#define INSN_LDI_R0   0x201f0000
 
#define INSN_CALLSYS   0x00000083
 

Functions

asmlinkage void ret_from_sys_call (void)
 
 SYSCALL_DEFINE2 (osf_sigprocmask, int, how, unsigned long, newmask)
 
 SYSCALL_DEFINE3 (osf_sigaction, int, sig, const struct osf_sigaction __user *, act, struct osf_sigaction __user *, oact)
 
 SYSCALL_DEFINE5 (rt_sigaction, int, sig, const struct sigaction __user *, act, struct sigaction __user *, oact, size_t, sigsetsize, void __user *, restorer)
 
 SYSCALL_DEFINE1 (sigsuspend, old_sigset_t, mask)
 
asmlinkage int sys_sigaltstack (const stack_t __user *uss, stack_t __user *uoss)
 
asmlinkage void do_sigreturn (struct sigcontext __user *sc, struct pt_regs *regs, struct switch_stack *sw)
 
asmlinkage void do_rt_sigreturn (struct rt_sigframe __user *frame, struct pt_regs *regs, struct switch_stack *sw)
 
void do_work_pending (struct pt_regs *regs, unsigned long thread_flags, unsigned long r0, unsigned long r19)
 

Variables

char compile_time_assert [offsetof(struct rt_sigframe, uc.uc_mcontext)==176?1:-1]
 

Macro Definition Documentation

#define _BLOCKABLE   (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))

Definition at line 34 of file signal.c.

#define DEBUG_SIG   0

Definition at line 32 of file signal.c.

#define INSN_CALLSYS   0x00000083

Definition at line 160 of file signal.c.

#define INSN_LDI_R0   0x201f0000

Definition at line 159 of file signal.c.

#define INSN_MOV_R30_R16   0x47fe0410

Definition at line 158 of file signal.c.

Function Documentation

asmlinkage void do_rt_sigreturn ( struct rt_sigframe __user frame,
struct pt_regs regs,
struct switch_stack sw 
)

Definition at line 252 of file signal.c.

asmlinkage void do_sigreturn ( struct sigcontext __user sc,
struct pt_regs regs,
struct switch_stack sw 
)

Definition at line 218 of file signal.c.

void do_work_pending ( struct pt_regs regs,
unsigned long  thread_flags,
unsigned long  r0,
unsigned long  r19 
)

Definition at line 571 of file signal.c.

asmlinkage void ret_from_sys_call ( void  )
asmlinkage int sys_sigaltstack ( const stack_t __user uss,
stack_t __user uoss 
)

Definition at line 126 of file signal.c.

SYSCALL_DEFINE1 ( sigsuspend  ,
old_sigset_t  ,
mask   
)

Definition at line 118 of file signal.c.

SYSCALL_DEFINE2 ( osf_sigprocmask  ,
int  ,
how  ,
unsigned  long,
newmask   
)

Definition at line 42 of file signal.c.

SYSCALL_DEFINE3 ( osf_sigaction  ,
int  ,
sig  ,
const struct osf_sigaction __user ,
act  ,
struct osf_sigaction __user ,
oact   
)

Definition at line 57 of file signal.c.

SYSCALL_DEFINE5 ( rt_sigaction  ,
int  ,
sig  ,
const struct sigaction __user ,
act  ,
struct sigaction __user ,
oact  ,
size_t  ,
sigsetsize  ,
void __user ,
restorer   
)

Definition at line 88 of file signal.c.

Variable Documentation

char compile_time_assert[offsetof(struct rt_sigframe, uc.uc_mcontext)==176?1:-1]