Subject: Re: COMPAT_FREEBSD problem
To: Christos Zoulas <christos@zoulas.com>
From: None <collver1@attbi.com>
List: netbsd-help
Date: 11/19/2002 12:05:28
This made the binary run. :)
Ben
On Tue, Nov 19, 2002 at 06:57:42PM +0000, Christos Zoulas wrote:
> We are getting there; try changing:
>
> if ((eh->e_ident[EI_BRAND] == '\0'
> || strcmp(&eh->e_ident[EI_BRAND], wantBrand) != 0)
> && eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD)
> return ENOEXEC;
>
> to:
>
> if ((eh->e_ident[EI_BRAND] == '\0'
> || strcmp(&eh->e_ident[EI_BRAND], wantBrand) != 0)
> && (eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD &&
> eh->e_ident[EI_OSABI] != 0))
> return ENOEXEC;
>
> christos