summaryrefslogtreecommitdiffstats
path: root/kernel/audit_tree.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-06-02 09:06:50 -0700
committerAlexei Starovoitov <ast@kernel.org>2018-06-02 11:22:36 -0700
commitb9308ae696b2c35e862636eec631d95ff958c33d (patch)
treee6ec045510d123dbb9f6e1502e4c5aa809e88f6e /kernel/audit_tree.c
parentb4b21a05b8fe7288087691e993c913a41fd6eb4b (diff)
downloadtalos-obmc-linux-b9308ae696b2c35e862636eec631d95ff958c33d.tar.gz
talos-obmc-linux-b9308ae696b2c35e862636eec631d95ff958c33d.zip
bpf: btf: Check array t->size
This patch ensures array's t->size is 0. The array size is decided by its individual elem's size and the number of elements. Hence, t->size is not used and it must be 0. A test case is added to test_btf.c Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud