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

From: Will Deacon
Date: Thu Jul 09 2020 - 05:49:58 EST


On Thu, Jul 09, 2020 at 05:23:45PM +0900, sanggil2.kim@xxxxxxxxxxx wrote:
> From: Sanggil Kim <sanggil2.kim@xxxxxxxxxxx>
>
> 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.

Thanks,

Will