https://bugs.winehq.org/show_bug.cgi?id=21232
--- Comment #41 from Fabian Maurer dark.shadow4@web.de --- Created attachment 61800 --> https://bugs.winehq.org/attachment.cgi?id=61800 Provide hookable 64bit native api thunks
I created an experimental patch to run x64 chrome without "--no-sandbox".
Please note that this is mostly a PoC still, it's not very tested yet. And possibly broken on non-Linux platforms. I only tested pure 64bit wine on Linux with google chrome.
The concept is the one I proposed in Comment 37, and subjective speed seems acceptable. The patch is built on top of wine-staging, extending the work that already was done.
Note that we need to register the signal handler early and then overwrite it, since the ntapi is used pretty early on (might be able to get rid of that). We also need to set SystemCallPad twice, because it needs to be set pretty early on too, but would get overwritten later.
Can someone test if that fixes the issue for you too? If you find it causes issues, please tell me.