Messages in this thread | | | Subject | Re: [RFC v1 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64) | From | "H. Peter Anvin" <> | Date | Mon, 18 Apr 2016 12:01:34 -0700 |
| |
On April 18, 2016 7:46:05 AM PDT, Joerg Roedel <jroedel@suse.de> wrote: >On Fri, Apr 15, 2016 at 03:03:12PM -0700, Thomas Garnier wrote: >> +#if defined(CONFIG_KASAN) >> +static const unsigned long memory_rand_end = KASAN_SHADOW_START; >> +#elfif defined(CONFIG_X86_ESPFIX64) >> +static const unsigned long memory_rand_end = ESPFIX_BASE_ADDR; >> +#elfif defined(CONFIG_EFI) >> +static const unsigned long memory_rand_end = EFI_VA_START; >> +#else >> +static const unsigned long memory_rand_end = __START_KERNEL_map; >> +#endif > >That #elfif is a typo, right? > > > Joerg
It should be #efif right ;) -- Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.
| |