Subject: Re: more on non-executable mappings vs. emulations
To: Chuck Silvers <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 07/14/2004 08:28:46
On Jul 13, 11:12pm, firstname.lastname@example.org (Chuck Silvers) wrote:
-- Subject: Re: more on non-executable mappings vs. emulations
| On Mon, Jul 12, 2004 at 12:59:18PM -0400, Christos Zoulas wrote:
| > | the ppc ELF tool should be trivial, I'll write it this evening.
| there's a source file attached that implements this.
| I was thinking we could make a pkg for it and have the suse73_base pkg
| have a BUILD_DEPENDS on it, then we can fix the broken ldconfig binary
| as we install it.
Wow, I did not think that it would be that simple. Let's see what the
pkgsrc people think about it.
| > | 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.
Thanks for solving the problem(s)!