mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTOS]: Fix declaration and definition of PsGetProcessSessionId: indeed, as PsGetCurrentProcessSessionId, we should call MmGetSessionId to retrieve the real process session id.
svn path=/trunk/; revision=60293
This commit is contained in:
parent
4c6659967e
commit
20a1d1968d
2 changed files with 4 additions and 3 deletions
|
@ -199,7 +199,8 @@ PsGetProcessExitStatus(
|
||||||
_In_ PEPROCESS Process
|
_In_ PEPROCESS Process
|
||||||
);
|
);
|
||||||
|
|
||||||
HANDLE
|
NTKERNELAPI
|
||||||
|
ULONG
|
||||||
NTAPI
|
NTAPI
|
||||||
PsGetProcessSessionId(
|
PsGetProcessSessionId(
|
||||||
_In_ PEPROCESS Process
|
_In_ PEPROCESS Process
|
||||||
|
|
|
@ -1147,11 +1147,11 @@ PsGetProcessSecurityPort(PEPROCESS Process)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HANDLE
|
ULONG
|
||||||
NTAPI
|
NTAPI
|
||||||
PsGetProcessSessionId(PEPROCESS Process)
|
PsGetProcessSessionId(PEPROCESS Process)
|
||||||
{
|
{
|
||||||
return (HANDLE)Process->Session;
|
return MmGetSessionId(Process);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue