Subject: Re: kern/13615: NetBSD current requires a .note.netbsd.ident section
To: Todd Vierling <tv@wasabisystems.com>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: netbsd-bugs
Date: 08/05/2001 19:20:34
> On Sat, 4 Aug 2001, Emmanuel Dreyfus wrote:
>
> : > Further, the error message printed when you run such a binary is totally
> : > unhelpful.
> The best solution is to fix shells so they will not run scripts `manually'
> by default if exec*() returns ENOEXEC. Scripts properly prepended with a
> magic number (the #! marker) will be started up by the kernel as expected
> anyway; only those scripts with no magic number would fail. This would weed
> out the possibility of running a foreign binary as a script.
Well the problem here is that we don't maintain local versions of all
shells. bash, tcsh or zsh are not in our CVS, for instance.
--
Emmanuel Dreyfus. Cette signature vous est fournie telle quelle, sans
aucune garantie de fonctionnement. En la lisant, vous acceptez
implicitement tous les degats qu'elle pourrait causer, materiellement
ou logiciellement. manu@netbsd.org