diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2023-11-21 04:06:54 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-20 18:33:35 -0800 |
commit | 683b96f9606ab7308ffb23c46ab43cecdef8a241 (patch) | |
tree | de0eccbd211f39fe44075f6ef5012a502735117d /tools/testing/selftests/bpf/progs/exceptions_fail.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 <andrii@kernel.org>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20231121020701.26440-5-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/exceptions_fail.c')
0 files changed, 0 insertions, 0 deletions