[NTOS:SE] Privileges adjusting private routine must be paged

SepAdjustPrivileges is a private helper call that must be paged, alongside with its syscall -- NtAdjustPrivilegesToken.
This commit is contained in:
George Bișoc
2021-09-21 17:40:53 +02:00
parent d6a0299eec
commit 982ee872dd

View File

@@ -4366,6 +4366,8 @@ SepAdjustPrivileges(
{
ULONG i, j, PrivilegeCount, ChangeCount, NewAttributes;
PAGED_CODE();
/* Count the found privileges and those that need to be changed */
PrivilegeCount = 0;
ChangeCount = 0;