Skip to content

bpf: Fix issues caused by bpf trampoline

Yafang Shao bpf 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: Add __rcu_read_{lock,unlock} into btf id deny listkernel/bpf/verifier.c+4 -00 repliesApplied
2/2fork: Rename mm_init to task_mm_initkernel/fork.c+3 -311 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/2] bpf: Fix issues caused by bpf trampoline

The panic caused by fentry[1] drives me to write a testcase[2] to check if it safe to attach other kernel functions. Unsurprisingly it catches some issues. This patchset fixes them.

[1]. https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=c11bd046485d7bf1ca200db0e7d0bdc4bafdd395
[2]. https://github.com/laoar/ebpf/tree/main/fentry

Yafang Shao (2):
bpf: Add __rcu_read_{lock,unlock} into btf id deny list
fork: Rename mm_init to task_mm_init

 kernel/bpf/verifier.c | 4 ++++
 kernel/fork.c         | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.3.1