[ros-svn] [ion] 20942: - Use MmUserProbeAddress in the system call handler to verify the parametes we got from user-mode are valid and return STATUS_ACCESS_VIOLATION if the check fails.

ion at svn.reactos.org ion at svn.reactos.org
Tue Jan 17 23:42:08 CET 2006


- Use MmUserProbeAddress in the system call handler to verify the parametes we got from user-mode are valid and return STATUS_ACCESS_VIOLATION if the check fails.
- Handle failure after PsConvertToGuiThread and return STATUS_INVALID_SYSTEM_SERVICE and/or FALSE and/or -1 on failure.
- Made MCE/XMMI interrupts unexpected on-boot.
- Removed KiTrapUnknown and used KiTrap0F (15) instead, which is the generic unexpected handler.



Updated files:
trunk/reactos/include/ndk/asm.h
trunk/reactos/ntoskrnl/ke/i386/trap.s




More information about the Ros-svn mailing list