summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-04-18 15:55:58 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-04-19 21:46:24 +0200
commiteb3f595dab40b61011c5f123507a7db2df6f0e65 (patch)
tree38e84dcbcb898acfe6208b3cdbab5fbb8546dd40 /mm
parent69b693f0aefa0ed521e8bd02260523b5ae446ad7 (diff)
bpf: btf: Validate type reference
After collecting all btf_type in the first pass in an earlier patch, the second pass (in this patch) can validate the reference types (e.g. the referring type does exist and it does not refer to itself). While checking the reference type, it also gathers other information (e.g. the size of an array). This info will be useful in checking the struct's members in a later patch. They will also be useful in doing pretty print later. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Alexei Starovoitov <ast@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions