Re: [RFC PATCH 3/3] kallsyms: add option to include relative filepaths into kallsyms

From: Greg KH
Date: Thu Aug 18 2022 - 10:11:19 EST


On Thu, Aug 18, 2022 at 03:56:29PM +0200, Alexander Lobakin wrote:
> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> Date: Thu, 18 Aug 2022 14:23:43 +0200
>
> > On Thu, Aug 18, 2022 at 01:53:06PM +0200, Alexander Lobakin wrote:
> > > Currently, kallsyms kernel code copes with symbols with the same
> > > name by indexing them according to their position in vmlinux and
> > > requiring to provide an index of the desired symbol. This is not
> > > really quite reliable and is fragile to any features performing
> > > symbol or section manipulations such as FG-KASLR.
> >
> > Ah, here's the reasoning, stuff like this should go into the 0/X message
> > too, right?
> >
> > Anyway, what is currently broken that requires this? What will this
> > make easier in the future? What in the future will depend on this?
>
> 2) FG-KASLR will depend and probably some more crazy hardening
> stuff. And/or perf-based function/symbol placement, which is
> in the "discuss and dream sometimes" stage.

I have no idea what "FG-KASLR" is. Why not submit these changes when
whatever that is is ready for submission?

thanks,

greg k-h