Re: CONFIG_X86_X32_ABI silently breaks some fentry hooks

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

 



On Wed, 2024-10-09 at 11:58 -0700, Martin Kelly wrote:
> Hi all, I want to report a very strange issues I found. Specifically,
> on latest master, I found that setting CONFIG_X86_X32_ABI=y causes
> some
> fentry BPF hooks to be silently ignored. Most hooks still work fine,
> but some do not, and the same function works fine as a kprobe. The
> issue appears to be 100% reproducible for a given function hook.
> 

This was root-caused to be the same issue as the one addressed in this
(unmerged) patch series:
https://lore.kernel.org/lkml/20240723063258.2240610-1-zhengyejian@xxxxxxxxxxxxxxx/

Essentially this has to do with ftrace and weak functions.




[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