diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2023-11-21 03:06:54 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-21 03:33:35 +0100 |
commit | 683b96f9606ab7308ffb23c46ab43cecdef8a241 (patch) | |
tree | de0eccbd211f39fe44075f6ef5012a502735117d /lib/test_kmod.c | |
parent | selftests/bpf: fix bpf_loop_bench for new callback verification scheme (diff) | |
download | linux-683b96f9606ab7308ffb23c46ab43cecdef8a241.tar.xz linux-683b96f9606ab7308ffb23c46ab43cecdef8a241.zip |
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 'lib/test_kmod.c')
0 files changed, 0 insertions, 0 deletions