In article <20181203183537.ga1...@antioche.eu.org>,
Manuel Bouyer  <bou...@antioche.eu.org> wrote:
>On Mon, Dec 03, 2018 at 12:54:26PM +0100, Maxime Villard wrote:
>> In other words, 80% of KASLR is enabled by default, regardless of #ifdef
>> KASLR. Therefore, it is wrong to add an ifdef, because in either case we
>
>So there's no way to completely disable KASLR now ?
>Although I admit it's usefull to have it on by default, there should be a way
>to turn it off for low-level debugging

I don't think that the things that KASLR randomizes by default are useful
to debugging. I.e. you can't depend on two successive kernel crashes to
have identical PTE addresses; OTOH you can depend that the text addresses
are the same (which are for GENERIC and are not for GENERIC_KASLR).

christos

Reply via email to