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

Go to the source code of this file.

Data Structures

struct  sigframe
 
struct  rt_sigframe
 

Macros

#define GP_REGS_SIZE   min(sizeof(elf_gregset_t), sizeof(struct pt_regs))
 
#define to_user_ptr(p)   ((unsigned long)(p))
 
#define from_user_ptr(p)   ((void __user *)(p))
 
#define tramp   mc_pad
 

Functions

long sys_sigsuspend (old_sigset_t mask)
 
long sys_sigaction (int sig, struct old_sigaction __user *act, struct old_sigaction __user *oact)
 
unsigned long copy_fpr_to_user (void __user *to, struct task_struct *task)
 
unsigned long copy_fpr_from_user (struct task_struct *task, void __user *from)
 
int handle_rt_signal32 (unsigned long sig, struct k_sigaction *ka, siginfo_t *info, sigset_t *oldset, struct pt_regs *regs)
 
long sys_swapcontext (struct ucontext __user *old_ctx, struct ucontext __user *new_ctx, int ctx_size, int r6, int r7, int r8, struct pt_regs *regs)
 
long sys_rt_sigreturn (int r3, int r4, int r5, int r6, int r7, int r8, struct pt_regs *regs)
 
int handle_signal32 (unsigned long sig, struct k_sigaction *ka, siginfo_t *info, sigset_t *oldset, struct pt_regs *regs)
 
long sys_sigreturn (int r3, int r4, int r5, int r6, int r7, int r8, struct pt_regs *regs)
 

Macro Definition Documentation

#define from_user_ptr (   p)    ((void __user *)(p))

Definition at line 215 of file signal_32.c.

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

Definition at line 187 of file signal_32.c.

#define to_user_ptr (   p)    ((unsigned long)(p))

Definition at line 214 of file signal_32.c.

#define tramp   mc_pad

Definition at line 304 of file signal_32.c.

Function Documentation

unsigned long copy_fpr_from_user ( struct task_struct task,
void __user from 
)
inline

Definition at line 392 of file signal_32.c.

unsigned long copy_fpr_to_user ( void __user to,
struct task_struct task 
)
inline

Definition at line 385 of file signal_32.c.

int handle_rt_signal32 ( unsigned long  sig,
struct k_sigaction ka,
siginfo_t info,
sigset_t oldset,
struct pt_regs regs 
)

Definition at line 822 of file signal_32.c.

int handle_signal32 ( unsigned long  sig,
struct k_sigaction ka,
siginfo_t info,
sigset_t oldset,
struct pt_regs regs 
)

Definition at line 1176 of file signal_32.c.

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

Definition at line 1019 of file signal_32.c.

long sys_sigaction ( int  sig,
struct old_sigaction __user act,
struct old_sigaction __user oact 
)

Definition at line 250 of file signal_32.c.

long sys_sigreturn ( int  r3,
int  r4,
int  r5,
int  r6,
int  r7,
int  r8,
struct pt_regs regs 
)

Definition at line 1248 of file signal_32.c.

long sys_sigsuspend ( old_sigset_t  mask)

Definition at line 243 of file signal_32.c.

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

Definition at line 928 of file signal_32.c.