[RFC PATCH] advapi32: Use Windows APIs to read /dev/urandom.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Fri Sep 4 09:41:11 CDT 2020
On 04/09/2020 15:56, Paul Gofman wrote:
> 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.
>
>
Interesting, how does it differentiate syscalls from PE code and
syscalls from a unix library?
More information about the wine-devel
mailing list