mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
![]() - 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 |
||
---|---|---|
cis | ||
irc | ||
msvc6 | ||
os2 | ||
reactos | ||
rosapps | ||
rosky | ||
vms |