Subject: Re: build paxctl on non-elf hosts
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 11/21/2006 21:08:08
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
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?