bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB testsuite: »Memory at address 0 is possibly executable«


From: Samuel Thibault
Subject: Re: GDB testsuite: »Memory at address 0 is possibly executable«
Date: Sat, 13 Sep 2014 10:08:45 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Samuel Thibault, le Sat 13 Sep 2014 09:54:56 +0200, a écrit :
> I've dug a bit more, glibc's _hurd_startup reserves page 0, so no vm_map
> or vm_allocate call should be allocating at address 0. But with the
> change, address 0 is already taken by the first mapped binary, ld.so. I
> guess exec needs to be fixed, and then we can keep the documented
> behavior.

It's indeed exec's load_section which happens to use the undocumented
behavior, by not taking care of not mapping anything at address 0.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]