commit | d7587b1445c0087cfcaa03ceae79b52eef4e9e4b | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Fri Jan 11 13:18:16 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Jan 11 13:18:16 2008 +0900 |
tree | 5f6dc2a4d6c3c4b90854b57174efa76369a5fd95 | |
parent | 844b43adba74d97f15e56b103c97bfcccaa01aa6 [diff] |
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>