Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
signal32.c File Reference
#include <linux/compat.h>
#include <linux/module.h>
#include <linux/unistd.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/syscalls.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include "signal32.h"
#include "sys32.h"

Go to the source code of this file.

Macros

#define DEBUG_COMPAT_SIG   0
 
#define DEBUG_COMPAT_SIG_LEVEL   2
 
#define DBG(LEVEL,...)
 

Functions

void sigset_32to64 (sigset_t *s64, compat_sigset_t *s32)
 
void sigset_64to32 (compat_sigset_t *s32, sigset_t *s64)
 
int sys32_rt_sigprocmask (int how, compat_sigset_t __user *set, compat_sigset_t __user *oset, unsigned int sigsetsize)
 
int sys32_rt_sigpending (compat_sigset_t __user *uset, unsigned int sigsetsize)
 
long sys32_rt_sigaction (int sig, const struct sigaction32 __user *act, struct sigaction32 __user *oact, size_t sigsetsize)
 
int do_sigaltstack32 (const compat_stack_t __user *uss32, compat_stack_t __user *uoss32, unsigned long sp)
 
long restore_sigcontext32 (struct compat_sigcontext __user *sc, struct compat_regfile __user *rf, struct pt_regs *regs)
 
long setup_sigcontext32 (struct compat_sigcontext __user *sc, struct compat_regfile __user *rf, struct pt_regs *regs, int in_syscall)
 
int copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from)
 
int copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from)
 
asmlinkage long compat_sys_rt_sigqueueinfo (int pid, int sig, struct compat_siginfo __user *uinfo)
 

Macro Definition Documentation

#define DBG (   LEVEL,
  ... 
)

Definition at line 47 of file signal32.c.

#define DEBUG_COMPAT_SIG   0

Definition at line 39 of file signal32.c.

#define DEBUG_COMPAT_SIG_LEVEL   2

Definition at line 40 of file signal32.c.

Function Documentation

asmlinkage long compat_sys_rt_sigqueueinfo ( int  pid,
int  sig,
struct compat_siginfo __user uinfo 
)

Definition at line 503 of file signal32.c.

int copy_siginfo_from_user32 ( siginfo_t to,
compat_siginfo_t __user from 
)

Definition at line 402 of file signal32.c.

int copy_siginfo_to_user32 ( compat_siginfo_t __user to,
siginfo_t from 
)

Definition at line 446 of file signal32.c.

int do_sigaltstack32 ( const compat_stack_t __user uss32,
compat_stack_t __user uoss32,
unsigned long  sp 
)

Definition at line 152 of file signal32.c.

long restore_sigcontext32 ( struct compat_sigcontext __user sc,
struct compat_regfile __user rf,
struct pt_regs regs 
)

Definition at line 187 of file signal32.c.

long setup_sigcontext32 ( struct compat_sigcontext __user sc,
struct compat_regfile __user rf,
struct pt_regs regs,
int  in_syscall 
)

Definition at line 266 of file signal32.c.

void sigset_32to64 ( sigset_t s64,
compat_sigset_t *  s32 
)
inline

Definition at line 51 of file signal32.c.

void sigset_64to32 ( compat_sigset_t *  s32,
sigset_t s64 
)
inline

Definition at line 57 of file signal32.c.

long sys32_rt_sigaction ( int  sig,
const struct sigaction32 __user act,
struct sigaction32 __user oact,
size_t  sigsetsize 
)

Definition at line 124 of file signal32.c.

int sys32_rt_sigpending ( compat_sigset_t __user uset,
unsigned int  sigsetsize 
)

Definition at line 110 of file signal32.c.

int sys32_rt_sigprocmask ( int  how,
compat_sigset_t __user set,
compat_sigset_t __user oset,
unsigned int  sigsetsize 
)

Definition at line 91 of file signal32.c.