Re: [PATCH bpf-next 2/2] bpf: Add show_fdinfo for kprobe_multi

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

 



On Thu, Jun 12, 2025 at 7:52 PM Tao Chen <chen.dylane@xxxxxxxxx> wrote:
>
> 在 2025/6/13 00:01, Alexei Starovoitov 写道:
> > On Thu, Jun 12, 2025 at 4:56 AM Tao Chen <chen.dylane@xxxxxxxxx> wrote:
> >>
> >> Show kprobe_multi link info with fdinfo, the info as follows:
> >>
> >> link_type:      kprobe_multi
> >> link_id:        4
> >> prog_tag:       279dd9c09dfbc757
> >> prog_id:        30
> >> type:   kprobe_multi
> >> func_cnt:       8
> >> missed: 0
> >> addr:   0xffffffff81ecb1e0
> >
> > fdinfo shouldn't print kernel addresses.
> > It defeats kaslr
> >
>
> How about print the function name corresponding of the address, or
> don't show the addr info.

Yeah. That would be much better. human readable unlike hex.





[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