Re: [PATCH v7 1/9] x86/KASLR: Initialize mapping_info every time

From: Yinghai Lu
Date: Mon May 09 2016 - 18:28:39 EST


On Mon, May 9, 2016 at 3:23 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>> The exact reason to have assigning in functions.
>>
>> pgt_data address could be changed during kernel relocation.
>> so can not assigned during compiling time.
>
> Ah-ha, that explains why I had to keep it on the stack. Thanks for the
> clarification!

My fault, I should put that comment in the code at first place.

Thanks

Yinghai