Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
signal32.h File Reference
#include <linux/compat.h>

Go to the source code of this file.

Data Structures

struct  compat_sigaltstack
 
struct  compat_sigaction
 
struct  compat_ucontext
 
struct  k_sigaction32
 
struct  compat_regfile
 
struct  compat_rt_sigframe
 

Macros

#define COMPAT_SIGRETURN_TRAMP   4
 
#define COMPAT_SIGRESTARTBLOCK_TRAMP   5
 
#define COMPAT_TRAMP_SIZE
 
#define SIGFRAME32   64
 
#define FUNCTIONCALLFRAME32   48
 
#define PARISC_RT_SIGFRAME_SIZE32   (((sizeof(struct compat_rt_sigframe) + FUNCTIONCALLFRAME32) + SIGFRAME32) & -SIGFRAME32)
 

Typedefs

typedef compat_uptr_t compat_sighandler_t
 
typedef struct compat_sigaltstack compat_stack_t
 

Functions

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)
 
void sigset_32to64 (sigset_t *s64, compat_sigset_t *s32)
 
void sigset_64to32 (compat_sigset_t *s32, sigset_t *s64)
 
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)
 

Macro Definition Documentation

#define COMPAT_SIGRESTARTBLOCK_TRAMP   5

Definition at line 77 of file signal32.h.

#define COMPAT_SIGRETURN_TRAMP   4

Definition at line 76 of file signal32.h.

#define COMPAT_TRAMP_SIZE
Value:
COMPAT_SIGRESTARTBLOCK_TRAMP)

Definition at line 78 of file signal32.h.

#define FUNCTIONCALLFRAME32   48

Definition at line 100 of file signal32.h.

#define PARISC_RT_SIGFRAME_SIZE32   (((sizeof(struct compat_rt_sigframe) + FUNCTIONCALLFRAME32) + SIGFRAME32) & -SIGFRAME32)

Definition at line 101 of file signal32.h.

#define SIGFRAME32   64

Definition at line 99 of file signal32.h.

Typedef Documentation

Definition at line 24 of file signal32.h.

Function Documentation

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.

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.