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/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/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


#define COPY(r)   err |= __get_user(regs->r, &usc->sc_##r) /* restore passed registers */


asmlinkage int sys_sigsuspend (int unused1, int unused2, old_sigset_t mask)
asmlinkage int sys_sigaction (int sig, const struct old_sigaction *act, struct old_sigaction *oact)
asmlinkage int sys_sigaltstack (const stack_t *uss, stack_t *uoss)
struct sigframe __attribute__ ((aligned(2), packed))
asmlinkage int do_sigreturn (unsigned long __unused,...)
asmlinkage int do_rt_sigreturn (unsigned long __unused,...)
asmlinkage void do_notify_resume (struct pt_regs *regs, u32 thread_info_flags)


long dummy_er0
long dummy_vector
long dummy_pc
unsigned char retcode [8]
unsigned long extramask [_NSIG_WORDS-1]
struct sigcontext sc
int sig
struct siginfopinfo
struct siginfo info
struct ucontext uc

Macro Definition Documentation

#define COPY (   r)    err |= __get_user(regs->r, &usc->sc_##r) /* restore passed registers */

Function Documentation

struct sigframe __attribute__ ( (aligned(2), packed)  )
asmlinkage void do_notify_resume ( struct pt_regs regs,
u32  thread_info_flags 

Definition at line 491 of file signal.c.

asmlinkage int do_rt_sigreturn ( unsigned long  __unused,

Definition at line 197 of file signal.c.

asmlinkage int do_sigreturn ( unsigned long  __unused,

Definition at line 170 of file signal.c.

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

Definition at line 61 of file signal.c.

asmlinkage int sys_sigaltstack ( const stack_t uss,
stack_t uoss 

Definition at line 93 of file signal.c.

asmlinkage int sys_sigsuspend ( int  unused1,
int  unused2,
old_sigset_t  mask 

Definition at line 53 of file signal.c.

Variable Documentation

long dummy_er0

Definition at line 120 of file signal.c.

long dummy_pc

Definition at line 125 of file signal.c.

long dummy_vector

Definition at line 121 of file signal.c.

unsigned long extramask[_NSIG_WORDS-1]

Definition at line 128 of file signal.c.

Definition at line 147 of file signal.c.

struct siginfo* pinfo

Definition at line 144 of file signal.c.

char * pretcode

Definition at line 126 of file signal.c.

void* puc

Definition at line 145 of file signal.c.

unsigned char retcode

Definition at line 127 of file signal.c.

Definition at line 129 of file signal.c.

char sig

Definition at line 130 of file signal.c.

Definition at line 148 of file signal.c.