Re: [PATCH v3 1/7] x86, kaslr: Use init_size instead of run_size

From: Yinghai Lu
Date: Mon Mar 09 2015 - 16:06:08 EST


On Mon, Mar 9, 2015 at 1:00 PM, Borislav Petkov <bp@xxxxxxx> wrote:
> On Mon, Mar 09, 2015 at 12:35:25PM -0700, Yinghai Lu wrote:
>> Can you put back:
>> "
>> So need to make sure [z_extra_offset, init_size) will fit ZO, that means
>> init_size need to be adjusted according to ZO size.
>> That make init_size is always >= run_size.
>
> Why?
>
> We don't adjust init_size. We assign INIT_SIZE to it. Or do you want to
> say that we indirectly adjust init_size through INIT_SIZE?

Yes. Just to emphasize that " We need to make sure [z_extra_offset,
init_size) will fit ZO"
--
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/