RE: [PATCH 0/3] Unexport kallsyms_lookup_name() and kallsyms_on_each_symbol()

From: David Laight
Date: Fri Feb 21 2020 - 10:41:42 EST


From: Will Deacon
> Sent: 21 February 2020 11:44
> Hi folks,
>
> Despite having just a single modular in-tree user that I could spot,
> kallsyms_lookup_name() is exported to modules and provides a mechanism
> for out-of-tree modules to access and invoke arbitrary, non-exported
> kernel symbols when kallsyms is enabled.

Now where did I put that kernel code that opens /proc/kallsyms and
then reads it to find the addresses of symbols ...

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)