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
2f1d068a
Commit
2f1d068a
authored
Nov 15, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Added TokenIsAppContainer semi-stub implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bf1537da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
security.c
dlls/advapi32/tests/security.c
+0
-1
nt.c
dlls/ntdll/nt.c
+7
-1
No files found.
dlls/advapi32/tests/security.c
View file @
2f1d068a
...
...
@@ -1925,7 +1925,6 @@ static void test_GetTokenInformation(void)
is_app_container
=
0xdeadbeef
;
ret
=
GetTokenInformation
(
token
,
TokenIsAppContainer
,
&
is_app_container
,
sizeof
(
is_app_container
),
&
size
);
todo_wine
ok
(
ret
||
broken
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_INVALID_FUNCTION
),
/* pre-win8 */
"GetTokenInformation failed: %u
\n
"
,
GetLastError
());
...
...
dlls/ntdll/nt.c
View file @
2f1d068a
...
...
@@ -280,7 +280,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
0
,
/* TokenUIAccess */
0
,
/* TokenMandatoryPolicy */
0
,
/* TokenLogonSid */
0
,
/* TokenIsAppContainer */
sizeof
(
DWORD
),
/* TokenIsAppContainer */
0
,
/* TokenCapabilities */
sizeof
(
TOKEN_APPCONTAINER_INFORMATION
)
+
sizeof
(
SID
),
/* TokenAppContainerSid */
0
,
/* TokenAppContainerNumber */
...
...
@@ -541,6 +541,12 @@ NTSTATUS WINAPI NtQueryInformationToken(
container
->
TokenAppContainer
=
NULL
;
}
break
;
case
TokenIsAppContainer
:
{
TRACE
(
"TokenIsAppContainer semi-stub
\n
"
);
*
(
DWORD
*
)
tokeninfo
=
0
;
break
;
}
default:
{
ERR
(
"Unhandled Token Information class %d!
\n
"
,
tokeninfoclass
);
...
...
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