Recent merge of 'linux-kselftest-4.11-rc1' tree broke bpf test build.
None of the tests were building and test_verifier.c had tons of compiler errors.
Fix it and add #ifdef CAP_IS_SUPPORTED to support old versions of libcap.
Tested on centos 6.8 and 7
Signed-off-by: Alexei Starovoitov <email@example.com>
Acked-by: Daniel Borkmann <firstname.lastname@example.org>
Tested-by: Daniel Borkmann <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>