]> Gentwo Git Trees - linux/.git/commit
x86/traps: Clarify KCFI instruction layout
authorKees Cook <kees@kernel.org>
Thu, 4 Sep 2025 03:46:41 +0000 (20:46 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 4 Sep 2025 19:59:07 +0000 (21:59 +0200)
commit628a15e0536abb7658cd243553312d3f65c0aff2
tree9db0b6cf22369af0ab0351c3914dafea64ac65c2
parent038c7dc66e2744e5df57163b8f957745ae10d23e
x86/traps: Clarify KCFI instruction layout

Just a nit-picky change to the KCFI indirect call check instruction
documentation. The addl offset isn't always -4 (it depends on patchable
function entry configuration).

Signed-off-by: Kees Cook <kees@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250904034656.3670313-2-kees@kernel.org
arch/x86/kernel/cfi.c