https://bugs.winehq.org/show_bug.cgi?id=45550
--- Comment #39 from Andrew Wesie awesie@gmail.com --- (In reply to Zebediah Figura from comment #38)
How do you come by this conclusion? When running a simple test I only see user-space DLLs listed.
I modified the ntdll info test to print the output of NtQuerySystemInformation(SystemModuleInformation, ...). The implementation of this on Wine calls LdrQueryProcessModuleInformation. It may be the case that what is wrong is the fact that SystemModuleInformation calls LdrQueryProcessModuleInformation.
Testing on Windows XP and Windows 10, I only see kernel modules listed from the output of NtQuerySystemInformation(SystemModuleInformation, ...).
If your testing shows that LdrQueryProcessModuleInformation is correct, then a better patch would be to make NtQuerySystemInformation not call LdrQueryProcessModuleInformation.