diff options
| author | Andrii Nakryiko <[email protected]> | 2023-03-08 10:41:14 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-03-08 16:19:50 -0800 |
| commit | 07236eab7a3139da97aef9f5f21f403be82a82ea (patch) | |
| tree | 2415c090bd26760344d2afce0eeaee57534ccf50 /include/linux | |
| parent | ed69e0667db5fd0f7eb1fdef329e0985939b0148 (diff) | |
bpf: factor out fetching basic kfunc metadata
Factor out logic to fetch basic kfunc metadata based on struct bpf_insn.
This is not exactly short or trivial code to just copy/paste and this
information is sometimes necessary in other parts of the verifier logic.
Subsequent patches will rely on this to determine if an instruction is
a kfunc call to iterator next method.
No functional changes intended, including that verbose() warning
behavior when kfunc is not allowed for a particular program type.
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions