From ac131a333b1c63000fcab69cc6723d75d7075a3a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 13 Dec 2008 21:11:40 +0000 Subject: Remove the rest of "bounded pointers" scaffolding. gcc website says" "Bounds Checking Projects... This project has been abandoned" for four years at least. --- libc/sysdeps/linux/mips/bits/kernel_sigaction.h | 4 ++-- libc/sysdeps/linux/mips/sigaction.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/mips') diff --git a/libc/sysdeps/linux/mips/bits/kernel_sigaction.h b/libc/sysdeps/linux/mips/bits/kernel_sigaction.h index 5c8454837..6a7b939c4 100644 --- a/libc/sysdeps/linux/mips/bits/kernel_sigaction.h +++ b/libc/sysdeps/linux/mips/bits/kernel_sigaction.h @@ -42,7 +42,7 @@ struct kernel_sigaction { int s_resv[1]; /* reserved */ }; -extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *__unbounded, - struct kernel_sigaction *__unbounded, size_t) attribute_hidden; +extern int __syscall_rt_sigaction (int, const struct kernel_sigaction *, + struct kernel_sigaction *, size_t) attribute_hidden; #endif diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c index ca39740af..7c933ffd5 100644 --- a/libc/sysdeps/linux/mips/sigaction.c +++ b/libc/sysdeps/linux/mips/sigaction.c @@ -70,8 +70,8 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa /* NB: kernel (as of 2.6.25) will return EINVAL * if sizeof(kact.sa_mask) does not match kernel's sizeof(sigset_t) */ result = __syscall_rt_sigaction(sig, - act ? __ptrvalue (&kact) : NULL, - oact ? __ptrvalue (&koact) : NULL, + act ? &kact : NULL, + oact ? &koact : NULL, sizeof(kact.sa_mask)); if (oact && result >= 0) { @@ -109,8 +109,8 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa # endif } - result = __syscall_sigaction(sig, act ? __ptrvalue (&kact) : NULL, - oact ? __ptrvalue (&koact) : NULL); + result = __syscall_sigaction(sig, act ? &kact : NULL, + oact ? &koact : NULL); if (result < 0) { __set_errno(-result); -- cgit v1.2.3