https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3ad573f92f5b7d5dab1e3…
commit 3ad573f92f5b7d5dab1e33ad4b98ee692df19320
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Apr 10 00:43:52 2021 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Apr 10 00:43:52 2021 +0200
[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.
---
ntoskrnl/ke/config.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ntoskrnl/ke/config.c b/ntoskrnl/ke/config.c
index b5b958552e5..93fef62b15c 100644
--- a/ntoskrnl/ke/config.c
+++ b/ntoskrnl/ke/config.c
@@ -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,