https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ad370238d75a8caa12e1ef061c1c84ab440db2fe

commit ad370238d75a8caa12e1ef061c1c84ab440db2fe
Author:     Hervé Poussineau <[email protected]>
AuthorDate: Thu Jul 15 08:55:06 2021 +0200
Commit:     Hervé Poussineau <[email protected]>
CommitDate: Thu Jul 15 19:33:45 2021 +0200

    [NTOS:PS] Support using QUOTA_LIMITS_EX in 
NtSetInformationProcess(ProcessQuotaLimits)
    
    Both QUOTA_LIMITS and QUOTA_LIMITS_EX are already supported in 
PspSetQuotaLimits,
    but this was broken by a330b56787951d897eec0706b4649a452f8ba623
---
 ntoskrnl/include/internal/ps_i.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/include/internal/ps_i.h b/ntoskrnl/include/internal/ps_i.h
index 3e54c27b636..21f8368fa88 100644
--- a/ntoskrnl/include/internal/ps_i.h
+++ b/ntoskrnl/include/internal/ps_i.h
@@ -27,7 +27,7 @@ static const INFORMATION_CLASS_INFO PsProcessInfoClass[] =
     (
         QUOTA_LIMITS,
         ULONG,
-        ICIF_QUERY | ICIF_SET
+        ICIF_QUERY | ICIF_SET | ICIF_SET_SIZE_VARIABLE
     ),
 
     /* ProcessIoCounters */

Reply via email to