Messages in this thread | | | Date | Tue, 16 Aug 2016 23:01:08 +0200 | From | Borislav Petkov <> | Subject | Re: [tip:x86/boot] x86/mm: Enable KASLR for physical mapping memory regions |
| |
On Tue, Aug 16, 2016 at 12:49:52PM -0700, Kees Cook wrote: > Am I misreading this?
No you're not.
> Shouldn't it be: > > cont = container; > #ifdef CONFIG_RANDOMIZE_MEMORY > cont += PAGE_OFFSET - __PAGE_OFFSET_BASE; > #endif > > (otherwise cont is undefined in the RANDOMIZE_MEMORY=n case?)
Thanks for catching this Kees, I'll send a new version in the morning.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |