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

Scott Ritchie scott at open-vote.org
Fri Dec 10 16:05:08 CST 2010


On 12/10/2010 06:44 AM, Alexandre Julliard wrote:
> Marcus Meissner <meissner at suse.de> writes:
> 
>> 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.
> 
> That should be considered a bug. If you mount it noexec it's because you
> don't trust the code that it may contain...
> 

Should we consider doing this for individual binary files as well?
Stock (non-PPA) Ubuntu already forces this through a front-end script,
but I shudder to think how many existing setups we might break with the
change since apps are not executable by default (unless installed by
Wine, thankfully).

Thanks,
Scott Ritchie



More information about the wine-devel mailing list