[ros-kernel] Bugs in NtRead/WriteFile (Eric)

Eric Kohl ekohl at rz-online.de
Sun Nov 30 22:07:27 CET 2003


"Gunnar André Dalsnes" <hardon at online.no> wrote:

> If don't know if we set Irp->RequestorMode correctly yet thou...

It's not used or initialized yet.


> BTW: Do you know what MmSafeCopyXXX does that makes them safe and if
> MmSafeCopyXXX crash if accessing paged-out memory at DISPATCH_LEVEL?

MmFageFault() (in ntoskrnl/mm/i386/pfault.c) checks whether a page fault
happend in a MmSafeCopyXXX routine and makes it return
STATUS_ACCESS_VIOLATION.


> I belive it should allways run at APC_LEVEL. I'll try to fix this tonight
> together with some fixes to NtRead/WriteFile.
>
> You probably want to test usetup.exe after my changes, to check if
something
> different breaks...

Unforatunately, I won't have access to a CD-Recorder for about a week.
Someone else might want to test this.


Regards,
Eric



More information about the Ros-kernel mailing list