Re: [PATCH bpf-next v2 1/6] kallsyms: Add KALLSYMS_QUERY ioctl to /proc/kallsyms
From: Samuel Wu
Date: Tue Oct 27 2026 - 17:36:39 EST
On Thu, Oct 22, 2026 at 5:51 PM <bot+bpf-ci@xxxxxxxxxx> wrote:
>
> [ ... ]
>
> Should the BY_ADDR path return -ENOENT when kallsyms_lookup() resolves to a
> BPF address (for example, is_bpf_text_address(addr) is true and the address
> is not in vmlinux or a module) unless bpf_jit_kallsyms_enabled() is true?
>
Thanks for the catch. In v3, I'll update BY_ADDR to gate on
bpf_jit_kallsyms_enabled() so hidden BPF JIT symbols return -ENOENT.