about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-07 20:07:21 +0000
committerAndreas Jaeger <aj@suse.de>2000-04-07 20:07:21 +0000
commitad748fb64c7c173b8e9a61ced6bc77d0102c1ce9 (patch)
treea67e249e672ea5e24d93498bcad984f83dc28395
parentb837918ee117012a5db016ea4f66196554d6f947 (diff)
downloadglibc-ad748fb64c7c173b8e9a61ced6bc77d0102c1ce9.tar.gz
glibc-ad748fb64c7c173b8e9a61ced6bc77d0102c1ce9.tar.xz
glibc-ad748fb64c7c173b8e9a61ced6bc77d0102c1ce9.zip
2000-04-07 Andreas Jaeger <aj@suse.de>
	* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
	newer kernels.
-rw-r--r--sysdeps/unix/sysv/linux/mips/kernel_sigaction.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h b/sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
index 3a803a66a5..3742d54b0e 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 */
+};