Subject: Re: build paxctl on non-elf hosts
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 11/21/2006 21:08:08
In article <20061121143331.GA25910@asim.lip6.fr>,
Manuel Bouyer <firstname.lastname@example.org> 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
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?