Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0451a89c
Commit
0451a89c
authored
May 07, 2014
by
Huw Davies
Committed by
Alexandre Julliard
May 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix access rights tests in win 8.
parent
76fca0f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
security.c
dlls/advapi32/tests/security.c
+9
-3
No files found.
dlls/advapi32/tests/security.c
View file @
0451a89c
...
...
@@ -5073,12 +5073,16 @@ static void test_thread_security(void)
{
case
GENERIC_READ
:
case
GENERIC_EXECUTE
:
ok
(
access
==
map
[
i
].
mapped
||
access
==
(
map
[
i
].
mapped
|
THREAD_QUERY_LIMITED_INFORMATION
)
/* Vista+ */
,
ok
(
access
==
map
[
i
].
mapped
||
access
==
(
map
[
i
].
mapped
|
THREAD_QUERY_LIMITED_INFORMATION
)
/* Vista+ */
||
access
==
(
map
[
i
].
mapped
|
THREAD_QUERY_LIMITED_INFORMATION
|
THREAD_RESUME
)
/* win8 */
,
"%d: expected %#x, got %#x
\n
"
,
i
,
map
[
i
].
mapped
,
access
);
break
;
case
GENERIC_WRITE
:
todo_wine
ok
(
access
==
map
[
i
].
mapped
||
access
==
(
map
[
i
].
mapped
|
THREAD_SET_LIMITED_INFORMATION
)
/* Vista+ */
,
ok
(
access
==
map
[
i
].
mapped
||
access
==
(
map
[
i
].
mapped
|
THREAD_SET_LIMITED_INFORMATION
)
/* Vista+ */
||
access
==
(
map
[
i
].
mapped
|
THREAD_SET_LIMITED_INFORMATION
|
THREAD_RESUME
)
/* win8 */
,
"%d: expected %#x, got %#x
\n
"
,
i
,
map
[
i
].
mapped
,
access
);
break
;
case
GENERIC_ALL
:
...
...
@@ -5144,7 +5148,9 @@ static void test_process_access(void)
"%d: expected %#x, got %#x
\n
"
,
i
,
map
[
i
].
mapped
,
access
);
break
;
case
GENERIC_WRITE
:
ok
(
access
==
map
[
i
].
mapped
||
access
==
(
map
[
i
].
mapped
|
PROCESS_TERMINATE
)
/* before Vista */
,
ok
(
access
==
map
[
i
].
mapped
||
access
==
(
map
[
i
].
mapped
|
PROCESS_TERMINATE
)
/* before Vista */
||
access
==
(
map
[
i
].
mapped
|
PROCESS_SET_LIMITED_INFORMATION
)
/* win8 */
,
"%d: expected %#x, got %#x
\n
"
,
i
,
map
[
i
].
mapped
,
access
);
break
;
case
GENERIC_EXECUTE
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment