This is an alternate solution to MR 6761 [1]
(actually is based on comment in that MR).
WriteProcessMemory() should succeed when process handle doesn't have
PROCESS_QUERY_INFORMATION access right set (test attached).
Plus some additional cleanup in test for ReadProcessMemory().
Feedback from Proton says that this patch solves the reported game issue.
[1] https://gitlab.winehq.org/wine/wine/-/merge_requests/6761
--
v5: server: Amend process rights mapping.
advapi32: Test some other cases of process access rights mapping.
advapi32/tests: Fix typo in manifest constant.
kernel32/tests: Don't hardcode page size in buffer size.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6767
--
v2: winhttp: Add support WinHttpRequestOption_SslErrorIgnoreFlags in IWinHttpRequest_get_Option.
winhttp: Add support WinHttpRequestOption_SslErrorIgnoreFlags in IWinHttpRequest_put_Option.
winhttp/tests: Add some tests for WinHttpRequestOption_SslErrorIgnoreFlags in IWinHttpRequest_{put,get}_Option.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6797