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
1d2241ec
Commit
1d2241ec
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 process information demand PROCESS_QUERY_LIMITED_INFORMATION access.
parent
93e8bea2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
process.c
dlls/kernel32/tests/process.c
+7
-5
process.c
server/process.c
+1
-1
No files found.
dlls/kernel32/tests/process.c
View file @
1d2241ec
...
...
@@ -2901,13 +2901,8 @@ static void test_process_info(void)
case
ProcessTimes
:
case
ProcessPriorityClass
:
case
ProcessPriorityBoost
:
case
ProcessImageFileName
:
case
ProcessLUIDDeviceMapsEnabled
:
case
33
/* ProcessIoPriority */
:
todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"for info %u expected STATUS_SUCCESS, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
case
ProcessIoCounters
:
case
ProcessVmCounters
:
case
ProcessWow64Information
:
...
...
@@ -2916,6 +2911,11 @@ todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"for info %u expected STATUS_SUCCESS, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
case
ProcessImageFileName
:
todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"for info %u expected STATUS_SUCCESS, got %08x (ret_len %u)
\n
"
,
i
,
status
,
ret_len
);
break
;
case
ProcessAffinityMask
:
case
ProcessBreakOnTermination
:
ok
(
status
==
STATUS_ACCESS_DENIED
/* before win8 */
||
status
==
STATUS_SUCCESS
/* win8 is less strict */
,
...
...
@@ -2928,6 +2928,8 @@ todo_wine
break
;
case
ProcessExecuteFlags
:
case
ProcessDebugPort
:
case
ProcessDebugFlags
:
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/process.c
View file @
1d2241ec
...
...
@@ -1343,7 +1343,7 @@ DECL_HANDLER(get_process_info)
{
struct
process
*
process
;
if
((
process
=
get_process_from_handle
(
req
->
handle
,
PROCESS_QUERY_INFORMATION
)))
if
((
process
=
get_process_from_handle
(
req
->
handle
,
PROCESS_QUERY_
LIMITED_
INFORMATION
)))
{
reply
->
pid
=
get_process_id
(
process
);
reply
->
ppid
=
process
->
parent
?
get_process_id
(
process
->
parent
)
:
0
;
...
...
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