1 #ifndef _BITS_SIGACTION_STRUCT_H
2 #define _BITS_SIGACTION_STRUCT_H
4 /* This file provides whatever this particular arch's kernel thinks
5 * the sigaction struct should look like... */
10 #undef HAVE_SA_RESTORER
14 #define HAVE_SA_RESTORER
15 /* This is the sigaction structure from the Linux 2.1.20 kernel. */
16 struct old_kernel_sigaction {
17 __sighandler_t k_sa_handler;
18 unsigned long sa_mask;
19 unsigned long sa_flags;
20 void (*sa_restorer)(void);
22 /* In uclibc, userspace struct sigaction is identical to
23 * "new" struct kernel_sigaction (one from the Linux 2.1.68 kernel).
27 extern int __syscall_sigaction(int, const struct old_kernel_sigaction *,
28 struct old_kernel_sigaction *) attribute_hidden;
33 extern int __syscall_rt_sigaction(int, const struct sigaction *,
34 struct sigaction *, size_t) attribute_hidden;
36 #endif /* _BITS_SIGACTION_STRUCT_H */