Skip to content
Unverified Commit d27c3c90 authored by Zong Li's avatar Zong Li Committed by Palmer Dabbelt
Browse files

riscv: add STRICT_KERNEL_RWX support



The commit contains that make text section as non-writable, rodata
section as read-only, and data section as non-executable.

The init section should be changed to non-executable.

Signed-off-by: default avatarZong Li <zong.li@sifive.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 00cb41d5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment