[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
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

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,