Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
i have some issue in this scenario
my routine of driver is that:
free work item
ntcreatefile or zwopenfile
KsetEvent(.../* signaled Kevent*/)
but i have deadlock wen ntcreatefile called?
what am i missing?
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Internals & Software Drivers||19-23 June 2023||Live, Online|
|Writing WDF Drivers||10-14 July 2023||Live, Online|
|Kernel Debugging||16-20 October 2023||Live, Online|
|Developing Minifilters||13-17 November 2023||Live, Online|
!process 0 F System
Find your thread calling NtCreateFile and post it here.
sorry for my late
THREAD ffff800dc136c440 Cid 0004.00d8 Teb: 0000000000000000 Win32Thread: 0000000000000000 WAIT: (WrResource) KernelMode Non-Alertable
ffff800dc1377270: (0006,0478) Flags: 00000884 Mdl: 00000000
ffff800dc65de010: (0006,0478) Flags: 00000884 Mdl: 00000000
Impersonation token: ffff958caa481060 (Level Anonymous)
Owning Process ffff800dc12a0200 Image: System
Attached Process N/A Image: N/A
Wait Start TickCount 40117 Ticks: 250 (0:00:00:03.906)
Context Switch Count 1137 IdealProcessor: 0
Win32 Start Address nt!ExpWorkerThread (0xfffff8074b541120)
Stack Init ffffba8680ca7fd0 Current ffffba8680ca6f70
Base ffffba8680ca8000 Limit ffffba8680ca1000 Call 0000000000000000
Priority 15 BasePriority 12 PriorityDecrement 16 IoPriority 2 PagePriority 5
thank you a lot
Please guide me that what I should do
my problem was the order of the call
my old code is:
It cause dead lock on my system
And I still do not know exactly why this problem happend ?