Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
signal32.c File Reference
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
#include <linux/compat.h>
#include <linux/bitops.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <asm/ptrace.h>
#include <asm/pgtable.h>
#include <asm/psrcompat.h>
#include <asm/fpumacro.h>
#include <asm/visasm.h>
#include <asm/compat_signal.h>
#include <asm/switch_to.h>
#include "sigutil.h"

Go to the source code of this file.

Data Structures

struct  siginfo_extra_v8plus_t
struct  signal_frame32
struct  rt_signal_frame32
struct  sigstack32


#define SIGINFO_EXTRA_V8PLUS_MAGIC   0x130e269


struct signal_frame32 __attribute__ ((aligned(8)))
 Packet vector entry.
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 do_sigreturn32 (struct pt_regs *regs)
asmlinkage void do_rt_sigreturn32 (struct pt_regs *regs)
void do_signal32 (sigset_t *oldset, struct pt_regs *regs)
asmlinkage int do_sys32_sigstack (u32 u_ssptr, u32 u_ossptr, unsigned long sp)
asmlinkage long do_sys32_sigaltstack (u32 ussa, u32 uossa, unsigned long sp)


struct sparc_stackf32 ss
__siginfo32_t info
u32 fpu_save
unsigned int insns [2]
unsigned int extramask [_COMPAT_NSIG_WORDS-1]
unsigned int extra_size
siginfo_extra_v8plus_t v8plus
u32 rwin_save
struct pt_regs32 regs
compat_sigset_t mask
stack_t32 stack
struct sigstack32 __attribute__

Macro Definition Documentation

#define SIGINFO_EXTRA_V8PLUS_MAGIC   0x130e269

Definition at line 38 of file signal32.c.

Function Documentation

Packet vector entry.

This data structure is used with netio_send_packet_vector() to send multiple packets with one NetIO call. The structure should be initialized by calling netio_pkt_vector_set(), rather than by setting the fields directly.

This structure is guaranteed to be a power of two in size, no bigger than one L2 cache line, and to be aligned modulo its size.

Reserved for use by the user application. When initialized with the netio_set_pkt_vector_entry() function, this field is guaranteed to be visible to readers only after all other fields are already visible. This way it can be used as a valid flag or generation counter.

Low 8 bits of the packet address to send. The high bits are acquired from the 'handle' field.

Number of bytes to transmit.

The raw handle from a netio_pkt_t. If this is NETIO_PKT_HANDLE_NONE, this vector entry will be skipped and no packet will be transmitted.

Definition at line 9 of file extable.c.

int copy_siginfo_from_user32 ( siginfo_t to,
compat_siginfo_t __user from 

Definition at line 127 of file signal32.c.

int copy_siginfo_to_user32 ( compat_siginfo_t __user to,
siginfo_t from 

Definition at line 71 of file signal32.c.

asmlinkage void do_rt_sigreturn32 ( struct pt_regs regs)

Definition at line 230 of file signal32.c.

void do_signal32 ( sigset_t oldset,
struct pt_regs regs 

Definition at line 764 of file signal32.c.

void do_sigreturn32 ( struct pt_regs regs)

Definition at line 140 of file signal32.c.

asmlinkage long do_sys32_sigaltstack ( u32  ussa,
u32  uossa,
unsigned long  sp 

Definition at line 860 of file signal32.c.

asmlinkage int do_sys32_sigstack ( u32  u_ssptr,
u32  u_ossptr,
unsigned long  sp 

Definition at line 817 of file signal32.c.

Variable Documentation

unsigned int extra_size

Definition at line 61 of file signal32.c.

unsigned int extramask[_COMPAT_NSIG_WORDS-1]

Definition at line 60 of file signal32.c.

__siginfo_fpu_t __user * fpu_save

Definition at line 58 of file signal32.c.

Definition at line 57 of file signal32.c.

unsigned long insns ( )

Definition at line 59 of file signal32.c.

compat_sigset_t mask

Definition at line 73 of file signal32.c.

Definition at line 72 of file signal32.c.

__siginfo_rwin_t __user * rwin_save

Definition at line 64 of file signal32.c.

struct sparc_stackf32 ss

Definition at line 56 of file signal32.c.

Definition at line 76 of file signal32.c.

Definition at line 63 of file signal32.c.