lkml.org 
[lkml]   [2019]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] x86/mmap: handle worst-case heap randomization in mmap_base
Date


> 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
\
 
 \ /
  Last update: 2019-03-17 16:52    [W:0.087 / U:27.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site