Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
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/unistd.h>
#include <linux/stddef.h>
#include <linux/personality.h>
#include <linux/suspend.h>
#include <linux/ptrace.h>
#include <linux/elf.h>
#include <linux/compat.h>
#include <linux/syscalls.h>
#include <linux/uaccess.h>
#include <asm/processor.h>
#include <asm/ucontext.h>
#include <asm/sigframe.h>
#include <asm/syscalls.h>
#include <arch/interrupts.h>

Go to the source code of this file.

Macros

#define DEBUG_SIG   0
 

Functions

 SYSCALL_DEFINE3 (sigaltstack, const stack_t __user *, uss, stack_t __user *, uoss, struct pt_regs *, regs)
 
int restore_sigcontext (struct pt_regs *regs, struct sigcontext __user *sc)
 
void signal_fault (const char *type, struct pt_regs *regs, void __user *frame, int sig)
 
 SYSCALL_DEFINE1 (rt_sigreturn, struct pt_regs *, regs)
 
int setup_sigcontext (struct sigcontext __user *sc, struct pt_regs *regs)
 
void do_signal (struct pt_regs *regs)
 
 __setup ("crashinfo", crashinfo)
 
void trace_unhandled_signal (const char *type, struct pt_regs *regs, unsigned long address, int sig)
 

Variables

int show_unhandled_signals = 1
 

Macro Definition Documentation

#define DEBUG_SIG   0

Definition at line 38 of file signal.c.

Function Documentation

__setup ( "crashinfo"  ,
crashinfo   
)
void do_signal ( struct pt_regs regs)

Definition at line 281 of file signal.c.

int restore_sigcontext ( struct pt_regs regs,
struct sigcontext __user sc 
)

Definition at line 51 of file signal.c.

int setup_sigcontext ( struct sigcontext __user sc,
struct pt_regs regs 
)

Definition at line 116 of file signal.c.

void signal_fault ( const char type,
struct pt_regs regs,
void __user frame,
int  sig 
)

Definition at line 78 of file signal.c.

SYSCALL_DEFINE1 ( rt_sigreturn  ,
struct pt_regs ,
regs   
)

Definition at line 86 of file signal.c.

SYSCALL_DEFINE3 ( sigaltstack  ,
const stack_t __user ,
uss  ,
stack_t __user ,
uoss  ,
struct pt_regs ,
regs   
)

Definition at line 40 of file signal.c.

void trace_unhandled_signal ( const char type,
struct pt_regs regs,
unsigned long  address,
int  sig 
)

Definition at line 396 of file signal.c.

Variable Documentation

int show_unhandled_signals = 1

Definition at line 329 of file signal.c.