Re: [PATCH v2 8/9] riscv: module: Create module allocations without exec permissions

2021-04-01 Thread Anup Patel
On Wed, Mar 31, 2021 at 10:04 PM Jisheng Zhang wrote: > > From: Jisheng Zhang > > The core code manages the executable permissions of code regions of > modules explicitly, it is not necessary to create the module vmalloc > regions with RWX permissions. Create them with RW- permissions instead. >

[PATCH v2 8/9] riscv: module: Create module allocations without exec permissions

2021-03-31 Thread Jisheng Zhang
From: Jisheng Zhang The core code manages the executable permissions of code regions of modules explicitly, it is not necessary to create the module vmalloc regions with RWX permissions. Create them with RW- permissions instead. Signed-off-by: Jisheng Zhang --- arch/riscv/kernel/module.c | 10