[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XENVBD PATCH 1/2] Add RegistryOpenParametersKey
On 09/07/2024 11:43, Owen Smith wrote: Server 2025 WHQL tests enables "verifier.exe /onecheck /rc 33 36" on some drivers under test, which will detect a violation if drivers attempt to access absolute registry paths. IoOpenDriverRegistryKey will open the parameters key for a driver, but its not defined for Server 2016. Use MmGetSystemRoutineAddress to dynamically find the function so that a single binary can be used on Server 2016 and Server 2025. Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx> --- src/xendisk/driver.c | 19 ++--------- src/xendisk/registry.c | 72 ++++++++++++++++++++++++++++++++++++++++- src/xendisk/registry.h | 9 +++++- src/xenvbd/driver.c | 27 +++------------- src/xenvbd/registry.c | 73 +++++++++++++++++++++++++++++++++++++++++- src/xenvbd/registry.h | 10 +++++- 6 files changed, 167 insertions(+), 43 deletions(-) Acked-by: Paul Durrant <paul@xxxxxxx>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |