Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
signal32.c File Reference
#include <linux/cache.h>
#include <linux/compat.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.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/suspend.h>
#include <linux/compiler.h>
#include <linux/uaccess.h>
#include <asm/abi.h>
#include <asm/asm.h>
#include <asm/compat-signal.h>
#include <linux/bitops.h>
#include <asm/cacheflush.h>
#include <asm/sim.h>
#include <asm/ucontext.h>
#include <asm/fpu.h>
#include <asm/war.h>
#include <asm/vdso.h>
#include <asm/dsp.h>
#include "signal-common.h"

Go to the source code of this file.

Data Structures

struct  sigaction32
 
struct  sigaltstack32
 
struct  ucontext32
 
struct  sigframe32
 
struct  rt_sigframe32
 

Macros

#define __NR_O32_restart_syscall   4253
 

Typedefs

typedef unsigned int __sighandler32_t
 
typedef void(* vfptr_t )(void)
 
typedef struct sigaltstack32 stack32_t
 

Functions

asmlinkage int _save_fp_context32 (struct sigcontext32 __user *sc)
 
asmlinkage int _restore_fp_context32 (struct sigcontext32 __user *sc)
 
asmlinkage int fpu_emulator_save_context32 (struct sigcontext32 __user *sc)
 
asmlinkage int fpu_emulator_restore_context32 (struct sigcontext32 __user *sc)
 
void __put_sigset_unknown_nsig (void)
 
void __get_sigset_unknown_nsig (void)
 
asmlinkage int sys32_sigsuspend (nabi_no_regargs struct pt_regs regs)
 
asmlinkage int sys32_rt_sigsuspend (nabi_no_regargs struct pt_regs regs)
 
 SYSCALL_DEFINE3 (32_sigaction, long, sig, const struct sigaction32 __user *, act, struct sigaction32 __user *, oact)
 
asmlinkage int sys32_sigaltstack (nabi_no_regargs struct pt_regs regs)
 
int copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from)
 
int copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from)
 
asmlinkage void sys32_sigreturn (nabi_no_regargs struct pt_regs regs)
 
asmlinkage void sys32_rt_sigreturn (nabi_no_regargs struct pt_regs regs)
 
 SYSCALL_DEFINE4 (32_rt_sigaction, int, sig, const struct sigaction32 __user *, act, struct sigaction32 __user *, oact, unsigned int, sigsetsize)
 
 SYSCALL_DEFINE4 (32_rt_sigprocmask, int, how, compat_sigset_t __user *, set, compat_sigset_t __user *, oset, unsigned int, sigsetsize)
 
 SYSCALL_DEFINE2 (32_rt_sigpending, compat_sigset_t __user *, uset, unsigned int, sigsetsize)
 
 SYSCALL_DEFINE3 (32_rt_sigqueueinfo, int, pid, int, sig, compat_siginfo_t __user *, uinfo)
 
 SYSCALL_DEFINE5 (32_waitid, int, which, compat_pid_t, pid, compat_siginfo_t __user *, uinfo, int, options, struct compat_rusage __user *, uru)
 
 arch_initcall (signal32_init)
 

Variables

struct mips_abi mips_abi_32
 

Macro Definition Documentation

#define __NR_O32_restart_syscall   4253

Definition at line 51 of file signal32.c.

Typedef Documentation

typedef unsigned int __sighandler32_t

Definition at line 55 of file signal32.c.

typedef void(* vfptr_t)(void)

Definition at line 56 of file signal32.c.

Function Documentation

void __get_sigset_unknown_nsig ( void  )
void __put_sigset_unknown_nsig ( void  )
asmlinkage int _restore_fp_context32 ( struct sigcontext32 __user sc)
asmlinkage int _save_fp_context32 ( struct sigcontext32 __user sc)
arch_initcall ( signal32_init  )
int copy_siginfo_from_user32 ( siginfo_t to,
compat_siginfo_t __user from 
)

Definition at line 444 of file signal32.c.

int copy_siginfo_to_user32 ( compat_siginfo_t __user to,
siginfo_t from 
)

Definition at line 392 of file signal32.c.

asmlinkage int fpu_emulator_restore_context32 ( struct sigcontext32 __user sc)
asmlinkage int fpu_emulator_save_context32 ( struct sigcontext32 __user sc)
asmlinkage void sys32_rt_sigreturn ( nabi_no_regargs struct pt_regs  regs)

Definition at line 490 of file signal32.c.

asmlinkage int sys32_rt_sigsuspend ( nabi_no_regargs struct pt_regs  regs)

Definition at line 294 of file signal32.c.

asmlinkage int sys32_sigaltstack ( nabi_no_regargs struct pt_regs  regs)

Definition at line 353 of file signal32.c.

asmlinkage void sys32_sigreturn ( nabi_no_regargs struct pt_regs  regs)

Definition at line 456 of file signal32.c.

asmlinkage int sys32_sigsuspend ( nabi_no_regargs struct pt_regs  regs)

Definition at line 283 of file signal32.c.

SYSCALL_DEFINE2 ( 32_rt_sigpending  ,
compat_sigset_t __user ,
uset  ,
unsigned  int,
sigsetsize   
)

Definition at line 725 of file signal32.c.

SYSCALL_DEFINE3 ( 32_sigaction  ,
long  ,
sig  ,
const struct sigaction32 __user ,
act  ,
struct sigaction32 __user ,
oact   
)

Definition at line 311 of file signal32.c.

SYSCALL_DEFINE3 ( 32_rt_sigqueueinfo  ,
int  ,
pid  ,
int  ,
sig  ,
compat_siginfo_t __user ,
uinfo   
)

Definition at line 742 of file signal32.c.

SYSCALL_DEFINE4 ( 32_rt_sigaction  ,
int  ,
sig  ,
const struct sigaction32 __user ,
act  ,
struct sigaction32 __user ,
oact  ,
unsigned  int,
sigsetsize   
)

Definition at line 659 of file signal32.c.

SYSCALL_DEFINE4 ( 32_rt_sigprocmask  ,
int  ,
how  ,
compat_sigset_t __user ,
set  ,
compat_sigset_t __user ,
oset  ,
unsigned  int,
sigsetsize   
)

Definition at line 703 of file signal32.c.

SYSCALL_DEFINE5 ( 32_waitid  ,
int  ,
which  ,
compat_pid_t  ,
pid  ,
compat_siginfo_t __user ,
uinfo  ,
int  ,
options  ,
struct compat_rusage __user ,
uru   
)

Definition at line 758 of file signal32.c.

Variable Documentation

struct mips_abi mips_abi_32
Initial value:
= {
.setup_frame = setup_frame_32,
.signal_return_offset =
offsetof(struct mips_vdso, o32_signal_trampoline),
.setup_rt_frame = setup_rt_frame_32,
.rt_signal_return_offset =
offsetof(struct mips_vdso, o32_rt_signal_trampoline),
}

Definition at line 649 of file signal32.c.