lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQKZbVHX_juvWqP-BZ77+TLfF73qnoV-7uDe5LxJsf4=9A@mail.gmail.com>
Date: Fri, 13 Jun 2025 10:31:49 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Tao Chen <chen.dylane@...ux.dev>
Cc: Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, 
	Andrii Nakryiko <andrii@...nel.org>, Martin KaFai Lau <martin.lau@...ux.dev>, Eduard <eddyz87@...il.com>, 
	Song Liu <song@...nel.org>, Yonghong Song <yonghong.song@...ux.dev>, 
	John Fastabend <john.fastabend@...il.com>, KP Singh <kpsingh@...nel.org>, 
	Stanislav Fomichev <sdf@...ichev.me>, Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>, 
	Matt Bobrowski <mattbobrowski@...gle.com>, Steven Rostedt <rostedt@...dmis.org>, 
	Masami Hiramatsu <mhiramat@...nel.org>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, 
	bpf <bpf@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>, 
	linux-trace-kernel <linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH bpf-next 2/2] bpf: Add show_fdinfo for kprobe_multi

On Thu, Jun 12, 2025 at 7:52 PM Tao Chen <chen.dylane@...ux.dev> wrote:
>
> 在 2025/6/13 00:01, Alexei Starovoitov 写道:
> > On Thu, Jun 12, 2025 at 4:56 AM Tao Chen <chen.dylane@...ux.dev> 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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ