Commit 0bea4f7b authored by Al Viro's avatar Al Viro

sh: no need of access_ok() in arch_futex_atomic_op_inuser()

everything it uses is doing access_ok() already
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a08971e9
......@@ -34,9 +34,6 @@ static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval,
u32 oldval, newval, prev;
int ret;
if (!access_ok(uaddr, sizeof(u32)))
return -EFAULT;
do {
ret = get_user(oldval, uaddr);
......
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