Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.


Alex_CraneAlex_Crane Member Posts: 9

I know IRP_MJ_CREATE pre-op is guaranteed to be at PASSIVE_LEVEL. I'd assume the other two IRP_MJ_CREATE_* pre-ops are the same, but can't find anything in the docs guaranteeing it.


  • rod_widdowsonrod_widdowson Member - All Emails Posts: 1,112

    I'm guessing that it is but until it is written down its a risk to trust it.

    What I'd do would be to put in a bug report on the docs (or even a PR) and if it can be non passive then you'll find out and if it cannot be it then becomes "documented behavior".

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,676

    It has been my understanding that all the Create Files (named pipe, mailslot, and "normal") always come at IRQL PASSIVE_LEVEL. They all "come from the same place" in the OS (you can very easily walk into the code for any of the relevant system services to see this)... so none of them should be handled uniquely.


    Peter Viscarola

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 20 Apr 2020 LIVE ONLINE
Writing WDF Drivers 11 May 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA