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/errno.h>
#include <linux/signal.h>
#include <linux/personality.h>
#include <linux/uaccess.h>
#include <linux/tracehook.h>
#include <linux/elf.h>
#include <linux/unistd.h>
#include <asm/cacheflush.h>
#include <asm/ucontext.h>

Go to the source code of this file.

Data Structures

struct  sigframe
 
struct  rt_sigframe
 

Macros

#define SWI_SYS_SIGRETURN   (0xff000000) /* error number for new abi */
 
#define SWI_SYS_RT_SIGRETURN   (0xff000000 | (__NR_rt_sigreturn))
 
#define SWI_SYS_RESTART   (0xff000000 | (__NR_restart_syscall))
 
#define KERN_SIGRETURN_CODE   (KUSER_VECPAGE_BASE + 0x00000500)
 
#define KERN_RESTART_CODE   (KERN_SIGRETURN_CODE + sizeof(sigreturn_codes))
 

Functions

asmlinkage int __sys_rt_sigreturn (struct pt_regs *regs)
 
asmlinkage void do_notify_resume (struct pt_regs *regs, unsigned int thread_flags, int syscall)
 
void __init early_signal_init (void)
 

Variables

const unsigned long sigreturn_codes [3]
 
const unsigned long syscall_restart_code [2]
 

Macro Definition Documentation

#define KERN_RESTART_CODE   (KERN_SIGRETURN_CODE + sizeof(sigreturn_codes))

Definition at line 31 of file signal.c.

#define KERN_SIGRETURN_CODE   (KUSER_VECPAGE_BASE + 0x00000500)

Definition at line 30 of file signal.c.

#define SWI_SYS_RESTART   (0xff000000 | (__NR_restart_syscall))

Definition at line 28 of file signal.c.

#define SWI_SYS_RT_SIGRETURN   (0xff000000 | (__NR_rt_sigreturn))

Definition at line 27 of file signal.c.

#define SWI_SYS_SIGRETURN   (0xff000000) /* error number for new abi */

Definition at line 26 of file signal.c.

Function Documentation

asmlinkage int __sys_rt_sigreturn ( struct pt_regs regs)

Definition at line 103 of file signal.c.

asmlinkage void do_notify_resume ( struct pt_regs regs,
unsigned int  thread_flags,
int  syscall 
)

Definition at line 426 of file signal.c.

void __init early_signal_init ( void  )

Definition at line 442 of file signal.c.

Variable Documentation

const unsigned long sigreturn_codes[3]
Initial value:

Definition at line 33 of file signal.c.

const unsigned long syscall_restart_code[2]
Initial value:
= {
0x69efc004,
}

Definition at line 37 of file signal.c.