All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/3] bpf: Allow narrow loads with offset > 0
@ 2018-11-07  1:23 Andrey Ignatov
  2018-11-07  1:23 ` [PATCH bpf-next 1/3] " Andrey Ignatov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andrey Ignatov @ 2018-11-07  1:23 UTC (permalink / raw)
  To: netdev; +Cc: Andrey Ignatov, ast, daniel, yhs, kernel-team

This patch set adds support for narrow loads with offset > 0 to BPF
verifier.

Patch 1 provides more details and is the main patch in the set.
Patches 2 and 3 add new test cases to test_verifier and test_sock_addr
selftests.


Andrey Ignatov (3):
  bpf: Allow narrow loads with offset > 0
  selftests/bpf: Test narrow loads with off > 0 in test_verifier
  selftests/bpf: Test narrow loads with off > 0 for bpf_sock_addr

 include/linux/filter.h                       | 16 +------
 kernel/bpf/verifier.c                        | 19 ++++++--
 tools/testing/selftests/bpf/test_sock_addr.c | 28 ++++++++++--
 tools/testing/selftests/bpf/test_verifier.c  | 48 ++++++++++++++++----
 4 files changed, 78 insertions(+), 33 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-11-11  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-07  1:23 [PATCH bpf-next 0/3] bpf: Allow narrow loads with offset > 0 Andrey Ignatov
2018-11-07  1:23 ` [PATCH bpf-next 1/3] " Andrey Ignatov
2018-11-07  1:23 ` [PATCH bpf-next 2/3] selftests/bpf: Test narrow loads with off > 0 in test_verifier Andrey Ignatov
2018-11-07  1:23 ` [PATCH bpf-next 3/3] selftests/bpf: Test narrow loads with off > 0 for bpf_sock_addr Andrey Ignatov
2018-11-10 19:13 ` [PATCH bpf-next 0/3] bpf: Allow narrow loads with offset > 0 Alexei Starovoitov
2018-11-10 23:38   ` Alexei Starovoitov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.