Messages in this thread | | | Date | Wed, 01 Oct 2014 11:13:55 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86, kaslr: avoid setup_data when picking location |
| |
On 10/01/2014 11:08 AM, Kees Cook wrote: >> >> The use of (u64) in the assignment to avoid.start gives a nuisance >> warning on 32 bits. > > Ah, good catch! This should be (unsigned long), I think. Shall I send > a follow-up patch, or do you want to fix this directly? >
Please do.
In theory it is possible for a bootloader to put an object above 4G even for a 32-bit kernel, but that is likely to break any kind of other things, so I'm not worried about it. You don't need to worry about avoiding such a zone, the problem is mostly that you can't follow the list any further without adding PAE-handling code.
-hpa
| |