diff options
author | 2021-03-30 02:25:21 +0800 | |
---|---|---|
committer | 2021-04-26 08:25:14 -0700 | |
commit | fc8504765ec5e812135b8ccafca7101069a0c6d8 (patch) | |
tree | a4b9d1f65e9bf35e0d6a2120363f108c7c07aca0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core (diff) | |
download | wireguard-linux-fc8504765ec5e812135b8ccafca7101069a0c6d8.tar.xz wireguard-linux-fc8504765ec5e812135b8ccafca7101069a0c6d8.zip |
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 '')
0 files changed, 0 insertions, 0 deletions