Thomas Schwinge, le Tue 12 Feb 2013 12:00:05 +0100, a écrit :
> What the Linux kernel is doing, at least the 3.2 kernel on x86 that I've
> been testing on, is putting the "beginning of the program break" in the
> 512 MiB area, 0x2xxxxxxx.  I have not yet figured out why exactly this
> region.  As I understand it, that would be mm->start_brk, initialized in
> fs/binfmt_elf.c:set_brk, called from a few places.  Will continue to
> track this down unless you already know.

I don't know.

> When adding a test case to glibc, I noticed your hack doesn't play nicely
> with setrlimit as used by test-skeleton.c, so that may need some
> follow-up tweaking, too.
> 
> 
> And then, I found GDB also doesn't like PIE binaries...  ;-)

Yes...

Samuel

Reply via email to