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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux