Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
signal_64.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/elf.h>
#include <linux/ptrace.h>
#include <linux/ratelimit.h>
#include <asm/sigcontext.h>
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/unistd.h>
#include <asm/cacheflush.h>
#include <asm/syscalls.h>
#include <asm/vdso.h>
#include <asm/switch_to.h>
#include "signal.h"

Go to the source code of this file.

Data Structures

struct  rt_sigframe


#define DEBUG_SIG   0
#define GP_REGS_SIZE   min(sizeof(elf_gregset_t), sizeof(struct pt_regs))
#define FP_REGS_SIZE   sizeof(elf_fpregset_t)
#define TRAMP_SIZE   6
#define UCONTEXTSIZEWITHOUTVSX   (sizeof(struct ucontext) - 32*sizeof(long))


struct rt_sigframe __attribute__ ((aligned(16)))
int sys_swapcontext (struct ucontext __user *old_ctx, struct ucontext __user *new_ctx, long ctx_size, long r6, long r7, long r8, struct pt_regs *regs)
int sys_rt_sigreturn (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, unsigned long r8, struct pt_regs *regs)
int handle_rt_signal64 (int signr, struct k_sigaction *ka, siginfo_t *info, sigset_t *set, struct pt_regs *regs)


struct ucontext uc
unsigned long _unused [2]
unsigned int tramp [TRAMP_SIZE]
struct siginfo __userpinfo
void __userpuc
struct siginfo info
char abigap [288]

Macro Definition Documentation

#define DEBUG_SIG   0

Definition at line 40 of file signal_64.c.

#define FP_REGS_SIZE   sizeof(elf_fpregset_t)

Definition at line 43 of file signal_64.c.

#define GP_REGS_SIZE   min(sizeof(elf_gregset_t), sizeof(struct pt_regs))

Definition at line 42 of file signal_64.c.

#define TRAMP_SIZE   6

Definition at line 46 of file signal_64.c.


Definition at line 45 of file signal_64.c.

#define UCONTEXTSIZEWITHOUTVSX   (sizeof(struct ucontext) - 32*sizeof(long))

Definition at line 274 of file signal_64.c.

Function Documentation

int handle_rt_signal64 ( int  signr,
struct k_sigaction ka,
siginfo_t info,
sigset_t set,
struct pt_regs regs 

Definition at line 393 of file signal_64.c.

int sys_rt_sigreturn ( unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
unsigned long  r8,
struct pt_regs regs 

Definition at line 352 of file signal_64.c.

int sys_swapcontext ( struct ucontext __user old_ctx,
struct ucontext __user new_ctx,
long  ctx_size,
long  r6,
long  r7,
long  r8,
struct pt_regs regs 

Definition at line 280 of file signal_64.c.

Variable Documentation

unsigned long _unused[2]

Definition at line 69 of file signal_64.c.

char abigap[288]

Definition at line 75 of file signal_64.c.

Definition at line 73 of file signal_64.c.

Definition at line 71 of file signal_64.c.

void __user* puc

Definition at line 72 of file signal_64.c.

unsigned int tramp[TRAMP_SIZE]

Definition at line 70 of file signal_64.c.

Definition at line 68 of file signal_64.c.