2008-06-20 01:26:19 +07:00
|
|
|
#ifndef _COMPAT_SIGNAL_H
|
|
|
|
#define _COMPAT_SIGNAL_H
|
|
|
|
|
|
|
|
#include <linux/compat.h>
|
|
|
|
#include <asm/signal.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
|
|
struct __new_sigaction32 {
|
2016-03-11 06:21:43 +07:00
|
|
|
unsigned int sa_handler;
|
2008-06-20 01:26:19 +07:00
|
|
|
unsigned int sa_flags;
|
2016-03-11 06:21:43 +07:00
|
|
|
unsigned int sa_restorer; /* not used by Linux/SPARC yet */
|
2008-06-20 01:26:19 +07:00
|
|
|
compat_sigset_t sa_mask;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct __old_sigaction32 {
|
2016-03-11 06:21:43 +07:00
|
|
|
unsigned int sa_handler;
|
2008-06-20 01:26:19 +07:00
|
|
|
compat_old_sigset_t sa_mask;
|
|
|
|
unsigned int sa_flags;
|
2016-03-11 06:21:43 +07:00
|
|
|
unsigned int sa_restorer; /* not used by Linux/SPARC yet */
|
2008-06-20 01:26:19 +07:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* !(_COMPAT_SIGNAL_H) */
|