Commit 3c53fcc4 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advapi32: Fix the process access rights value for Vista.

parent 83b21a6d
...@@ -1900,7 +1900,7 @@ static void test_process_security_child(void) ...@@ -1900,7 +1900,7 @@ static void test_process_security_child(void)
&handle, PROCESS_ALL_ACCESS, TRUE, 0 ), &handle, PROCESS_ALL_ACCESS, TRUE, 0 ),
"duplicating handle err:%d\n", GetLastError()); "duplicating handle err:%d\n", GetLastError());
TEST_GRANTED_ACCESS2( handle, PROCESS_ALL_ACCESS, TEST_GRANTED_ACCESS2( handle, PROCESS_ALL_ACCESS,
STANDARD_RIGHTS_ALL | SPECIFIC_RIGHTS_ALL ); PROCESS_ALL_ACCESS | PROCESS_QUERY_LIMITED_INFORMATION );
ok(DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(), ok(DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(),
&handle1, PROCESS_VM_READ, TRUE, 0 ), &handle1, PROCESS_VM_READ, TRUE, 0 ),
"duplicating handle err:%d\n", GetLastError()); "duplicating handle err:%d\n", GetLastError());
......
...@@ -4023,6 +4023,7 @@ typedef enum tagSID_NAME_USE { ...@@ -4023,6 +4023,7 @@ typedef enum tagSID_NAME_USE {
#define PROCESS_SET_INFORMATION 0x0200 #define PROCESS_SET_INFORMATION 0x0200
#define PROCESS_QUERY_INFORMATION 0x0400 #define PROCESS_QUERY_INFORMATION 0x0400
#define PROCESS_SUSPEND_RESUME 0x0800 #define PROCESS_SUSPEND_RESUME 0x0800
#define PROCESS_QUERY_LIMITED_INFORMATION 0x1000
#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0xfff) #define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0xfff)
#define THREAD_TERMINATE 0x0001 #define THREAD_TERMINATE 0x0001
......
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