1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.

This commit is contained in:
Joseph Myers
2013-01-31 23:00:15 +00:00
parent 2e8a5c8c46
commit 32a45bea39
15 changed files with 55 additions and 35 deletions

View File

@ -21,7 +21,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
#include <bp-checks.h>
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals. */
@ -31,5 +30,5 @@ sigpending (set)
{
/* XXX The size argument hopefully will have to be changed to the
real size of the user-level sigset_t. */
return INLINE_SYSCALL (rt_sigpending, 2, CHECK_SIGSET (set), _NSIG / 8);
return INLINE_SYSCALL (rt_sigpending, 2, set, _NSIG / 8);
}

View File

@ -21,7 +21,6 @@
#include <sysdep.h>
#include <sys/syscall.h>
#include <bp-checks.h>
/* Get and/or change the set of blocked signals. */
int
@ -32,7 +31,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_SIGSET_NULL_OK (oset), _NSIG / 8);
return INLINE_SYSCALL (rt_sigprocmask, 4, how, set, oset, _NSIG / 8);
}
weak_alias (__sigprocmask, sigprocmask)