projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c975565
)
[NTOS:OB] Add a system process quota block macro
author
George Bișoc
<george.bisoc@reactos.org>
Thu, 30 Dec 2021 19:59:57 +0000
(20:59 +0100)
committer
George Bișoc
<george.bisoc@reactos.org>
Tue, 11 Jan 2022 09:11:09 +0000
(10:11 +0100)
OBP_SYSTEM_PROCESS_QUOTA is a macro that'll be used as a way to assign a dummy quota block to system processes, as we mustn't do anything to those in case the Object Manager is charging or returning pool quotas.
ntoskrnl/include/internal/ob.h
patch
|
blob
|
history
diff --git
a/ntoskrnl/include/internal/ob.h
b/ntoskrnl/include/internal/ob.h
index
8c3b82f
..
4aad5a5
100644
(file)
--- a/
ntoskrnl/include/internal/ob.h
+++ b/
ntoskrnl/include/internal/ob.h
@@
-58,6
+58,11
@@
//
#define ObpAccessProtectCloseBit 0x02000000L
+//
+// System Process Quota Block
+//
+#define OBP_SYSTEM_PROCESS_QUOTA ((PEPROCESS_QUOTA_BLOCK)(ULONG_PTR)1)
+
//
// Identifies a Kernel Handle
//