Why couldnt we implement a int 0x80 that would do nothing/call SIGSEGV handler ? We did it for all other ints we have implemented.
If, let's say, a windoze app really used int 0x80 to intentially obliterate the user's system? Well, Wine wouldn't stop it.
I know wine uses the ptrace syscall, is that really only for debugging purposes, or is it for catching the SIGSEGV signals also?
It's to support certain win32 features (that's mostly used for debugging). Catching signals is done with sigaction().
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com