Re: [PATCH 1/3] MIPS: uaccess: Added __get/__put_kernel_nofault

From: Christoph Hellwig
Date: Tue Mar 30 2021 - 13:49:24 EST


On Tue, Mar 30, 2021 at 07:26:58PM +0200, Thomas Bogendoerfer wrote:
> Added __get/__put_kernel_nofault as preparation for removing
> get/set_fs.

For !CONFIG_EVA __get_user_common is simply defined to
__get_kernel_common, which probably does the wrong thing here
as it would allow access to user space addresses, won't it?