]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
SDV: ZwRegistryOpen rule violations
authorOwen Smith <owen.smith@citrix.com>
Mon, 7 Feb 2022 13:15:02 +0000 (13:15 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 16 Feb 2022 10:29:01 +0000 (10:29 +0000)
commitf732738f5598e54bf61b63b738b0ab7ef292802b
treeb4a86c87491c276834bc4c74539114415b2ee366
parent29df8c837a851934d0df31bd5362d34379129178
SDV: ZwRegistryOpen rule violations

Dont hold the ParametersKey open, SDV treats this as a mismatched
ZwRegistryOpen and ZwClose pair.
Open the registry key when required, and close it once its no longer
required.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Remove DriverGetParametersKey() from xenfilt/driver.h and don't add the
implementation of DriverOpenParametersKey() in xenfilt/driver.c.

Signed-off-by: Paul Durrant <paul@xen.org>
src/xenfilt/driver.c
src/xenfilt/driver.h