Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
signal.c File Reference
#include <stdlib.h>
#include <stdarg.h>
#include <errno.h>
#include <signal.h>
#include <strings.h>
#include <as-layout.h>
#include <kern_util.h>
#include <os.h>
#include <sysdep/mcontext.h>
#include "internal.h"

Go to the source code of this file.


#define SIGIO_BIT   0
#define SIGIO_MASK   (1 << SIGIO_BIT)
#define SIGVTALRM_BIT   1


void sig_handler (int sig, siginfo_t *si, mcontext_t *mc)
void alarm_handler (int sig, struct siginfo *unused_si, mcontext_t *mc)
void timer_init (void)
void set_sigstack (void *sig_stack, int size)
void set_handler (int sig)
int change_sig (int signal, int on)
void block_signals (void)
void unblock_signals (void)
int get_signals (void)
int set_signals (int enable)


void(* sig_info [NSIG])(int, siginfo_t *, struct uml_pt_regs *)

Macro Definition Documentation

#define SIGIO_BIT   0

Definition at line 55 of file signal.c.

#define SIGIO_MASK   (1 << SIGIO_BIT)

Definition at line 56 of file signal.c.

#define SIGVTALRM_BIT   1

Definition at line 58 of file signal.c.


Definition at line 59 of file signal.c.

Function Documentation

void alarm_handler ( int  sig,
struct siginfo unused_si,
mcontext_t mc 

Definition at line 92 of file signal.c.

void block_signals ( void  )

Definition at line 222 of file signal.c.

int change_sig ( int  signal,
int  on 

Definition at line 210 of file signal.c.

int get_signals ( void  )

Definition at line 289 of file signal.c.

void set_handler ( int  sig)

Definition at line 179 of file signal.c.

int set_signals ( int  enable)

Definition at line 294 of file signal.c.

void set_sigstack ( void sig_stack,
int  size 

Definition at line 113 of file signal.c.

void sig_handler ( int  sig,
siginfo_t si,
mcontext_t mc 

Definition at line 64 of file signal.c.

void timer_init ( void  )

Definition at line 108 of file signal.c.

void unblock_signals ( void  )

Definition at line 234 of file signal.c.

Variable Documentation

void(* sig_info[NSIG])(int, siginfo_t *, struct uml_pt_regs *)
Initial value:

Definition at line 18 of file signal.c.