Messages in this thread | | | Date | Tue, 21 Nov 2023 15:34:41 -0600 | Subject | Re: [PATCH] riscv: mm: implement pgprot_nx | From | Samuel Holland <> |
| |
On 2023-11-21 10:06 AM, Jisheng Zhang wrote: > commit cca98e9f8b5e ("mm: enforce that vmap can't map pages > executable") enforces the W^X protection by not allowing remapping > existing pages as executable. Add riscv bits so that riscv can benefit > the same protection. > > Signed-off-by: Jisheng Zhang <jszhang@kernel.org> > --- > arch/riscv/include/asm/pgtable.h | 6 ++++++ > 1 file changed, 6 insertions(+)
Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Tested-by: Samuel Holland <samuel.holland@sifive.com>
| |