]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/refcounts: Switch to UD2 for exceptions
authorKees Cook <keescook@chromium.org>
Sun, 25 Feb 2018 16:50:56 +0000 (08:50 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Feb 2018 14:18:40 +0000 (15:18 +0100)
commitcb097be7036aa325adba33d8c41fe77b980b0e77
treeb6dc5b37447e0f04c2f100e6e0d43e3506710ee2
parentf3afe530d644488a074291da04a69a296ab63046
x86/refcounts: Switch to UD2 for exceptions

As done in commit 3b3a371cc9bc ("x86/debug: Use UD2 for WARN()"), this
switches to UD2 from UD0 to keep disassembly readable.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20180225165056.GA11719@beast
arch/x86/include/asm/refcount.h