diff options
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/bits/kernel_sigaction.h | 8 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 12 |
2 files changed, 10 insertions, 10 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 */ 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 |