mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
2000-04-07 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for newer kernels.
This commit is contained in:
@ -4,10 +4,7 @@
|
|||||||
|
|
||||||
#define HAVE_SA_RESTORER
|
#define HAVE_SA_RESTORER
|
||||||
|
|
||||||
/* Linux/MIPS still uses the old sigaction structure in the kernel. */
|
struct old_kernel_sigaction {
|
||||||
#define old_kernel_sigaction kernel_sigaction
|
|
||||||
|
|
||||||
struct kernel_sigaction {
|
|
||||||
unsigned int sa_flags;
|
unsigned int sa_flags;
|
||||||
__sighandler_t k_sa_handler;
|
__sighandler_t k_sa_handler;
|
||||||
unsigned long sa_mask;
|
unsigned long sa_mask;
|
||||||
@ -23,3 +20,12 @@ struct kernel_sigaction {
|
|||||||
int pad1[1]; /* reserved */
|
int pad1[1]; /* reserved */
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* This is the sigaction structure from the Linux 2.1.68 kernel. */
|
||||||
|
struct kernel_sigaction {
|
||||||
|
unsigned int sa_flags;
|
||||||
|
__sighandler_t k_sa_handler;
|
||||||
|
sigset_t sa_mask;
|
||||||
|
void (*sa_restorer)(void);
|
||||||
|
int s_resv[1]; /* reserved */
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user