mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
osf_sigstack(): switch to put_user()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1cc6c4635e
commit
8d2fd30ecf
@ -713,9 +713,8 @@ SYSCALL_DEFINE2(osf_sigstack, struct sigstack __user *, uss,
|
||||
|
||||
if (uoss) {
|
||||
error = -EFAULT;
|
||||
if (! access_ok(VERIFY_WRITE, uoss, sizeof(*uoss))
|
||||
|| __put_user(oss_sp, &uoss->ss_sp)
|
||||
|| __put_user(oss_os, &uoss->ss_onstack))
|
||||
if (put_user(oss_sp, &uoss->ss_sp) ||
|
||||
put_user(oss_os, &uoss->ss_onstack))
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user