diff options
author | Eduard Zingerman <[email protected]> | 2023-11-21 04:06:54 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-20 18:33:35 -0800 |
commit | 683b96f9606ab7308ffb23c46ab43cecdef8a241 (patch) | |
tree | de0eccbd211f39fe44075f6ef5012a502735117d /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | f40bfd1679446b22d321e64a1fa98b7d07d2be08 (diff) |
bpf: extract __check_reg_arg() utility function
Split check_reg_arg() into two utility functions:
- check_reg_arg() operating on registers from current verifier state;
- __check_reg_arg() operating on a specific set of registers passed as
a parameter;
The __check_reg_arg() function would be used by a follow-up change for
callbacks handling.
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions