diff options
author | Mark Brown <[email protected]> | 2020-05-06 20:51:32 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-05-07 17:53:20 +0100 |
commit | fa76cfe65c1d748ef418e930a4b631a03b28f04c (patch) | |
tree | 88e80af33df552d3947701536401eedf38592828 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c8027285e3660e3b76eb2fb75a32f1596064b5e4 (diff) |
arm64: bpf: Annotate JITed code for BTI
In order to extend the protection offered by BTI to all code executing in
kernel mode we need to annotate JITed BPF code appropriately for BTI. To
do this we need to add a landing pad to the start of each BPF function and
also immediately after the function prologue if we are emitting a function
which can be tail called. Jumps within BPF functions are all to immediate
offsets and therefore do not require landing pads.
Signed-off-by: Mark Brown <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions