Hi there!
I’ve got a very strange problem using Named Pipes in the kernel. Creation
and all communication (Write, Read, Wait, Transact etc.) works pretty well.
But strangely not opening pipes: I use ZwCreateFile with flags and
attributes captured within SoftICE from user mode call CreateFile. It opens
a pipe and it is usable for communication, BUT: the call to ZwCreateFile
smashes my stack (exactly the place where the frame pointer is stored).
ZwCreateFile is just a wrapper for IoCreateFile and this one later calls
IoCallDriver with an IRP for NPFS. When NPFS completes the IRP with
IoCompleteRequest, the latter smashes my stack - exactly in the code
location, where IRP.UserIosb is copied to the IoStatusBlock passed as
argument to ZwCreateFile.
Does anyone of you has observed similar things?
I have examined some source previously written (1997 or 1998) by Elias Yakub
on how to open and to use Named Pipes - I use exactly the same flags and
attributes!
Ah, btw, I use Win2k Adv Server (German) with SP2. Have not tested it on
other systems, but I expect same behaviour. Maybe this is a bug inside the
kernel…
Greetings,
Alex
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com