diff options
| author | Peter Zijlstra <[email protected]> | 2023-12-15 09:12:20 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-12-16 00:25:55 +0000 |
| commit | 2cd3e3772e41377f32d6eea643e0590774e9187c (patch) | |
| tree | 6731bd8786a091dbf2e2447952df2b5d908efec6 /tools/net/ynl/generated/devlink-user.c | |
| parent | x86/cfi,bpf: Fix bpf_callback_t CFI (diff) | |
| download | kernel-2cd3e3772e41377f32d6eea643e0590774e9187c.tar.gz kernel-2cd3e3772e41377f32d6eea643e0590774e9187c.zip | |
x86/cfi,bpf: Fix bpf_struct_ops CFI
BPF struct_ops uses __arch_prepare_bpf_trampoline() to write
trampolines for indirect function calls. These tramplines much have
matching CFI.
In order to obtain the correct CFI hash for the various methods, add a
matching structure that contains stub functions, the compiler will
generate correct CFI which we can pilfer for the trampolines.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions
