summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/sigaction.c
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/arm/sigaction.c
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/arm/sigaction.c')
-rw-r--r--libc/sysdeps/linux/arm/sigaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/sigaction.c b/libc/sysdeps/linux/arm/sigaction.c
index 5efd7f2a8..549d8a0c6 100644
--- a/libc/sysdeps/linux/arm/sigaction.c
+++ b/libc/sysdeps/linux/arm/sigaction.c
@@ -58,7 +58,7 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
/* XXX The size argument hopefully will have to be changed to the
real size of the user-level sigset_t. */
- result = __rt_sigaction(sig, act ? __ptrvalue (&kact) : NULL,
+ result = __syscall_rt_sigaction(sig, act ? __ptrvalue (&kact) : NULL,
oact ? __ptrvalue (&koact) : NULL, _NSIG / 8);
if (oact && result >= 0) {
@@ -96,7 +96,7 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
}
# endif
}
- result = __sigaction(sig, act ? __ptrvalue (&kact) : NULL,
+ result = __syscall_sigaction(sig, act ? __ptrvalue (&kact) : NULL,
oact ? __ptrvalue (&koact) : NULL);
if (oact && result >= 0) {