Re: [PATCH 1/3] kallsyms: don't leak address when symbol not found

From: Tobin C. Harding
Date: Mon Dec 18 2017 - 19:24:32 EST


On Mon, Dec 18, 2017 at 06:43:24PM -0500, Steven Rostedt wrote:
> On Tue, 19 Dec 2017 09:41:29 +1100
> "Tobin C. Harding" <me@xxxxxxxx> wrote:
>
> > Current suggestion on list is to remove this function. Do you have a use
> > case in mind where debugging will break? We could add a fix to this
> > series if so. Otherwise next version will likely drop
> > string_is_no_symbol()
>
> What about adding a kernel command line parameter that lets one put
> back the old behavior.
>
> "insecure_print_all_symbols" ?

Cool. I've not done that before it will be a good learning
experience. I'll hack it up and see what people think.

thanks,
Tobin.