summaryrefslogtreecommitdiff
path: root/include/linux/bpf_verifier.h
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-02-26 23:49:23 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-02-27 00:23:52 +0300
commit1435137573f9c75455903e8cd01f84d6e092ea16 (patch)
tree9f502032f0236631b38bc67cde67de1a4c929715 /include/linux/bpf_verifier.h
parentbc2591d63fc91bd5a9aaff145148a224d892bdb8 (diff)
downloadlinux-1435137573f9c75455903e8cd01f84d6e092ea16.tar.xz
bpf: Refactor check_func_call() to allow callback function
Later proposed bpf_for_each_map_elem() helper has callback function as one of its arguments. This patch refactored check_func_call() to permit callback function which sets callee state. Different callback functions may have different callee states. There is no functionality change for this patch. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210226204923.3884627-1-yhs@fb.com
Diffstat (limited to 'include/linux/bpf_verifier.h')
0 files changed, 0 insertions, 0 deletions