On Wed, Feb 18, 2009 at 5:33 PM, Vincent Povirk <madewokherd+8...@gmail.com> wrote: >> 2009/2/18 IneedAname <wineap...@googlemail.com>: >>> Why not make Wine honor the noexe flag on the mount? >> >> This might not be a bad idea, if it's possible. Make Wine refuse to >> run apps on noexec filesystems. > > This already doesn't work, even though Wine doesn't account for it. > Wine can't mount sections of an exe file with executable permissions > if it's on a noexec filesystem. It crashes trying to branch to the > entry point. > > >
It could, for some executables, still work on a noexec filesystem, due to http://wiki.winehq.org/UnalignedMmap copying data instead of mmaping it. Regards Damjan