diff options
author | Borislav Petkov <[email protected]> | 2018-01-27 16:24:33 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-01-27 19:10:45 +0100 |
commit | 1dde7415e99933bb7293d6b2843752cbdb43ec11 (patch) | |
tree | d78520e6c433ab33c8edd45746895b9be08855b7 /net/unix/sysctl_net_unix.c | |
parent | 2961298efe1ea1b6fc0d7ee8b76018fa6c0bcef2 (diff) |
x86/retpoline: Simplify vmexit_fill_RSB()
Simplify it to call an asm-function instead of pasting 41 insn bytes at
every call site. Also, add alignment to the macro as suggested here:
https://support.google.com/faqs/answer/7625886
[dwmw2: Clean up comments, let it clobber %ebx and just tell the compiler]
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions