diff options
| author | Vadim Fedorenko <vadfed@meta.com> | 2024-06-13 14:18:13 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-06-13 16:33:04 -0700 |
| commit | a90797993afcb0eaf6bf47a062ff47eb3810a6d5 (patch) | |
| tree | bae52ca95911eef3ebeb75bfa1c4d261737a3c2d /tools/perf/scripts/python | |
| parent | 373a4e13ab4bc947f429fd92409d686fbec57132 (diff) | |
bpf: verifier: make kfuncs args nullalble
Some arguments to kfuncs might be NULL in some cases. But currently it's
not possible to pass NULL to any BTF structures because the check for
the suffix is located after all type checks. Move it to earlier place
to allow nullable args.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Link: https://lore.kernel.org/r/20240613211817.1551967-2-vadfed@meta.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
