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/compat.h>
#include <linux/signal.h>
#include <linux/syscalls.h>
#include <linux/ratelimit.h>
#include <asm/fpsimd.h>
#include <asm/signal32.h>
#include <asm/uaccess.h>
#include <asm/unistd32.h>

Go to the source code of this file.

Data Structures

struct  compat_sigaction
 
struct  compat_old_sigaction
 
struct  compat_sigaltstack
 
struct  compat_sigcontext
 
struct  compat_ucontext
 
struct  compat_vfp_sigframe
 
struct  compat_vfp_sigframe::compat_user_vfp
 
struct  compat_vfp_sigframe::compat_user_vfp_exc
 
struct  compat_user_vfp
 
struct  compat_user_vfp_exc
 
struct  compat_aux_sigframe
 
struct  compat_sigframe
 
struct  compat_rt_sigframe
 

Macros

#define VFP_MAGIC   0x56465001
 
#define VFP_STORAGE_SIZE   sizeof(struct compat_vfp_sigframe)
 
#define _BLOCKABLE   (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
 
#define MOV_R7_NR_SIGRETURN   (0xe3a07000 | __NR_compat_sigreturn)
 
#define SVC_SYS_SIGRETURN   (0xef000000 | __NR_compat_sigreturn)
 
#define MOV_R7_NR_RT_SIGRETURN   (0xe3a07000 | __NR_compat_rt_sigreturn)
 
#define SVC_SYS_RT_SIGRETURN   (0xef000000 | __NR_compat_rt_sigreturn)
 
#define SVC_THUMB_SIGRETURN
 
#define SVC_THUMB_RT_SIGRETURN
 

Typedefs

typedef struct compat_sigaltstack compat_stack_t
 

Functions

struct compat_vfp_sigframe __attribute__ ((__aligned__(8)))
 
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 int compat_sys_sigsuspend (int restart, compat_ulong_t oldmask, compat_old_sigset_t mask)
 
asmlinkage int compat_sys_sigaction (int sig, const struct compat_old_sigaction __user *act, struct compat_old_sigaction __user *oact)
 
asmlinkage int compat_sys_rt_sigaction (int sig, const struct compat_sigaction __user *act, struct compat_sigaction __user *oact, compat_size_t sigsetsize)
 
int compat_do_sigaltstack (compat_uptr_t compat_uss, compat_uptr_t compat_uoss, compat_ulong_t sp)
 
asmlinkage int compat_sys_sigreturn (struct pt_regs *regs)
 
asmlinkage int compat_sys_rt_sigreturn (struct pt_regs *regs)
 
int compat_setup_rt_frame (int usig, struct k_sigaction *ka, siginfo_t *info, sigset_t *set, struct pt_regs *regs)
 
int compat_setup_frame (int usig, struct k_sigaction *ka, sigset_t *set, struct pt_regs *regs)
 
asmlinkage int compat_sys_rt_sigprocmask (int how, compat_sigset_t __user *set, compat_sigset_t __user *oset, compat_size_t sigsetsize)
 
asmlinkage int compat_sys_rt_sigpending (compat_sigset_t __user *set, compat_size_t sigsetsize)
 
asmlinkage int compat_sys_rt_sigqueueinfo (int pid, int sig, compat_siginfo_t __user *uinfo)
 
void compat_setup_restart_syscall (struct pt_regs *regs)
 

Variables

compat_ulong_t magic
 
compat_ulong_t size
 
struct compat_user_vfp ufp
 
struct compat_user_vfp_exc ufp_exc
 
struct compat_vfp_sigframe vfp
 
unsigned long end_magic
 
struct compat_sigframe __attribute__
 
const compat_ulong_t aarch32_sigret_code [6]
 

Macro Definition Documentation

#define _BLOCKABLE   (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))

Definition at line 121 of file signal32.c.

#define MOV_R7_NR_RT_SIGRETURN   (0xe3a07000 | __NR_compat_rt_sigreturn)

Definition at line 129 of file signal32.c.

#define MOV_R7_NR_SIGRETURN   (0xe3a07000 | __NR_compat_sigreturn)

Definition at line 127 of file signal32.c.

#define SVC_SYS_RT_SIGRETURN   (0xef000000 | __NR_compat_rt_sigreturn)

Definition at line 130 of file signal32.c.

#define SVC_SYS_SIGRETURN   (0xef000000 | __NR_compat_sigreturn)

Definition at line 128 of file signal32.c.

#define SVC_THUMB_RT_SIGRETURN
Value:
(((0xdf00 | __NR_compat_rt_sigreturn) << 16) | \

Definition at line 138 of file signal32.c.

#define SVC_THUMB_SIGRETURN
Value:
(((0xdf00 | __NR_compat_sigreturn) << 16) | \

Definition at line 136 of file signal32.c.

#define VFP_MAGIC   0x56465001

Definition at line 101 of file signal32.c.

#define VFP_STORAGE_SIZE   sizeof(struct compat_vfp_sigframe)

Definition at line 102 of file signal32.c.

Typedef Documentation

Function Documentation

struct compat_vfp_sigframe __attribute__ ( (__aligned__(8))  )
int compat_do_sigaltstack ( compat_uptr_t  compat_uss,
compat_uptr_t  compat_uoss,
compat_ulong_t  sp 
)

Definition at line 426 of file signal32.c.

int compat_setup_frame ( int  usig,
struct k_sigaction ka,
sigset_t set,
struct pt_regs regs 
)

Definition at line 729 of file signal32.c.

void compat_setup_restart_syscall ( struct pt_regs regs)

Definition at line 818 of file signal32.c.

int compat_setup_rt_frame ( int  usig,
struct k_sigaction ka,
siginfo_t info,
sigset_t set,
struct pt_regs regs 
)

Definition at line 693 of file signal32.c.

asmlinkage int compat_sys_rt_sigaction ( int  sig,
const struct compat_sigaction __user act,
struct compat_sigaction __user oact,
compat_size_t  sigsetsize 
)

Definition at line 392 of file signal32.c.

asmlinkage int compat_sys_rt_sigpending ( compat_sigset_t __user set,
compat_size_t  sigsetsize 
)

Definition at line 782 of file signal32.c.

asmlinkage int compat_sys_rt_sigprocmask ( int  how,
compat_sigset_t __user set,
compat_sigset_t __user oset,
compat_size_t  sigsetsize 
)

Definition at line 753 of file signal32.c.

asmlinkage int compat_sys_rt_sigqueueinfo ( int  pid,
int  sig,
compat_siginfo_t __user uinfo 
)

Definition at line 800 of file signal32.c.

asmlinkage int compat_sys_rt_sigreturn ( struct pt_regs regs)

Definition at line 542 of file signal32.c.

asmlinkage int compat_sys_sigaction ( int  sig,
const struct compat_old_sigaction __user act,
struct compat_old_sigaction __user oact 
)

Definition at line 354 of file signal32.c.

asmlinkage int compat_sys_sigreturn ( struct pt_regs regs)

Definition at line 508 of file signal32.c.

asmlinkage int compat_sys_sigsuspend ( int  restart,
compat_ulong_t  oldmask,
compat_old_sigset_t  mask 
)

Definition at line 345 of file signal32.c.

int copy_siginfo_from_user32 ( siginfo_t to,
compat_siginfo_t __user from 
)

Definition at line 242 of file signal32.c.

int copy_siginfo_to_user32 ( compat_siginfo_t __user to,
siginfo_t from 
)

Definition at line 173 of file signal32.c.

Variable Documentation

const compat_ulong_t aarch32_sigret_code[6]
unsigned long end_magic

Definition at line 113 of file signal32.c.

Definition at line 100 of file signal32.c.

Definition at line 101 of file signal32.c.

Definition at line 110 of file signal32.c.