[PATCH] arm64: kernel: Add module symbols _text, _etext.

Christoph Hellwig hch at infradead.org
Thu Jul 9 07:01:07 EDT 2020


On Thu, Jul 09, 2020 at 10:49:51AM +0100, Will Deacon wrote:
> On Thu, Jul 09, 2020 at 05:23:45PM +0900, sanggil2.kim at samsung.com wrote:
> > From: Sanggil Kim <sanggil2.kim at samsung.com>
> > 
> > We have a solution to protect kernel code section(autually from _text to
> > _etext) by not MMU. In order to do this, we have to know the addresses
> > of _text and _etext at runtime.
> 
> Interesting! Can you post patches so that we can implement this solution
> upstream? Without an in-tree user, we won't be exporting these symbols.

And even with that I'm pretty sure the code doing the 'protection'
should be built-in and not modular..



More information about the linux-arm-kernel mailing list