[PATCH v2 0/2] Let illegal access to user-space memory die

Pekka Enberg penberg at gmail.com
Thu Dec 3 02:29:57 EST 2020


Hi Eric,

On Thu, Dec 3, 2020 at 8:51 AM Eric Lin <tesheng at andestech.com> wrote:
>
> Accesses to user-space memory without calling uaccess routine
> leads to hanging in page fault handler. Like arm64, we let it
> die earlier in page fault handler.
>
> Changes in v2:
>     -Add a die_kernel_fault() helper
>     -Split one long line code into two

Please also make no_context() use the new helper. Other than that:

Reviewed-by: Pekka Enberg <penberg at kernel.org>



More information about the linux-riscv mailing list