diff options
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sigaction.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sigprocmask.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/shmctl.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sigprocmask.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sigaction.c b/sysdeps/unix/sysv/linux/ia64/sigaction.c index 0cf65ba5f5..d7c82106bb 100644 --- a/sysdeps/unix/sysv/linux/ia64/sigaction.c +++ b/sysdeps/unix/sysv/linux/ia64/sigaction.c @@ -47,7 +47,7 @@ __libc_sigaction (sig, act, oact) /* XXX The size argument hopefully will have to be changed to the real size of the user-level sigset_t. */ return INLINE_SYSCALL (rt_sigaction, 4, sig, - CHECK_1opt (act), CHECK_1opt (oact), _NSIG / 8); + CHECK_1_NULL_OK (act), CHECK_1_NULL_OK (oact), _NSIG / 8); } weak_alias (__libc_sigaction, __sigaction) diff --git a/sysdeps/unix/sysv/linux/ia64/sigprocmask.c b/sysdeps/unix/sysv/linux/ia64/sigprocmask.c index 293a32797c..f0b5d32c78 100644 --- a/sysdeps/unix/sysv/linux/ia64/sigprocmask.c +++ b/sysdeps/unix/sysv/linux/ia64/sigprocmask.c @@ -43,6 +43,6 @@ __sigprocmask (how, set, oset) /* XXX The size argument hopefully will have to be changed to the real size of the user-level sigset_t. */ return INLINE_SYSCALL (rt_sigprocmask, 4, how, CHECK_SIGSET (set), - CHECK_SIGSETopt (oset), _NSIG / 8); + CHECK_SIGSET_NULL_OK (oset), _NSIG / 8); } weak_alias (__sigprocmask, sigprocmask) diff --git a/sysdeps/unix/sysv/linux/shmctl.c b/sysdeps/unix/sysv/linux/shmctl.c index 3b2809ac5d..8ff911bca8 100644 --- a/sysdeps/unix/sysv/linux/shmctl.c +++ b/sysdeps/unix/sysv/linux/shmctl.c @@ -65,7 +65,7 @@ int __old_shmctl (int shmid, int cmd, struct __old_shmid_ds *buf) { return INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, - cmd, 0, CHECK_1opt (buf)); + cmd, 0, CHECK_1_NULL_OK (buf)); } compat_symbol (libc, __old_shmctl, shmctl, GLIBC_2_0); #endif diff --git a/sysdeps/unix/sysv/linux/sigprocmask.c b/sysdeps/unix/sysv/linux/sigprocmask.c index 7590071eea..0043bca971 100644 --- a/sysdeps/unix/sysv/linux/sigprocmask.c +++ b/sysdeps/unix/sysv/linux/sigprocmask.c @@ -46,7 +46,7 @@ __sigprocmask (how, set, oset) { #if __ASSUME_REALTIME_SIGNALS > 0 return INLINE_SYSCALL (rt_sigprocmask, 4, how, CHECK_SIGSET (set), - CHECK_SIGSETopt (oset), _NSIG / 8); + CHECK_SIGSET_NULL_OK (oset), _NSIG / 8); #else # ifdef __NR_rt_sigprocmask /* First try the RT signals. */ @@ -56,7 +56,7 @@ __sigprocmask (how, set, oset) real size of the user-level sigset_t. */ int saved_errno = errno; int result = INLINE_SYSCALL (rt_sigprocmask, 4, how, CHECK_SIGSET (set), - CHECK_SIGSETopt (oset), _NSIG / 8); + CHECK_SIGSET_NULL_OK (oset), _NSIG / 8); if (result >= 0 || errno != ENOSYS) return result; @@ -67,7 +67,7 @@ __sigprocmask (how, set, oset) # endif return INLINE_SYSCALL (sigprocmask, 3, how, - CHECK_SIGSET (set), CHECK_SIGSETopt (oset)); + CHECK_SIGSET (set), CHECK_SIGSET_NULL_OK (oset)); #endif } weak_alias (__sigprocmask, sigprocmask) diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c b/sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c index cb0b275f1c..0e46e990d8 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c @@ -37,6 +37,6 @@ __sigprocmask (how, set, oset) /* XXX The size argument hopefully will have to be changed to the real size of the user-level sigset_t. */ return INLINE_SYSCALL (rt_sigprocmask, 4, how, CHECK_SIGSET (set), - CHECK_SIGSETopt (oset), _NSIG / 8); + CHECK_SIGSET_NULL_OK (oset), _NSIG / 8); } weak_alias (__sigprocmask, sigprocmask) |