[RFC PATCH] advapi32: Use Windows APIs to read /dev/urandom.

Paul Gofman pgofman at codeweavers.com
Fri Sep 4 07:56:26 CDT 2020


On 9/4/20 15:49, Gabriel Ivăncescu wrote:
> On 04/09/2020 14:15, Hans Leidekker wrote:
>
> Another idea would be to use the Linux syscall directly, with inline 
> asm, which should work from PE too. Right?
>
>
Please, no. While we do not emulate Win syscalls in mainstream Wine, 
there are patches for that (which do that for some cases) in Proton and 
Staging. There is a chance Linux kernel will get some new api which will 
allow us to emulate Windows syscalls universally. I suppose making 
native syscalls from PE code should be a big no-no.





More information about the wine-devel mailing list