https://git.reactos.org/?p=reactos.git;a=commitdiff;h=982ee872dddbc3864fb7bbb0852ca5246d2a0ff9
commit 982ee872dddbc3864fb7bbb0852ca5246d2a0ff9 Author: George Bișoc <[email protected]> AuthorDate: Tue Sep 21 17:40:53 2021 +0200 Commit: George Bișoc <[email protected]> CommitDate: Tue Sep 21 17:40:53 2021 +0200 [NTOS:SE] Privileges adjusting private routine must be paged SepAdjustPrivileges is a private helper call that must be paged, alongside with its syscall -- NtAdjustPrivilegesToken. --- ntoskrnl/se/token.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntoskrnl/se/token.c b/ntoskrnl/se/token.c index 6b3d10014d7..b8492238c05 100644 --- a/ntoskrnl/se/token.c +++ b/ntoskrnl/se/token.c @@ -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;
