From: Andreas Jaeger Date: Fri, 7 Apr 2000 20:07:21 +0000 (+0000) Subject: 2000-04-07 Andreas Jaeger X-Git-Tag: upstream/2.30~10627^2~2502 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86e991277c606838885cb389846877484e86b9b5;p=external%2Fglibc.git 2000-04-07 Andreas Jaeger * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for newer kernels. --- diff --git a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h index 3a803a6..3742d54 100644 --- a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h +++ b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h @@ -4,10 +4,7 @@ #define HAVE_SA_RESTORER -/* Linux/MIPS still uses the old sigaction structure in the kernel. */ -#define old_kernel_sigaction kernel_sigaction - -struct kernel_sigaction { +struct old_kernel_sigaction { unsigned int sa_flags; __sighandler_t k_sa_handler; unsigned long sa_mask; @@ -23,3 +20,12 @@ struct kernel_sigaction { int pad1[1]; /* reserved */ #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 */ +};