阅读:1978回复:5
诸位英雄,zwcreatfile等文件操作能运行在APC_LEVEL层上吗????
我的zwcreatfile运行在 快速互斥 之中,会出问题吗?书上说 快速互斥 会把irp调到APC_LEVEL层上,是这样么?
程序如下: ExAcquireFastMutex( &LogMutex ); 。 。 。 zwcreatfile(。。。。。); 。 。 。 ExReleaseFastMutex( &LogMutex ); |
|
|
沙发#
发布于:2001-10-11 13:24
看ddk,如果ddk说能,不能也能;
如果ddk说不能,能也不能。。。 |
|
|
板凳#
发布于:2001-10-11 16:26
好像只能在PASSIVE_LEVEL层
|
|
地板#
发布于:2001-10-12 16:44
应该可以的FS在DISPATH_LEVEL,APC在PASSIVE_LEVEL 和 DISPATCH_LEVEL之间.文件系统能中断它,当然能给它提供服务了.
|
|
地下室#
发布于:2001-10-12 18:54
DDK:
Callers of ZwCreateFile must be running at IRQL ASSIVE_LEVEL ~~~~~~~ No way leh |
|
5楼#
发布于:2001-10-12 19:04
DDK:
Callers of ZwCreateFile must be running at IRQL ASSIVE_LEVEL ~~~~~~~ No way leh |
|