Hermès Bélusca-Maïto
89c5191d3f
[NTOS:PS] In PspSetPrimaryToken(), check also for sibling token to determine whether it is required to have the SeAssignPrimaryTokenPrivilege.
...
In addition, it is the presence or absence of the 'Token' pointer that indicates whether or not we should use instead the provided token handle.
2018-09-28 00:45:03 +02:00
Timo Kreuzer
094a90ad4e
[NTOS:PS] Fix an issue with PROCESS_DEVICEMAP_INFORMATION size on 64 bit builds
...
The PROCESS_DEVICEMAP_INFORMATION union has 2 fields, one is a handle, the other one is a structure of 36 bytes (independent of architecture). The handle forces 64 bit alignment on 64 bit builds, making the structure 4 bytes bigger than on 32 bit builds. The site is checked in NtQueryInformationProcess (case ProcessDeviceMap). The expected size on x64 is the size of the Query structure without alignment. autocheck correctly passes the site of the Query union member, while smss passes the full size of PROCESS_DEVICEMAP_INFORMATION. Packing the structure is not an option, since it is defined in public headers without packing. Using the original headers sizeof(PROCESS_DEVICEMAP_INFORMATION) is 0x28, sizeof(PROCESS_DEVICEMAP_INFORMATION::Query) is 0x24.
2018-08-17 22:08:37 +02:00
Hermès Bélusca-Maïto
813879f02f
[NTOS:PS] Adjust the PsReferenceEffectiveToken() prototype in the header; add a comment about the fact that the ImpersonationLevel parameter can be left untouched on purpose in one special case.
2018-06-27 23:40:13 +02:00
Pierre Schweitzer
f15afdbc43
[NTOSKRNL] Implement KeQueryValuesProcess().
...
And make use of it.
2018-05-25 21:40:39 +02:00
Pierre Schweitzer
b0b7437882
[NTOSKRNL] Make NtSetInformationJobObject() success for JobObjectExtendedLimitInformation
...
This fixes pip from Python 2.7.9 starting in ReactOS.
Though it doesn't work due to TLS issues.
2018-05-25 08:48:51 +02:00
Pierre Schweitzer
f300ca7245
[NTOSKRNL] Define required sizes with structures sizes
2018-05-25 08:48:51 +02:00
Pierre Schweitzer
ffbd6995e6
[NTOSKRNL] Implement NtQueryInformationJobObject().
...
This is required by some Python2 applications
such as pip.exe
2018-05-25 08:48:51 +02:00
Hermès Bélusca-Maïto
3a0ecb3dc8
[NTOSKRNL] Don't hardcode flag values for DefaultHardErrorProcessing.
2018-04-01 22:50:16 +02:00
Pierre Schweitzer
62facb7a49
[NTOSKRNL] Implement ThreadHideFromDebugger in NtSetInformationThread()
2018-02-24 22:07:12 +01:00
Thomas Faber
5c52ded05f
[NTOS:PS] Check for rundown success in PsReferenceProcessFilePointer. CID 514553
2018-01-28 10:48:19 +01:00
Amine Khaldi
007131b5de
[NTOS] Fix Shim AVL prototypes to exactly match the types expected by RtlInitializeGenericTableAvl. #179
2017-12-25 22:34:57 +01:00
Ivan Labutin
8723be733c
[NTOS:PS] Skip backtrace on non-x86
2017-12-20 06:56:09 +01:00
Ivan Labutin
d6792047f3
[NTOS][NDK][RTL] A bunch of 'wrong size' fixes
2017-12-20 06:56:09 +01:00
Timo Kreuzer
92b8d327b9
[NTOSKRNL] Fix return of uninitialized variable in PspSetQuotaLimits
...
CID-1322247
2017-12-20 05:23:06 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00