aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-12-14 21:07:27 +0100
committerAlexei Starovoitov <ast@kernel.org>2017-12-15 09:19:36 -0800
commit87ab8194303e73af2898e9e1c8b3b9bcfe91e7a9 (patch)
treed6536ec187e003bb6a7c87cc8acdef20e16bf6c2 /security
parentbpf, sparc: fix usage of wrong reg for load_skb_regs after call (diff)
downloadlinux-dev-87ab8194303e73af2898e9e1c8b3b9bcfe91e7a9.tar.xz
linux-dev-87ab8194303e73af2898e9e1c8b3b9bcfe91e7a9.zip
bpf: add test case for ld_abs and helper changing pkt data
Add a test that i) uses LD_ABS, ii) zeroing R6 before call, iii) calls a helper that triggers reload of cached skb data, iv) uses LD_ABS again. It's added for test_bpf in order to do runtime testing after JITing as well as test_verifier to test that the sequence is allowed. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions