summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-22 17:43:14 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-22 17:43:14 +0000
commit9febc84ad3517e6226418ca6b9280ab1f069209f (patch)
treeff81fa54fb323029b34fb516114736417a55ca3f /libc/sysdeps/linux/common/bits
parent270ae06ae88745421f99a161e837a9eea6eaf83a (diff)
Update sigaction syscall names to act more like glibc. Fix the x86 sigaction
implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/kernel_sigaction.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/bits/kernel_sigaction.h b/libc/sysdeps/linux/common/bits/kernel_sigaction.h
index b6ad2918d..d6d6d2af8 100644
--- a/libc/sysdeps/linux/common/bits/kernel_sigaction.h
+++ b/libc/sysdeps/linux/common/bits/kernel_sigaction.h
@@ -84,10 +84,10 @@ struct kernel_sigaction {
};
#endif
-extern int __rt_sigaction (int, const struct kernel_sigaction *__unbounded,
- struct kernel_sigaction *__unbounded, size_t);
-
-extern int __sigaction (int, const struct old_kernel_sigaction *__unbounded,
+extern int __syscall_sigaction (int, const struct old_kernel_sigaction *__unbounded,
struct old_kernel_sigaction *__unbounded);
+extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded,
+ struct kernel_sigaction *__unbounded, size_t);
+
#endif /* _BITS_STAT_STRUCT_H */