diff options
author | 2022-09-26 11:47:39 -0700 | |
---|---|---|
committer | 2022-09-26 20:40:43 -0700 | |
commit | 5b0d1c7bd5722467960829af51d523f5a6ffd848 (patch) | |
tree | 0967cb40ef2d0af8f6beab452a0ed72cb0640c52 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bpf: use bpf_prog_pack for bpf_dispatcher (diff) | |
download | wireguard-linux-5b0d1c7bd5722467960829af51d523f5a6ffd848.tar.xz wireguard-linux-5b0d1c7bd5722467960829af51d523f5a6ffd848.zip |
bpf: Enforce W^X for bpf trampoline
Mark the trampoline as RO+X after arch_prepare_bpf_trampoline, so that
the trampoine follows W^X rule strictly. This will turn off warnings like
CPA refuse W^X violation: 8000000000000163 -> 0000000000000163 range: ...
Also remove bpf_jit_alloc_exec_page(), since it is not used any more.
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20220926184739.3512547-3-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions