1. 18 Jun, 2022 1 commit
    • Jakub Kicinski's avatar
      Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 9fb424c4
      Jakub Kicinski authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2022-06-17
      
      We've added 72 non-merge commits during the last 15 day(s) which contain
      a total of 92 files changed, 4582 insertions(+), 834 deletions(-).
      
      The main changes are:
      
      1) Add 64 bit enum value support to BTF, from Yonghong Song.
      
      2) Implement support for sleepable BPF uprobe programs, from Delyan Kratunov.
      
      3) Add new BPF helpers to issue and check TCP SYN cookies without binding to a
         socket especially useful in synproxy scenarios, from Maxim Mikityanskiy.
      
      4) Fix libbpf's internal USDT address translation logic for shared libraries as
         well as uprobe's symbol file offset calculation, from Andrii Nakryiko.
      
      5) Extend libbpf to provide an API for textual representation of the various
         map/prog/attach/link types and use it in bpftool, from Daniel Müller.
      
      6) Provide BTF line info for RV64 and RV32 JITs, and fix a put_user bug in the
         core seen in 32 bit when storing BPF function addresses, from Pu Lehui.
      
      7) Fix libbpf's BTF pointer size guessing by adding a list of various aliases
         for 'long' types, from Douglas Raillard.
      
      8) Fix bpftool to readd setting rlimit since probing for memcg-based accounting
         has been unreliable and caused a regression on COS, from Quentin Monnet.
      
      9) Fix UAF in BPF cgroup's effective program computation triggered upon BPF link
         detachment, from Tadeusz Struk.
      
      10) Fix bpftool build bootstrapping during cross compilation which was pointing
          to the wrong AR process, from Shahab Vahedi.
      
      11) Fix logic bug in libbpf's is_pow_of_2 implementation, from Yuze Chi.
      
      12) BPF hash map optimization to avoid grabbing spinlocks of all CPUs when there
          is no free element. Also add a benchmark as reproducer, from Feng Zhou.
      
      13) Fix bpftool's codegen to bail out when there's no BTF, from Michael Mullin.
      
      14) Various minor cleanup and improvements all over the place.
      
      * https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (72 commits)
        bpf: Fix bpf_skc_lookup comment wrt. return type
        bpf: Fix non-static bpf_func_proto struct definitions
        selftests/bpf: Don't force lld on non-x86 architectures
        selftests/bpf: Add selftests for raw syncookie helpers in TC mode
        bpf: Allow the new syncookie helpers to work with SKBs
        selftests/bpf: Add selftests for raw syncookie helpers
        bpf: Add helpers to issue and check SYN cookies in XDP
        bpf: Allow helpers to accept pointers with a fixed size
        bpf: Fix documentation of th_len in bpf_tcp_{gen,check}_syncookie
        selftests/bpf: add tests for sleepable (uk)probes
        libbpf: add support for sleepable uprobe programs
        bpf: allow sleepable uprobe programs to attach
        bpf: implement sleepable uprobes by chaining gps
        bpf: move bpf_prog to bpf.h
        libbpf: Fix internal USDT address translation logic for shared libraries
        samples/bpf: Check detach prog exist or not in xdp_fwd
        selftests/bpf: Avoid skipping certain subtests
        selftests/bpf: Fix test_varlen verification failure with latest llvm
        bpftool: Do not check return value from libbpf_set_strict_mode()
        Revert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK"
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20220617220836.7373-1-daniel@iogearbox.netSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      9fb424c4
  2. 17 Jun, 2022 39 commits