Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3bed65b5
Commit
3bed65b5
authored
Aug 21, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: For querying thread information demand THREAD_QUERY_LIMITED_INFORMATION access.
parent
1d2241ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
thread.c
dlls/kernel32/tests/thread.c
+6
-1
thread.c
server/thread.c
+1
-1
No files found.
dlls/kernel32/tests/thread.c
View file @
3bed65b5
...
...
@@ -1750,14 +1750,19 @@ static void test_thread_info(void)
switch
(
i
)
{
case
ThreadBasicInformation
:
case
ThreadTimes
:
case
ThreadAmILastThread
:
case
ThreadPriorityBoost
:
ok
(
status
==
STATUS_SUCCESS
,
"for info %u expected STATUS_SUCCESS, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
case
ThreadTimes
:
todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"for info %u expected STATUS_SUCCESS, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
case
ThreadDescriptorTableEntry
:
case
ThreadAffinityMask
:
case
ThreadQuerySetWin32StartAddress
:
todo_wine
ok
(
status
==
STATUS_ACCESS_DENIED
,
"for info %u expected STATUS_ACCESS_DENIED, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
...
...
server/thread.c
View file @
3bed65b5
...
...
@@ -1372,7 +1372,7 @@ DECL_HANDLER(get_thread_info)
obj_handle_t
handle
=
req
->
handle
;
if
(
!
handle
)
thread
=
get_thread_from_id
(
req
->
tid_in
);
else
thread
=
get_thread_from_handle
(
req
->
handle
,
THREAD_QUERY_INFORMATION
);
else
thread
=
get_thread_from_handle
(
req
->
handle
,
THREAD_QUERY_
LIMITED_
INFORMATION
);
if
(
thread
)
{
...
...
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