https://git.reactos.org/?p=reactos.git;a=commitdiff;h=52f4d8019b9d751146611…
commit 52f4d8019b9d75114661187c494a79182e5d0ae2
Author: Oleg Dubinskiy <oleg.dubinskij2013(a)yandex.ua>
AuthorDate: Mon Apr 5 21:49:50 2021 +0300
Commit: George Bișoc <fraizeraust99(a)gmail.com>
CommitDate: Wed Apr 7 13:16:03 2021 +0200
[NTOS:MM][NTOS:SE] Mute some noisy stubs
Mute debug prints of MmDoesFileHaveUserWritableReferences and
SeAuditingFileEventsWithContext stubs.
These stubs are very noisy and create a lot of spam in the log when using Microsoft
NTFS driver in ReactOS (with some other improvements applied).
Implementing those functions isn't badly required for the proper work of this
driver, so better way for now is just mute these stubs a bit.
After my changes, they will be displayed only once, and the log will be more clear, so
it will seem to be enough to understand that the driver calls these routines.
CORE-17409
---
ntoskrnl/mm/ARM3/section.c | 2 +-
ntoskrnl/se/audit.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/mm/ARM3/section.c b/ntoskrnl/mm/ARM3/section.c
index 1301267e6b3..fa4bb52d999 100644
--- a/ntoskrnl/mm/ARM3/section.c
+++ b/ntoskrnl/mm/ARM3/section.c
@@ -3341,7 +3341,7 @@ ULONG
NTAPI
MmDoesFileHaveUserWritableReferences(IN PSECTION_OBJECT_POINTERS SectionPointer)
{
- UNIMPLEMENTED;
+ UNIMPLEMENTED_ONCE;
return 0;
}
diff --git a/ntoskrnl/se/audit.c b/ntoskrnl/se/audit.c
index e4722f3da99..9cc7c51f9f3 100644
--- a/ntoskrnl/se/audit.c
+++ b/ntoskrnl/se/audit.c
@@ -731,7 +731,7 @@ SeAuditingFileEventsWithContext(IN BOOLEAN AccessGranted,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext
OPTIONAL)
{
- UNIMPLEMENTED;
+ UNIMPLEMENTED_ONCE;
return FALSE;
}