Skip to content
Commit d7587b14 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 844b43ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment