From ad370238d75a8caa12e1ef061c1c84ab440db2fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 15 Jul 2021 08:55:06 +0200 Subject: [PATCH] [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 */