[NTOS:KE] Both KeFindConfigurationEntry() and KeFindConfigurationNextEntry() functions are exported by NTOSKRNL, so they definitively must NOT be in the discardable INIT section!!

Noticed while reviewing c7d1ff4a.
This commit is contained in:
Hermès Bélusca-Maïto
2021-04-10 00:43:52 +02:00
parent 3731fd1661
commit 3ad573f92f

View File

@@ -17,7 +17,6 @@
/*
* @implemented
*/
CODE_SEG("INIT")
PCONFIGURATION_COMPONENT_DATA
NTAPI
KeFindConfigurationEntry(IN PCONFIGURATION_COMPONENT_DATA Child,
@@ -38,7 +37,6 @@ KeFindConfigurationEntry(IN PCONFIGURATION_COMPONENT_DATA Child,
/*
* @implemented
*/
CODE_SEG("INIT")
PCONFIGURATION_COMPONENT_DATA
NTAPI
KeFindConfigurationNextEntry(IN PCONFIGURATION_COMPONENT_DATA Child,