Re: no crash after setting ESP to 0 in module

From: Julien Oster (lkml@mf.frodoid.org)
Date: Wed Jun 25 2003 - 03:57:21 EST


Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> writes:

Hello Mikulas,

>> Where's the magic?

> Processor will do double fault prior to triple fault. Double fault
> exception 8 points to a task switch gate --- and task switch doesn't
> require correct ESP. So it loads new ESP from task state segment of that
> gate and calls doublefault_fn.

A task switch gate! Finally that makes sense to me. Thanks for
pointing this out!

Regards,
Julien
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:18 EST