Commit ef7fce84 authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard

kernel: Don't enforce process handle access rights in Win98 mode.

parent bb704ea9
......@@ -2271,6 +2271,8 @@ HANDLE WINAPI OpenProcess( DWORD access, BOOL inherit, DWORD id )
attr.SecurityQualityOfService = NULL;
attr.ObjectName = NULL;
if (GetVersion() & 0x80000000) access = PROCESS_ALL_ACCESS;
status = NtOpenProcess(&handle, access, &attr, &cid);
if (status != STATUS_SUCCESS)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment