mbox series

[v2,bpf-next,0/5] Libbpf API and memfd_create() fixes

Message ID 20240201172027.604869-1-andrii@kernel.org (mailing list archive)
Headers show
Series Libbpf API and memfd_create() fixes | expand

Message

Andrii Nakryiko Feb. 1, 2024, 5:20 p.m. UTC
Few small fixes identified over last few days. Main fix is for memfd_create()
which causes problems on Android platforms. See individual patches for
details.

v1->v2:
  - added extra Fixes tag in patch #2 (Yonghong);
  - improved commit message in patch #5 (Yonghong).

Andrii Nakryiko (5):
  libbpf: call memfd_create() syscall directly
  libbpf: add missing LIBBPF_API annotation to libbpf_set_memlock_rlim
    API
  libbpf: add btf__new_split() API that was declared but not implemented
  libbpf: add missed btf_ext__raw_data() API
  selftests/bpf: fix bench runner SIGSEGV

 tools/lib/bpf/bpf.h                 |  2 +-
 tools/lib/bpf/btf.c                 | 11 ++++++++++-
 tools/lib/bpf/libbpf.c              | 11 ++++++++++-
 tools/lib/bpf/libbpf.map            |  5 +++--
 tools/lib/bpf/linker.c              |  2 +-
 tools/testing/selftests/bpf/bench.c | 12 ++++++++++--
 6 files changed, 35 insertions(+), 8 deletions(-)

Comments

Eduard Zingerman Feb. 1, 2024, 6:40 p.m. UTC | #1
On Thu, 2024-02-01 at 09:20 -0800, Andrii Nakryiko wrote:
> Few small fixes identified over last few days. Main fix is for memfd_create()
> which causes problems on Android platforms. See individual patches for
> details.
> 
> v1->v2:
>   - added extra Fixes tag in patch #2 (Yonghong);
>   - improved commit message in patch #5 (Yonghong).

Full patch-set looks good to me.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
patchwork-bot+netdevbpf@kernel.org Feb. 1, 2024, 9:30 p.m. UTC | #2
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Thu,  1 Feb 2024 09:20:22 -0800 you wrote:
> Few small fixes identified over last few days. Main fix is for memfd_create()
> which causes problems on Android platforms. See individual patches for
> details.
> 
> v1->v2:
>   - added extra Fixes tag in patch #2 (Yonghong);
>   - improved commit message in patch #5 (Yonghong).
> 
> [...]

Here is the summary with links:
  - [v2,bpf-next,1/5] libbpf: call memfd_create() syscall directly
    https://git.kernel.org/bpf/bpf-next/c/9fa5e1a180aa
  - [v2,bpf-next,2/5] libbpf: add missing LIBBPF_API annotation to libbpf_set_memlock_rlim API
    https://git.kernel.org/bpf/bpf-next/c/93ee1eb85e28
  - [v2,bpf-next,3/5] libbpf: add btf__new_split() API that was declared but not implemented
    https://git.kernel.org/bpf/bpf-next/c/c81a8ab196b5
  - [v2,bpf-next,4/5] libbpf: add missed btf_ext__raw_data() API
    https://git.kernel.org/bpf/bpf-next/c/b9551da8cf3a
  - [v2,bpf-next,5/5] selftests/bpf: fix bench runner SIGSEGV
    https://git.kernel.org/bpf/bpf-next/c/943b043aeecc

You are awesome, thank you!