[Mono-list] We need Linux.NET Stub

Jaroslaw Kowalski jaak@zd.com.pl
Wed, 26 May 2004 10:29:48 +0200


AFAIK Both Windows XP and Windows 2003 don't use the stubs at all.
Instead the EXE loader has a special feature which detects .NET assemblies
and instead of running them as normal executables it passes them to
mscoree.dll.

Linux + binfmt_misc does exactly the same thing and I think it should be
left this way.

There was once a report of a "first .NET virus" which used nothing but a
modified stub. WinXP and Win2003 didn't use the stubs so they were not
vulnerable.

Jarek

----- Original Message ----- 
From: "Martin Olsson" <mnemo@minimum.se>
To: <mono-list@lists.ximian.com>; "Fredrik Hedberg"
<fhedberg-mono-lists@avafan.com>
Sent: Wednesday, May 26, 2004 10:21 AM
Subject: Re: [Mono-list] We need Linux.NET Stub


>
> This is the same thing that's given in the FAQ but I dont need this. I
> cannot possibly rely on this at the end-user, what if their kernel does
> not have support for it? Should I recompile their kernel in the
> installation program? Seems insane. Also the problems with Wine.
>
> As I said below, what I would like to use it a pure native Linux stub
> instead. Would not that be rather easy to create? Anyone tried?
>
>
> Regards,
> /m
>
> Fredrik Hedberg wrote:
> > http://www.osnews.com/story.php?news_id=6795
> >
> > 2nd tip
> >
> > /Fredrik
> >
> > On Tue, 2004-05-25 at 15:50, Martin Olsson wrote:
> >
> >>Hi Mono-guys,
> >>
> >>I saw in the FAQ that mono apps are called using "mono hello.exe" but in
> >>Windows you can run them directly because the hello.exe program is
> >>essentially just a stub that kicks the interpreter going.
> >>
> >>Now, I read in the FAQ that there is a hack which avoids the "mono
> >>hello.exe" problem but do you guys have any plans to implement real
> >>Linux/MacOS/HP-UX stubs? They would be basically the same as the Win
dows
> >>.NET .exe files but they would be native to their respective system.
> >>
> >>Is anyone working on that?
> >>
> >>
> >>
> >>Regards,
> >>/m
> >>
> >>_______________________________________________
> >>Mono-list maillist  -  Mono-list@lists.ximian.com
> >>http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>