Skip to content
Commit 63379c13 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: implement full version of access_ok()



Up to now PA-RISC could live with a trivial version of access_ok().
Our fault handlers can correctly handle fault cases.

But testcases showed that we need a better access check else we won't
always return correct errno failure codes to userspace.

Problem showed up during 32bit userspace tests in which writev() used a
32bit memory area and length which would then wrap around on 64bit
kernel.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 3a7452b4
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