Gentoo Archives: gentoo-hardened

From: PaX Team <pageexec@××××××××.hu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] pthread_create problems on hardened x86
Date: Wed, 01 Aug 2012 15:02:50
Message-Id: 50192A67.16842.10F8396@pageexec.freemail.hu
In Reply to: Re: [gentoo-hardened] pthread_create problems on hardened x86 by Michael Orlitzky
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.

Replies

Subject Author
Re: [gentoo-hardened] pthread_create problems on hardened x86 Michael Orlitzky <michael@××××××××.com>