lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230308193533.1671597-1-andrii@kernel.org>
Date:   Wed, 8 Mar 2023 11:35:33 -0800
From:   Andrii Nakryiko <andrii@...nel.org>
To:     <davem@...emloft.net>
CC:     <kuba@...nel.org>, <pabeni@...hat.com>, <edumazet@...gle.com>,
        <daniel@...earbox.net>, <ast@...nel.org>, <andrii@...nel.org>,
        <martin.lau@...ux.dev>, <netdev@...r.kernel.org>,
        <bpf@...r.kernel.org>
Subject: pull-request: bpf-next 2023-03-08

Hi David, hi Jakub, hi Paolo, hi Eric,

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

We've added 23 non-merge commits during the last 2 day(s) which contain
a total of 28 files changed, 414 insertions(+), 104 deletions(-).

The main changes are:

1) Add more precise memory usage reporting for all BPF map types, from
   Yafang Shao.

2) Add ARM32 USDT support to libbpf, from Puranjay Mohan.

3) Fix BTF_ID_LIST size causing problems in !CONFIG_DEBUG_INFO_BTF, from
   Nathan Chancellor.

4) IMA selftests fix, from Roberto Sassu.

5) libbpf fix in APK support code, from Daniel Müller.

Please consider pulling these changes from:

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

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Andrii Nakryiko, David Vernet, Hou Tao, Matt Bobrowski, Tom Rix

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

The following changes since commit 36e5e391a25af28dc1f4586f95d577b38ff4ed72:

  Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (2023-03-06 20:36:39 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git 

for you to fetch changes up to 12fabae03ca6474fd571bf6ddb37d009533305d6:

  selftests/bpf: Fix IMA test (2023-03-08 11:15:39 -0800)

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'bpf: bpf memory usage'

Andrii Nakryiko (1):
      Merge branch 'libbpf: usdt arm arg parsing support'

Daniel Müller (1):
      libbpf: Fix theoretical u32 underflow in find_cd() function

Nathan Chancellor (1):
      bpf: Increase size of BTF_ID_LIST without CONFIG_DEBUG_INFO_BTF again

Puranjay Mohan (2):
      libbpf: Refactor parse_usdt_arg() to re-use code
      libbpf: USDT arm arg parsing support

Roberto Sassu (1):
      selftests/bpf: Fix IMA test

Yafang Shao (18):
      bpf: add new map ops ->map_mem_usage
      bpf: lpm_trie memory usage
      bpf: hashtab memory usage
      bpf: arraymap memory usage
      bpf: stackmap memory usage
      bpf: reuseport_array memory usage
      bpf: ringbuf memory usage
      bpf: bloom_filter memory usage
      bpf: cpumap memory usage
      bpf: devmap memory usage
      bpf: queue_stack_maps memory usage
      bpf: bpf_struct_ops memory usage
      bpf: local_storage memory usage
      bpf, net: bpf_local_storage memory usage
      bpf, net: sock_map memory usage
      bpf, net: xskmap memory usage
      bpf: offload map memory usage
      bpf: enforce all maps having memory usage callback

 include/linux/bpf.h                               |   8 +
 include/linux/bpf_local_storage.h                 |   1 +
 include/linux/btf_ids.h                           |   2 +-
 include/net/xdp_sock.h                            |   1 +
 kernel/bpf/arraymap.c                             |  28 ++++
 kernel/bpf/bloom_filter.c                         |  12 ++
 kernel/bpf/bpf_cgrp_storage.c                     |   1 +
 kernel/bpf/bpf_inode_storage.c                    |   1 +
 kernel/bpf/bpf_local_storage.c                    |  10 ++
 kernel/bpf/bpf_struct_ops.c                       |  16 ++
 kernel/bpf/bpf_task_storage.c                     |   1 +
 kernel/bpf/cpumap.c                               |  10 ++
 kernel/bpf/devmap.c                               |  26 ++-
 kernel/bpf/hashtab.c                              |  43 +++++
 kernel/bpf/local_storage.c                        |   7 +
 kernel/bpf/lpm_trie.c                             |  11 ++
 kernel/bpf/offload.c                              |   6 +
 kernel/bpf/queue_stack_maps.c                     |  10 ++
 kernel/bpf/reuseport_array.c                      |   8 +
 kernel/bpf/ringbuf.c                              |  20 ++-
 kernel/bpf/stackmap.c                             |  14 ++
 kernel/bpf/syscall.c                              |  20 +--
 net/core/bpf_sk_storage.c                         |   1 +
 net/core/sock_map.c                               |  20 +++
 net/xdp/xskmap.c                                  |  13 ++
 tools/lib/bpf/usdt.c                              | 196 +++++++++++++---------
 tools/lib/bpf/zip.c                               |   3 +-
 tools/testing/selftests/bpf/prog_tests/test_ima.c |  29 +++-
 28 files changed, 414 insertions(+), 104 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ