Re: [PATCH 0/3] CONFIG_DEBUG_SET_MODULE_RONX fixups

From: Kees Cook
Date: Wed Feb 25 2015 - 17:18:01 EST


On Wed, Feb 25, 2015 at 2:14 PM, Laura Abbott <lauraa@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> CONFIG_DEBUG_SET_MODULE_RONX is currently non-functional on arm and arm64
> because of changes in behavior of is_module_addr. This series fixes
> both arm and arm64 to work correctly and corrects a minor bug
> related to section alignment in modules.
>
> Laura Abbott (3):
> arm64: Don't use is_module_addr in setting page attributes
> arm: Don't use is_module_addr in setting page attributes
> kernel/module.c: Update debug alignment after symtable generation
>
> arch/arm/mm/pageattr.c | 5 ++++-
> arch/arm64/mm/pageattr.c | 5 ++++-
> kernel/module.c | 2 ++
> 3 files changed, 10 insertions(+), 2 deletions(-)

Thanks for fixing this!

Out of curiosity, which change broke DEBUG_SET_MODULE_RONX ? (i.e.
does this need a CC: stable, and if so, through which release?)

Regardless, consider them:

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

Thanks!

-Kees

--
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/