diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-08-25 23:39:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 00:35:18 +0200 |
commit | 7cadf2cbe8051dd43cb340d02d0d30960f061ac2 (patch) | |
tree | dcfc13447be00004828f4ace556a92c76e8d7929 /net/vmw_vsock | |
parent | bpf: fix oops on allocation failure (diff) | |
download | linux-7cadf2cbe8051dd43cb340d02d0d30960f061ac2.tar.xz linux-7cadf2cbe8051dd43cb340d02d0d30960f061ac2.zip |
selftests/bpf: check the instruction dumps are populated
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 dumps.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions