[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] SDV: ZwRegistryOpen rule violations


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Durrant, Paul" <xadimgnik@xxxxxxxxx>
  • Date: Wed, 16 Feb 2022 10:25:48 +0000
  • Delivery-date: Wed, 16 Feb 2022 10:25:55 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 11/02/2022 19:57, Durrant, Paul wrote:
On 07/02/2022 13:15, Owen Smith wrote:
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@xxxxxxxxxx>

Shame to have to jump through such hoops but...

Reviewed-by: Paul Durrant <paul@xxxxxxx>


Actually, DriverGetParametersKey() is totally unused in XENFILT. I'm going to modify this patch to simply blow it away. I'll post a revised version shortly.

  Paul



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.