Arnd Bergmann 26509034be m68k: fix access_ok for coldfire
While most m68k platforms use separate address spaces for user
and kernel space, at least coldfire does not, and the other
ones have a TASK_SIZE that is less than the entire 4GB address
range.

Using the default implementation of __access_ok() stops coldfire
user space from trivially accessing kernel memory.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-02-25 09:36:05 +01:00
..
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2022-01-22 08:33:38 +02:00
2021-11-02 06:20:58 -07:00
2022-02-25 09:36:05 +01:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2022-01-11 17:24:45 -08:00
2020-03-09 11:12:19 +01:00