1 |
On 1 Aug 2012 at 8:41, Michael Orlitzky wrote: |
2 |
|
3 |
> Thanks, here are strace -f logs from both the hardened box (where it |
4 |
> fails) and a vanilla gentoo x86 VM (where it works). |
5 |
|
6 |
mmap2(NULL, 307200000, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate memory) |
7 |
|
8 |
this can fail for several reasons, not enough RAM (depends on how overcommit is set), |
9 |
not enough address space (hardened/PIE and ASLR together change how big the holes in |
10 |
the address space end up, SEGMEXEC halves the address space), etc. |