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
4464793e
Commit
4464793e
authored
Jun 22, 2016
by
André Hentschel
Committed by
Alexandre Julliard
Jun 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Allow Win8+ flags for Admins ACE.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9db9c9ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
security.c
dlls/advapi32/tests/security.c
+2
-1
No files found.
dlls/advapi32/tests/security.c
View file @
4464793e
...
@@ -4023,7 +4023,8 @@ static void test_GetNamedSecurityInfoA(void)
...
@@ -4023,7 +4023,8 @@ static void test_GetNamedSecurityInfoA(void)
flags
=
((
ACE_HEADER
*
)
ace
)
->
AceFlags
;
flags
=
((
ACE_HEADER
*
)
ace
)
->
AceFlags
;
ok
(
flags
==
0x0
ok
(
flags
==
0x0
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* w2k8 */
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* w2k8 */
||
broken
(
flags
==
(
OBJECT_INHERIT_ACE
|
CONTAINER_INHERIT_ACE
)),
/* win7 */
||
broken
(
flags
==
(
OBJECT_INHERIT_ACE
|
CONTAINER_INHERIT_ACE
))
/* win7 */
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
)),
/* win8+ */
"Builtin Admins ACE has unexpected flags (0x%x != 0x0)
\n
"
,
flags
);
"Builtin Admins ACE has unexpected flags (0x%x != 0x0)
\n
"
,
flags
);
ok
(
ace
->
Mask
==
KEY_ALL_ACCESS
||
broken
(
ace
->
Mask
==
GENERIC_ALL
)
/* w2k8 */
,
ok
(
ace
->
Mask
==
KEY_ALL_ACCESS
||
broken
(
ace
->
Mask
==
GENERIC_ALL
)
/* w2k8 */
,
"Builtin Admins ACE has unexpected mask (0x%x != 0x%x)
\n
"
,
ace
->
Mask
,
KEY_ALL_ACCESS
);
"Builtin Admins ACE has unexpected mask (0x%x != 0x%x)
\n
"
,
ace
->
Mask
,
KEY_ALL_ACCESS
);
...
...
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