Commit 8d2fd30e authored by Al Viro's avatar Al Viro

osf_sigstack(): switch to put_user()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1cc6c463
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment