msvcrt: Make EXCEPTION_PRIV_INSTRUCTION generate SIGILL.

Philip Nilsson pnilsson at nullref.se
Wed Jun 18 12:00:49 CDT 2008


This patch makes EXCEPTION_PRIV_INSTRUCTION generate SIGILL.

I have verified the behavior on Vista with a simple application that
registers a signal handler for SIGILL and then attempts to use the
privileged instruction `cli'.

I think I read somewhere that the state of the program is invalid after
catching such an exception, so a testcase is in theory impossible...

http://h21007.www2.hp.com/portal/download/files/unprot/Fortran/docs/vf-html/pg/pg2ahsqq.htm
-------------- next part --------------



More information about the wine-patches mailing list