Messages in this thread | | | From | "Saidi, Ali" <> | Subject | Re: [PATCH 2/2] x86/mmap: handle worst-case heap randomization in mmap_base | Date | Sun, 17 Mar 2019 15:52:08 +0000 |
| |
> On Mar 13, 2019, at 11:26 AM, Dave Hansen <dave.hansen@intel.com> wrote: > >> On 3/12/19 10:32 AM, Ali Saidi wrote: >> + /* Provide space for brk randomization */ >> + pad += SZ_32M; > > Just curious: Why is the padding in your other patch conditional on the > 32-bit vs. 64-bit apps, but here it's always 32M? Arm changes the amount of brk based on the process being 32 vs 64 bit. X86 doesn’t appear to do this. > > Also, did you hit this problem in practice somehow?
Just debugging a crash when testing a version of a library I compiled.
Ali
| |