Subject: Re: more on non-executable mappings vs. emulations
To: Christos Zoulas <christos@zoulas.com>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 07/14/2004 20:02:06
On Wed, Jul 14, 2004 at 08:28:46AM -0400, Christos Zoulas wrote:
> | > | as for the sparc a.out issue, it occurred to me on my morning walk that
> | > | it may be possible to have ld.so mprotect() the relevant parts of itself
> | > | before it needs to execute the incorrectly mapped instructions.
> | > | I'll look into this tonight also.
> |
> | this does work, the attached diff adds some extra instructions at the start
> | of the sparc ld.so that fix up the mapping permissions.
>
> Good; lets add that too.
ok, I checked in that change. I'm not sure what is the right way to get
an updated sparc binary checked in, could someone else take care of that?
-Chuck