Subject: Re: build paxctl on non-elf hosts
To: Christos Zoulas <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 11/21/2006 22:34:36
On Tue, Nov 21, 2006 at 09:08:08PM +0000, Christos Zoulas wrote:
> In article <20061121143331.GA25910@asim.lip6.fr>,
> Manuel Bouyer <email@example.com> wrote:
> >current tools fails to build on darwin because paxctl can't find elf.h.
> >Would anyone object to the attached patch ? I think it's better to use
> >our elf.h anyway, as the tool is supposed to operate on cross-compiled
> >elf.h is sys/sys/exec_elf.h without the machdep defines, which paxctl
> >doesn't use.
> Sure, but why don't you add a define to protect the machdep header,
> and then copy the header as needed instead of checking in a copy?
Well, I just copied what other tools needing bits of exec_elf.h have done :)
Manuel Bouyer <firstname.lastname@example.org>
NetBSD: 26 ans d'experience feront toujours la difference