diff options
author | Jisheng Zhang <[email protected]> | 2023-11-22 00:06:37 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-03-27 07:09:06 -0700 |
commit | 0ffe1ae7026dd129d86318388ed62ba61f085730 (patch) | |
tree | 3939006b004cda5cea333413b8366657182e58e7 /scripts/bpf_doc.py | |
parent | 7115ff4a8bfed3b9294bad2e111744e6abeadf1a (diff) |
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 <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions