diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-03-08 16:30:27 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-15 10:32:36 +0100 |
commit | 214b9a83b617367d53680812ad09687542370b8e (patch) | |
tree | 013bbe99d30a700497772ccf8a702603d60d324c /kernel/livepatch/patch.c | |
parent | c3b037917c6a4cbb09ab2d6ccf19f02335ad1847 (diff) | |
download | linux-214b9a83b617367d53680812ad09687542370b8e.tar.gz linux-214b9a83b617367d53680812ad09687542370b8e.tar.bz2 linux-214b9a83b617367d53680812ad09687542370b8e.zip |
x86/ibt,crypto: Add ENDBR for the jump-table entries
The code does:
## branch into array
mov jump_table(,%rax,8), %bufp
JMP_NOSPEC bufp
resulting in needing to mark the jump-table entries with ENDBR.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154318.110500806@infradead.org
Diffstat (limited to 'kernel/livepatch/patch.c')
0 files changed, 0 insertions, 0 deletions