]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "parisc: implement full version of access_ok()"
authorHelge Deller <deller@gmx.de>
Tue, 19 Nov 2013 22:31:35 +0000 (23:31 +0100)
committerHelge Deller <deller@gmx.de>
Tue, 19 Nov 2013 22:31:35 +0000 (23:31 +0100)
commitdfeda24f68fa774ee62de82dd6b6a5b5a4b63bdb
treed8e5ea262abf8c86bd2bddb66bdf56f2f26477db
parent2930bfd5a1b7af1444ad53ccbccc5a02327e747b
Revert "parisc: implement full version of access_ok()"

This reverts commit 6a461d3e2071d9de6915a6ecaa9de1f4b9a8cd6b.

It broke userspace and adding more checking is not needed.
Even checking if a syscall would access memory in page zero doesn't
makes sense since it may lead to some syscalls returning -EFAULT
where we would return other error codes on other platforms.
In summary, just drop this change and return to always return 1.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/uaccess.h