aboutsummaryrefslogtreecommitdiff
path: root/net/unix/scm.h
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-06-14 23:15:45 +0200
committerBorislav Petkov <[email protected]>2022-06-27 10:33:58 +0200
commitaa3d480315ba6c3025a60958e1981072ea37c3df (patch)
tree8b8c57aa9dd990a7935a210603570617180171e3 /net/unix/scm.h
parent0ee9073000e8791f8b134a8ded31bcc767f7f232 (diff)
x86: Use return-thunk in asm code
Use the return thunk in asm code. If the thunk isn't needed, it will get patched into a RET instruction during boot by apply_returns(). Since alternatives can't handle relocations outside of the first instruction, putting a 'jmp __x86_return_thunk' in one is not valid, therefore carve out the memmove ERMS path into a separate label and jump to it. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'net/unix/scm.h')
0 files changed, 0 insertions, 0 deletions