All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] bpf: Fix issues caused by bpf trampoline
@ 2023-04-24 16:11 Yafang Shao
  2023-04-24 16:11 ` [PATCH bpf-next 1/2] bpf: Add __rcu_read_{lock,unlock} into btf id deny list Yafang Shao
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Yafang Shao @ 2023-04-24 16:11 UTC (permalink / raw)
  To: ast, daniel, andrii, kafai, songliubraving, yhs, john.fastabend,
	kpsingh, sdf, haoluo, jolsa
  Cc: bpf, Yafang Shao

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(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-05-10 15:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 16:11 [PATCH bpf-next 0/2] bpf: Fix issues caused by bpf trampoline Yafang Shao
2023-04-24 16:11 ` [PATCH bpf-next 1/2] bpf: Add __rcu_read_{lock,unlock} into btf id deny list Yafang Shao
2023-04-24 16:11 ` [PATCH bpf-next 2/2] fork: Rename mm_init to task_mm_init Yafang Shao
2023-04-24 21:13   ` Alexei Starovoitov
2023-04-27 11:34     ` Yafang Shao
2023-05-02  3:40       ` pahole issue. " Alexei Starovoitov
2023-05-09 15:35         ` Yafang Shao
2023-05-09 17:18           ` Alexei Starovoitov
2023-05-10  5:38             ` Yafang Shao
2023-05-10 13:54               ` Yonghong Song
2023-05-09 18:43         ` Alan Maguire
2023-05-09 21:21           ` Alexei Starovoitov
2023-05-10 13:08             ` Alan Maguire
2023-05-10 15:28               ` Arnaldo Carvalho de Melo
2023-04-24 21:30 ` [PATCH bpf-next 0/2] bpf: Fix issues caused by bpf trampoline patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.