https://bugs.winehq.org/show_bug.cgi?id=47944
--- Comment #8 from Michel Terrisse mterrisse@free.fr --- Created attachment 65491 --> https://bugs.winehq.org/attachment.cgi?id=65491 Executables and source code to help reproducing the problem
Hello,
I created a dll with a shared section (C language, Visual Studio 2013) and a program to load it (Pascal language, Delphi 10.3.2). If I run it with Wine64 (4.17) under macOS 10.15 Catalina I receive: 003b:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem? 003b:err:module:map_image Could not map shared section .sdata
and in the system log I can read Library load (/private/tmp/.wine-1604910507/server-1000004-86265/anonmap.0NtRsH) rejected: library load disallowed by system policy
So this is very similar to what happens with CEF, except that with CEF I don't have this message: 003b:err:module:map_image Could not map shared section .sdata
So is there something else that a shared section in a library that can make wineserver generate and load a library like /tmp/.wine-1604910507/server-1000004-86265/anonmap.0NtRsH ?
Regards,
Michel Terrisse