]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bpf: add various test cases for backward jumps
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 10 May 2019 22:51:33 +0000 (22:51 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 12 May 2019 23:08:55 +0000 (01:08 +0200)
commit9858381253acad69a4538a448eb9aa674c4f70d6
tree8e8fcd2abb551b74517ad90fc8d5c31c93f2a218
parentaf959b18fd447170a10865283ba691af4353cc7f
bpf: add various test cases for backward jumps

Add a couple of tests to make sure branch(/call) offset adjustments
are correctly performed.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/verifier/jump.c