Subject: Re: ELF binary recognition
To: =?ISO-8859-1?Q?Jarom=EDr_Dolecek?= <jdolecek@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 06/02/2001 10:50:54
> Currently, if an ELF binary is not claimed by particular emulation,
> it's run as NetBSD binary.

This is a bug. It should be positively identified as a NetBSD/elf binary
before attempting to run it.

> What do you think would be the best way to handle this? It would
> be a bit tedious to change the compat code so that that the signature
> checks would be done even when the emulation is not configured in.

The non-configured emulations signature checks are not needed here, we just
have to check for NetBSD.

My 2 cent (= 1/100 Euro in this case, so probably $0.0188)


Martin