On Mon, Nov 30, 2020 at 04:30:15PM +0800, Christoph Hellwig wrote: Hi Christoph, > > + if (!user_mode(regs) && addr < TASK_SIZE && unlikely(!(regs->status & > > SR_SUM))) > > Please avoid the overly long line. OK, I'll modify it in v2. Thanks for your review.
- [PATCH] riscv/mm: Prevent kernel module access user-spac... Eric Lin
- Re: [PATCH] riscv/mm: Prevent kernel module access ... Pekka Enberg
- Re: [PATCH] riscv/mm: Prevent kernel module access ... Christoph Hellwig
- Re: [PATCH] riscv/mm: Prevent kernel module acc... Eric Lin

