Blame sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h
|
Packit |
6c4009 |
#ifndef _KERNEL_SIGACTION_H
|
|
Packit |
6c4009 |
# define _KERNEL_SIGACTION_H
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#include <signal.h>
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#define SA_RESTORER 0x04000000
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* This is the sigaction structure from the Linux 3.2 kernel. */
|
|
Packit |
6c4009 |
struct kernel_sigaction
|
|
Packit |
6c4009 |
{
|
|
Packit |
6c4009 |
__sighandler_t k_sa_handler;
|
|
Packit |
6c4009 |
sigset_t sa_mask;
|
|
Packit |
6c4009 |
unsigned long sa_flags;
|
|
Packit |
6c4009 |
void (*sa_restorer) (void);
|
|
Packit |
6c4009 |
};
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#define SET_SA_RESTORER(kact, act) \
|
|
Packit |
6c4009 |
(kact)->sa_restorer = (act)->sa_restorer
|
|
Packit |
6c4009 |
#define RESET_SA_RESTORER(act, kact) \
|
|
Packit |
6c4009 |
(act)->sa_restorer = (kact)->sa_restorer
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#endif
|