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)
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>

No differences found