mbox series

[bpf-next,0/3] bpf: __bpf_dynptr_data* and __str annotation

Message ID 20231107045725.2278852-1-song@kernel.org (mailing list archive)
Headers show
Series bpf: __bpf_dynptr_data* and __str annotation | expand

Message

Song Liu Nov. 7, 2023, 4:57 a.m. UTC
This set contains the first 3 patches of set [1]. Currently, [1] is waiting
for [3] to be merged to bpf-next tree. So send these 3 patches first to
unblock other works, such as [2]. This set is verified with new version of
[1] in CI run [4].

Changes since v12 of [1]:
1. Reuse bpf_dynptr_slice() in __bpf_dynptr_data(). (Andrii)
2. Add Acked-by from Vadim Fedorenko.

[1] https://lore.kernel.org/bpf/20231104001313.3538201-1-song@kernel.org/
[2] https://lore.kernel.org/bpf/20231031134900.1432945-1-vadfed@meta.com/
[3] https://lore.kernel.org/bpf/20231031215625.2343848-1-davemarchevsky@fb.com/
[4] https://github.com/kernel-patches/bpf/actions/runs/6779945063/job/18427926114

Song Liu (3):
  bpf: Add __bpf_dynptr_data* for in kernel use
  bpf: Factor out helper check_reg_const_str()
  bpf: Introduce KF_ARG_PTR_TO_CONST_STR

 Documentation/bpf/kfuncs.rst |  24 ++++++++
 include/linux/bpf.h          |   2 +
 kernel/bpf/helpers.c         |  19 +++++++
 kernel/bpf/verifier.c        | 104 +++++++++++++++++++++++------------
 kernel/trace/bpf_trace.c     |  12 ++--
 5 files changed, 121 insertions(+), 40 deletions(-)

--
2.34.1

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 7, 2023, 6:10 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Mon,  6 Nov 2023 20:57:22 -0800 you wrote:
> This set contains the first 3 patches of set [1]. Currently, [1] is waiting
> for [3] to be merged to bpf-next tree. So send these 3 patches first to
> unblock other works, such as [2]. This set is verified with new version of
> [1] in CI run [4].
> 
> Changes since v12 of [1]:
> 1. Reuse bpf_dynptr_slice() in __bpf_dynptr_data(). (Andrii)
> 2. Add Acked-by from Vadim Fedorenko.
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/3] bpf: Add __bpf_dynptr_data* for in kernel use
    https://git.kernel.org/bpf/bpf-next/c/afa58570c3f4
  - [bpf-next,2/3] bpf: Factor out helper check_reg_const_str()
    https://git.kernel.org/bpf/bpf-next/c/d8ace21aece8
  - [bpf-next,3/3] bpf: Introduce KF_ARG_PTR_TO_CONST_STR
    https://git.kernel.org/bpf/bpf-next/c/6d857121c63b

You are awesome, thank you!