mirror of https://gitee.com/openkylin/linux.git
2e549b2ee0
Currently, if the vDSO ends up containing an indirect branch or
call, GCC will emit the "external thunk" style of retpoline, and it
will fail to link.
Fix it by building the vDSO with inline retpoline thunks.
I haven't seen any reports of this triggering on an unpatched
kernel.
Fixes: commit
|
||
---|---|---|
.. | ||
syscalls | ||
vdso | ||
vsyscall | ||
Makefile | ||
calling.h | ||
common.c | ||
entry_32.S | ||
entry_64.S | ||
entry_64_compat.S | ||
syscall_32.c | ||
syscall_64.c | ||
thunk_32.S | ||
thunk_64.S |