[PATCH] ntdll: Handle executable file mappings from noexec filesystems

Marcus Meissner meissner at suse.de
Fri Dec 10 08:22:12 CST 2010

On Fri, Dec 10, 2010 at 03:08:26PM +0100, Alexandre Julliard wrote:
> Marcus Meissner <meissner at suse.de> writes:
> > The issue is that it worked before my last patch and still works.
> >
> > Or should we take care of not executing stuff from "noexec" filesystems
> > as kind of policy rule?
> Yes. On systems that enforce this correctly, if you ignore the error at
> that point you'll then get a mysterious crash when the app actually
> tries to execute code.

I guess my x86_64 system does ... 

At least map_file will copy the stuff into a new anon mapping and so make
it work. quake2 at least runs fully from a "noexec" mounted USB stick.

Anyway, what kind of warning would you suggest? A FIXME?

Ciao, Marcus

More information about the wine-devel mailing list