diff options
author | Song Liu <[email protected]> | 2022-09-26 11:47:39 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-09-26 20:40:43 -0700 |
commit | 5b0d1c7bd5722467960829af51d523f5a6ffd848 (patch) | |
tree | 0967cb40ef2d0af8f6beab452a0ed72cb0640c52 /scripts/generate_rust_analyzer.py | |
parent | 19c02415da2345d0dda2b5c4495bc17cc14b18b5 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions