mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
switch compat_sys_sigprocmask to COMPAT_SYSCALL_DEFINE
In principle, C ABI violation on ppc and mips... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
28d27f2d25
commit
5cf2210022
1 changed files with 3 additions and 3 deletions
|
@ -381,9 +381,9 @@ static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set)
|
||||||
memcpy(blocked->sig, &set, sizeof(set));
|
memcpy(blocked->sig, &set, sizeof(set));
|
||||||
}
|
}
|
||||||
|
|
||||||
asmlinkage long compat_sys_sigprocmask(int how,
|
COMPAT_SYSCALL_DEFINE3(sigprocmask, int, how,
|
||||||
compat_old_sigset_t __user *nset,
|
compat_old_sigset_t __user *, nset,
|
||||||
compat_old_sigset_t __user *oset)
|
compat_old_sigset_t __user *, oset)
|
||||||
{
|
{
|
||||||
old_sigset_t old_set, new_set;
|
old_sigset_t old_set, new_set;
|
||||||
sigset_t new_blocked;
|
sigset_t new_blocked;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue