Re: [PATCH modules-next v10 00/13] kallsyms: reliable symbol->address lookup with /proc/kallmodsyms

From
Luis Chamberlain <mcgrof@kernel.org>
Date
2023-05-23 00:41:02
Also in
bpf, linux-modules, lkml
Reply to
Alexander Lobakin, 2023-05-19
On Fri, May 19, 2023 at 05:50:35PM +0200, Alexander Lobakin wrote:
FYI for devs: I posted RFC of kallsyms with file paths almost a year
ago[0], but it went unnoticed =\

`file name + function name` is not a unique pair: in one of FG-KASLR
discussions, someone even wrote simple script, which showed around 40
collisions in the kernel. My approach was to include file path starting
at the kernel root folder, i.e. `net/core/dev.o:register_netdev`.
I'm not sure why no comments happened back then tho. Maybe you could
take a look, I'm pretty busy with other projects, but if you find
anything useful there in the RFC, I could join to a little bit.

[0]
https://lore.kernel.org/all/20220818115306.1109642-1-alexandr.lobakin@intel.com (local)
Petr suggested line number too, that'd fix it too.

  Luis
Thread (27 messages) 27 messages, 9 authors, last reply 2023-05-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help