bpf: add sk_msg prog sk access tests to test_verifier
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 17 May 2018 21:17:03 +0000 (14:17 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 18 May 2018 20:44:11 +0000 (22:44 +0200)
commit4da0dcabe4bc633ffc13bb4a669c34dd876e59d1
tree9cbbbd101ef09da90f1ab1657c4ec15bb697915d
parent303def35f64e37bcd5401d202889f5fbc0241179
bpf: add sk_msg prog sk access tests to test_verifier

Add tests for BPF_PROG_TYPE_SK_MSG to test_verifier for read access
to new sk fields.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/test_verifier.c