diff options
author | rstone <rstone@FreeBSD.org> | 2011-11-07 01:53:25 +0000 |
---|---|---|
committer | rstone <rstone@FreeBSD.org> | 2011-11-07 01:53:25 +0000 |
commit | 7513eaddcff8899b95b14f2389e55c550a66db93 (patch) | |
tree | f26296a44288cd268e676e9fd59029da99e8bb90 /sys/amd64/include/trap.h | |
parent | 37aef6a48897e57c98570fd08897440089e01d73 (diff) | |
download | FreeBSD-src-7513eaddcff8899b95b14f2389e55c550a66db93.zip FreeBSD-src-7513eaddcff8899b95b14f2389e55c550a66db93.tar.gz |
Fix the DTrace pid return trap interrupt vector. Previously we were using
31, but that vector is reserved.
Without this fix, running dtrace -p <pid> would either cause the target
process to crash or the kernel to page fault.
Obtained from: rpaulo
MFC after: 3days
Diffstat (limited to 'sys/amd64/include/trap.h')
-rw-r--r-- | sys/amd64/include/trap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/trap.h b/sys/amd64/include/trap.h index d8e36b5..a395d62 100644 --- a/sys/amd64/include/trap.h +++ b/sys/amd64/include/trap.h @@ -62,8 +62,8 @@ #define T_MCHK 28 /* machine check trap */ #define T_XMMFLT 29 /* SIMD floating-point exception */ #define T_RESERVED 30 /* reserved (unknown) */ -#define T_DTRACE_RET 31 /* DTrace pid return */ -#define T_DTRACE_PROBE 32 /* DTrace fasttrap probe */ +#define T_DTRACE_RET 32 /* DTrace pid return */ +#define T_DTRACE_PROBE 33 /* DTrace fasttrap probe */ /* XXX most of the following codes aren't used, but could be. */ |