netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/9] BPF misc improvements
@ 2018-01-20  0:24 Daniel Borkmann
  2018-01-20  0:24 ` [PATCH bpf-next 1/9] bpf, verifier: detect misconfigured mem,size argument pair Daniel Borkmann
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Daniel Borkmann @ 2018-01-20  0:24 UTC (permalink / raw)
  To: ast; +Cc: netdev, Daniel Borkmann

This series adds various misc improvements to BPF: detection
of BPF helper definition misconfiguration for mem/size argument
pairs, csum_diff helper also for XDP, various test cases,
removal of the recently added pure_initcall(), restriction
of the jit sysctls to cap_sys_admin for initns, a minor size
improvement for x86 jit in alu ops, output of complexity limit
to verifier log and last but not least having the event output
more flexible with moving to const_size_or_zero type.

Thanks!

Daniel Borkmann (9):
  bpf, verifier: detect misconfigured mem,size argument pair
  bpf: add csum_diff helper to xdp as well
  bpf: add couple of test cases for signed extended imms
  bpf: add couple of test cases for div/mod by zero
  bpf: get rid of pure_initcall dependency to enable jits
  bpf: restrict access to core bpf sysctls
  bpf, x86: small optimization in alu ops with imm
  bpf: add upper complexity limit to verifier log
  bpf: move event_output to const_size_or_zero for xdp/skb as well

 arch/arm/net/bpf_jit_32.c                   |   2 -
 arch/arm64/net/bpf_jit_comp.c               |   2 -
 arch/mips/net/bpf_jit.c                     |   2 -
 arch/mips/net/ebpf_jit.c                    |   2 -
 arch/powerpc/net/bpf_jit_comp.c             |   2 -
 arch/powerpc/net/bpf_jit_comp64.c           |   2 -
 arch/s390/net/bpf_jit_comp.c                |   2 -
 arch/sparc/net/bpf_jit_comp_32.c            |   2 -
 arch/sparc/net/bpf_jit_comp_64.c            |   2 -
 arch/x86/net/bpf_jit_comp.c                 |  37 ++++++++--
 kernel/bpf/core.c                           |  19 +++--
 kernel/bpf/verifier.c                       |  82 +++++++++++++++-------
 lib/test_bpf.c                              | 104 ++++++++++++++++++++++++++++
 net/core/filter.c                           |   6 +-
 net/core/sysctl_net_core.c                  |  60 ++++++++++++++--
 net/socket.c                                |   9 ---
 tools/testing/selftests/bpf/test_verifier.c |  87 +++++++++++++++++++++++
 17 files changed, 347 insertions(+), 75 deletions(-)

-- 
2.9.5

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

end of thread, other threads:[~2018-01-20  2:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-20  0:24 [PATCH bpf-next 0/9] BPF misc improvements Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 1/9] bpf, verifier: detect misconfigured mem,size argument pair Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 2/9] bpf: add csum_diff helper to xdp as well Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 3/9] bpf: add couple of test cases for signed extended imms Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 4/9] bpf: add couple of test cases for div/mod by zero Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 5/9] bpf: get rid of pure_initcall dependency to enable jits Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 6/9] bpf: restrict access to core bpf sysctls Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 7/9] bpf, x86: small optimization in alu ops with imm Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 8/9] bpf: add upper complexity limit to verifier log Daniel Borkmann
2018-01-20  0:24 ` [PATCH bpf-next 9/9] bpf: move event_output to const_size_or_zero for xdp/skb as well Daniel Borkmann
2018-01-20  2:54 ` [PATCH bpf-next 0/9] BPF misc improvements Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).