diff options
author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-01-19 14:50:01 -0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-01-23 16:37:45 -0800 |
commit | 612d087d4ba54cef47946e22e5dabad762dd7ed5 (patch) | |
tree | 7044e668fc1d4277daac80e05425caf566aedc02 /tools/lib/bpf/bpf.c | |
parent | e3f87fdfed7b770dd7066b02262b12747881e76d (diff) | |
download | linux-612d087d4ba54cef47946e22e5dabad762dd7ed5.tar.gz linux-612d087d4ba54cef47946e22e5dabad762dd7ed5.tar.bz2 linux-612d087d4ba54cef47946e22e5dabad762dd7ed5.zip |
bpf: validate value_type
A value_type should consist of three components: refcnt, state, and data.
refcnt and state has been move to struct bpf_struct_ops_common_value to
make it easier to check the value type.
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240119225005.668602-11-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions