about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/unix/sysv/linux/kernel_sigaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/unix/sysv/linux/kernel_sigaction.h')
-rw-r--r--REORG.TODO/sysdeps/unix/sysv/linux/kernel_sigaction.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/unix/sysv/linux/kernel_sigaction.h b/REORG.TODO/sysdeps/unix/sysv/linux/kernel_sigaction.h
new file mode 100644
index 0000000000..d005cbce98
--- /dev/null
+++ b/REORG.TODO/sysdeps/unix/sysv/linux/kernel_sigaction.h
@@ -0,0 +1,19 @@
+/* This is the sigaction structure from the Linux 2.1.20 kernel.  */
+
+#define HAVE_SA_RESTORER
+
+struct old_kernel_sigaction {
+	__sighandler_t k_sa_handler;
+	unsigned long sa_mask;
+	unsigned long sa_flags;
+	void (*sa_restorer) (void);
+};
+
+/* This is the sigaction structure from the Linux 2.1.68 kernel.  */
+
+struct kernel_sigaction {
+	__sighandler_t k_sa_handler;
+	unsigned long sa_flags;
+	void (*sa_restorer) (void);
+	sigset_t sa_mask;
+};