mirror of
https://github.com/reactos/reactos.git
synced 2026-09-14 13:50:25 +08:00
db04986dcefdeefba8d58695f14643989e83473c
- PspAssignPrimaryToken was good enough for actually *assigning* the token, but when NtSetInfoProcess is called with ProcessPrimaryToken, we want to do a lot more then just randomly assigning it. Added PspSetPrimaryToken which first verifies if the token being assigned is a child token and if not, checks for SeAssignPrimaryTokenPrivilege. Also added a fixme for more code that's needed, to actually re-calculate the process's granted access towards itself. Also added thread-safety. svn path=/trunk/; revision=23226
…
Languages
C
86.5%
C++
10.6%
Python
0.8%
Assembly
0.5%
CMake
0.5%
Other
0.8%