Re: [RFC PATCH] x86/Kconfig: Disable KASLR on debug builds

From: Mark Rutland
Date: Mon Dec 04 2023 - 12:20:12 EST


On Mon, Dec 04, 2023 at 04:49:54PM +0100, Borislav Petkov wrote:
> On Mon, Dec 04, 2023 at 10:42:15AM +0000, Mark Rutland wrote:
> > Later, in December 2016 we made KCOV adjust the address to remove the KASLR
> > offset in commit:
> >
> > 4983f0ab7ffaad1e ("kcov: make kcov work properly with KASLR enabled")
>
> Neat trick, I should remember that. Might come in handy.
>
> > ... so I think that's been stale for ~7 years, and we just forgot to clean up
> > the Kconfig.debug text.
>
> Ok, I guess you'll clean it up then.

Sure; done:

https://lore.kernel.org/lkml/20231204171807.3313022-1-mark.rutland@xxxxxxx/

Mark.