diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-22 17:43:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-22 17:43:14 +0000 |
commit | 9febc84ad3517e6226418ca6b9280ab1f069209f (patch) | |
tree | ff81fa54fb323029b34fb516114736417a55ca3f /libc/sysdeps/linux/common/syscalls.c | |
parent | 270ae06ae88745421f99a161e837a9eea6eaf83a (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/syscalls.c')
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 9a91f2e65..6090d37db 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -616,11 +616,11 @@ _syscall0(pid_t, setsid); //#define __NR_sigaction 67 #ifndef __NR_rt_sigaction -#define __NR___sigaction __NR_sigaction -#ifdef L___sigaction +#define __NR___syscall_sigaction __NR_sigaction +#ifdef L___syscall_sigaction #include <signal.h> #undef sigaction -_syscall3(int, __sigaction, int, signum, const struct sigaction *, act, +_syscall3(int, __syscall_sigaction, int, signum, const struct sigaction *, act, struct sigaction *, oldact); #endif #endif @@ -1435,11 +1435,11 @@ _syscall3(int, getresgid, gid_t *, egid, gid_t *, rgid, gid_t *, sgid); //#define __NR_rt_sigreturn 173 //#define __NR_rt_sigaction 174 #ifdef __NR_rt_sigaction -#define __NR___rt_sigaction __NR_rt_sigaction -#ifdef L___rt_sigaction +#define __NR___syscall_rt_sigaction __NR_rt_sigaction +#ifdef L___syscall_rt_sigaction #include <signal.h> #undef sigaction -_syscall4(int, __rt_sigaction, int, signum, const struct sigaction *, act, +_syscall4(int, __syscall_rt_sigaction, int, signum, const struct sigaction *, act, struct sigaction *, oldact, size_t, size); #endif #endif |