aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-03-08 16:30:53 +0100
committerPeter Zijlstra <[email protected]>2022-03-15 10:32:46 +0100
commit7d209d13e7c3a3d60dc262f11a8ae4e6b4454d30 (patch)
tree89c6d78c5f1101bf73948acbe5cc71f5f8b09d71 /net/lapb/lapb_in.c
parent96db4a988d653a7f18b518c25367f7bf238f4667 (diff)
objtool: Add IBT/ENDBR decoding
Intel IBT requires the target of any indirect CALL or JMP instruction to be the ENDBR instruction; optionally it allows those two instructions to have a NOTRACK prefix in order to avoid this requirement. The kernel will not enable the use of NOTRACK, as such any occurence of it in compiler generated code should be flagged. Teach objtool to Decode ENDBR instructions and WARN about NOTRACK prefixes. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions