Re: [PATCH v2 1/3] module: verify address is read-only
From: Stephen Hemminger
Date: Mon Feb 20 2017 - 12:14:27 EST
On Fri, 17 Feb 2017 21:58:42 -0800
"Eddie Kovsky" <ewk@xxxxxxxxxxxx> wrote:
> Implement a mechanism to check if a module's address is in
> the rodata or ro_after_init sections. It mimics the exsiting functions
> that test if an address is inside a module's text section.
>
> Signed-off-by: Eddie Kovsky <ewk@xxxxxxxxxxxx>
I don't see the point of this for many of the hyper-v functions.
They are only called from a small number of places, and this can be validated
by code inspection. Adding this seems just seems to be code bloat to me.