bpf: Add test for syscall on fd array/htab lookup
authorMartin KaFai Lau <kafai@fb.com>
Wed, 28 Jun 2017 06:08:35 +0000 (23:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 17:13:26 +0000 (13:13 -0400)
commita8744f2528c14e4545c6071b6681ab17607be2fa
tree7e7b11a58be303f42072fd51c260354cf110b5e2
parent14dc6f04f49dc12614d7e90928b495b8d73cd471
bpf: Add test for syscall on fd array/htab lookup

Checks are added to the existing sockex3 and test_map_in_map test.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/sockex3_user.c
samples/bpf/test_map_in_map_user.c