From: Helge Deller Date: Sat, 29 Jun 2013 12:03:14 +0000 (+0200) Subject: parisc: implement full version of access_ok() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~47^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63379c135331c724d40a87b98eb62d2122981341;p=pandora-kernel.git 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: Helge Deller --- Reading git-diff-tree failed