Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
signal.c File Reference
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/syscalls.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/stddef.h>
#include <linux/highuid.h>
#include <linux/personality.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
#include <linux/module.h>
#include <linux/tracehook.h>
#include <asm/setup.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/traps.h>
#include <asm/ucontext.h>

Go to the source code of this file.

Data Structures

struct  sigframe
 
struct  rt_sigframe
 

Macros

#define FPCONTEXT_SIZE   216
 
#define uc_fpstate   uc_filler[0]
 
#define uc_formatvec   uc_filler[FPCONTEXT_SIZE/4]
 
#define uc_extra   uc_filler[FPCONTEXT_SIZE/4+1]
 
#define frame_offset   (sizeof(struct pt_regs)+sizeof(struct switch_stack))
 

Functions

void ret_from_user_signal (void)
 
void ret_from_user_rt_signal (void)
 
asmlinkage int sys_sigsuspend (int unused0, int unused1, 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)
 
asmlinkage int do_sigreturn (unsigned long __unused)
 
asmlinkage int do_rt_sigreturn (unsigned long __unused)
 
void do_notify_resume (struct pt_regs *regs)
 

Macro Definition Documentation

#define FPCONTEXT_SIZE   216

Definition at line 305 of file signal.c.

#define frame_offset   (sizeof(struct pt_regs)+sizeof(struct switch_stack))
#define uc_extra   uc_filler[FPCONTEXT_SIZE/4+1]

Definition at line 308 of file signal.c.

#define uc_formatvec   uc_filler[FPCONTEXT_SIZE/4]

Definition at line 307 of file signal.c.

#define uc_fpstate   uc_filler[0]

Definition at line 306 of file signal.c.

Function Documentation

void do_notify_resume ( struct pt_regs regs)

Definition at line 1177 of file signal.c.

asmlinkage int do_rt_sigreturn ( unsigned long  __unused)

Definition at line 807 of file signal.c.

asmlinkage int do_sigreturn ( unsigned long  __unused)

Definition at line 780 of file signal.c.

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

Definition at line 238 of file signal.c.

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

Definition at line 270 of file signal.c.

asmlinkage int sys_sigsuspend ( int  unused0,
int  unused1,
old_sigset_t  mask 
)

Definition at line 230 of file signal.c.