]> err.no Git - linux-2.6/commit
sh: Force __access_ok() to obey address space limit.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 11 Jan 2008 04:18:16 +0000 (13:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 11 Jan 2008 04:18:16 +0000 (13:18 +0900)
commitd7587b1445c0087cfcaa03ceae79b52eef4e9e4b
tree5f6dc2a4d6c3c4b90854b57174efa76369a5fd95
parent844b43adba74d97f15e56b103c97bfcccaa01aa6
sh: Force __access_ok() to obey address space limit.

When the thread_info->addr_limit changes were introduced, __access_ok()
was missed in the conversion, allowing user processes to perform P1/P2
accesses under certain conditions.

This has already been corrected with the nommu refactoring in later
kernels.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/uaccess.h