[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
This commit is contained in:
Oleg Dubinskiy 2021-04-05 21:49:50 +03:00 committed by George Bișoc
parent 3ee9535e05
commit 52f4d8019b
2 changed files with 2 additions and 2 deletions

View file

@ -3341,7 +3341,7 @@ ULONG
NTAPI
MmDoesFileHaveUserWritableReferences(IN PSECTION_OBJECT_POINTERS SectionPointer)
{
UNIMPLEMENTED;
UNIMPLEMENTED_ONCE;
return 0;
}

View file

@ -731,7 +731,7 @@ SeAuditingFileEventsWithContext(IN BOOLEAN AccessGranted,
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext OPTIONAL)
{
UNIMPLEMENTED;
UNIMPLEMENTED_ONCE;
return FALSE;
}