Subject: Re: build paxctl on non-elf hosts
To: Jeff Rizzo <riz@tastylime.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-toolchain
Date: 11/22/2006 10:34:18
On Tue, Nov 21, 2006 at 02:38:43PM -0800, Jeff Rizzo wrote:
> Manuel Bouyer wrote:
> > Hi,
> > 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
> > binaries.
> >
> > elf.h is sys/sys/exec_elf.h without the machdep defines, which paxctl
> > doesn't use.
> >
> >   
> 
> Heh.  I just fixed this problem as well, before seeing your email.  My
> patch is here, and I think I prefer it, if only because it's smaller:
> 
> http://www.tastylime.net/netbsd/paxctl.patch
> 
> 
> ...if there are no objections, I'll check it in.

Yes, it's better than mine. Thanks !

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--