diff options
| author | Alexei Starovoitov <[email protected]> | 2019-11-14 10:57:16 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-11-15 23:45:02 +0100 |
| commit | 8c1b6e69dcc1e11bd24111e3734dd740aaf3fda1 (patch) | |
| tree | b1fcd11bc9e7da8474a587e037c7f32df992b0b1 /tools/perf/scripts/python | |
| parent | 91cc1a99740e2ed1d903b5906afb470cc5a07379 (diff) | |
bpf: Compare BTF types of functions arguments with actual types
Make the verifier check that BTF types of function arguments match actual types
passed into top-level BPF program and into BPF-to-BPF calls. If types match
such BPF programs and sub-programs will have full support of BPF trampoline. If
types mismatch the trampoline has to be conservative. It has to save/restore
five program arguments and assume 64-bit scalars.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions