diff options
| author | 2023-11-22 00:06:37 +0800 | |
|---|---|---|
| committer | 2024-03-27 07:09:06 -0700 | |
| commit | 0ffe1ae7026dd129d86318388ed62ba61f085730 (patch) | |
| tree | 3939006b004cda5cea333413b8366657182e58e7 /scripts/gdb/linux/slab.py | |
| parent | riscv: compat_vdso: align VDSOAS build log (diff) | |
| download | wireguard-linux-0ffe1ae7026dd129d86318388ed62ba61f085730.tar.xz wireguard-linux-0ffe1ae7026dd129d86318388ed62ba61f085730.zip | |
riscv: mm: implement pgprot_nx
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>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20231121160637.3856-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions
