Re: [PATCH net-next] selftests/bpf: check the instruction dumps are populated

2017-08-28 Thread David Miller
From: Jakub Kicinski Date: Fri, 25 Aug 2017 14:39:57 -0700 > Add a basic test for checking whether kernel is populating > the jited and xlated BPF images. It was used to confirm > the behaviour change from commit d777b2ddbecf ("bpf: don't > zero out the info struct in bpf_obj_get_info_by_fd()")

Re: [PATCH net-next] selftests/bpf: check the instruction dumps are populated

2017-08-28 Thread Martin KaFai Lau
On Fri, Aug 25, 2017 at 02:39:57PM -0700, Jakub Kicinski wrote: > Add a basic test for checking whether kernel is populating > the jited and xlated BPF images. It was used to confirm > the behaviour change from commit d777b2ddbecf ("bpf: don't > zero out the info struct in bpf_obj_get_info_by_fd()

Re: [PATCH net-next] selftests/bpf: check the instruction dumps are populated

2017-08-25 Thread Daniel Borkmann
On 08/25/2017 11:39 PM, Jakub Kicinski wrote: Add a basic test for checking whether kernel is populating the jited and xlated BPF images. It was used to confirm the behaviour change from commit d777b2ddbecf ("bpf: don't zero out the info struct in bpf_obj_get_info_by_fd()"), which made bpf_obj_g

[PATCH net-next] selftests/bpf: check the instruction dumps are populated

2017-08-25 Thread Jakub Kicinski
Add a basic test for checking whether kernel is populating the jited and xlated BPF images. It was used to confirm the behaviour change from commit d777b2ddbecf ("bpf: don't zero out the info struct in bpf_obj_get_info_by_fd()"), which made bpf_obj_get_info_by_fd() usable for retrieving the image