summaryrefslogtreecommitdiff
path: root/mm/pagewalk.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2021-03-30 02:25:21 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-04-26 08:25:14 -0700
commitfc8504765ec5e812135b8ccafca7101069a0c6d8 (patch)
treea4b9d1f65e9bf35e0d6a2120363f108c7c07aca0 /mm/pagewalk.c
parent1d27d854425faec98f352cf88ec3e2a8844429a4 (diff)
riscv: bpf: Avoid breaking W^X
We allocate Non-executable pages, then call bpf_jit_binary_lock_ro() to enable executable permission after mapping them read-only. This is to prepare for STRICT_MODULE_RWX in following patch. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions