mbox series

pull-request: bpf 2018-07-20

Message ID 20180720212443.7103-1-daniel@iogearbox.net
State Accepted, archived
Delegated to: David Miller
Headers show
Series pull-request: bpf 2018-07-20 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Message

Daniel Borkmann July 20, 2018, 9:24 p.m. UTC
Hi David,

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Fix in BPF Makefile to detect llvm-objcopy in a more robust way which is
   needed for pahole's BTF converter and minor UAPI tweaks in BTF_INT_BITS()
   to shrink the mask before eventual UAPI freeze, from Martin.

2) Fix a segfault in bpftool when prog pin id has no further arguments such
   as id value or file specified, from Taeung.

3) Fix powerpc JIT handling of XADD which has jumps to exit path that would
   potentially bypass verifier expectations e.g. with subprog calls. Also add
   a test case to make sure XADD is not mangling src/dst register, from Daniel.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

----------------------------------------------------------------

The following changes since commit f39f28ff82c14b4f628973d9bba835195a71d437:

  Merge tag 'sound-4.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2018-07-19 07:43:17 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git 

for you to fetch changes up to 7c3e8b642bad6669e0023d3d6dedd87b2527a2c8:

  bpf: Use option "help" in the llvm-objcopy test (2018-07-20 10:27:47 +0200)

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'ppc-fix'

Daniel Borkmann (2):
      bpf, ppc64: fix unexpected r0=0 exit path inside bpf_xadd
      bpf: test case to check whether src/dst regs got mangled by xadd

Martin KaFai Lau (2):
      bpf: btf: Clean up BTF_INT_BITS() in uapi btf.h
      bpf: Use option "help" in the llvm-objcopy test

Taeung Song (1):
      tools/bpftool: Fix segfault case regarding 'pin' arguments

 arch/powerpc/net/bpf_jit_comp64.c           | 29 ++++-----------------
 include/uapi/linux/btf.h                    |  2 +-
 kernel/bpf/btf.c                            | 16 +++++++-----
 tools/bpf/bpftool/common.c                  | 11 +++++---
 tools/testing/selftests/bpf/Makefile        |  2 +-
 tools/testing/selftests/bpf/test_verifier.c | 40 +++++++++++++++++++++++++++++
 6 files changed, 65 insertions(+), 35 deletions(-)

Comments

David Miller July 21, 2018, 6:57 a.m. UTC | #1
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Fri, 20 Jul 2018 23:24:43 +0200

> The following pull-request contains BPF updates for your *net* tree.
> 
> The main changes are:
> 
> 1) Fix in BPF Makefile to detect llvm-objcopy in a more robust way which is
>    needed for pahole's BTF converter and minor UAPI tweaks in BTF_INT_BITS()
>    to shrink the mask before eventual UAPI freeze, from Martin.
> 
> 2) Fix a segfault in bpftool when prog pin id has no further arguments such
>    as id value or file specified, from Taeung.
> 
> 3) Fix powerpc JIT handling of XADD which has jumps to exit path that would
>    potentially bypass verifier expectations e.g. with subprog calls. Also add
>    a test case to make sure XADD is not mangling src/dst register, from Daniel.
> 
> Please consider pulling these changes from:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Pulled, thanks Daniel.