Page MenuHomeFreeBSD

D5906.diff
No OneTemporary

D5906.diff

Index: head/sys/amd64/amd64/exception.S
===================================================================
--- head/sys/amd64/amd64/exception.S
+++ head/sys/amd64/amd64/exception.S
@@ -211,6 +211,8 @@
* interrupt. For all other trap types, just handle them in
* the usual way.
*/
+ testb $SEL_RPL_MASK,TF_CS(%rsp) /* Did we come from kernel? */
+ jnz calltrap /* ignore userland traps */
cmpl $T_BPTFLT,TF_TRAPNO(%rsp)
jne calltrap

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 9, 4:53 PM (8 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38599612
Default Alt Text
D5906.diff (449 B)

Event Timeline