/* Make sure IBPB clears return stack preductions too. */
FILL_RETURN_BUFFER %rax, RSB_CLEAR_LOOPS, X86_BUG_IBPB_NO_RET
RET
SYM_FUNC_END(write_ibpb) /* For KVM */
EXPORT_SYMBOL_GPL(write_ibpb);
.popsection
/* * Define the VERW operand that is disguised as entry code so that * it can be referenced with KPTI enabled. This ensures VERW can be * used late in exit-to-user path after page tables are switched.
*/
.pushsection .entry.text, "ax"
/* * Clang's implementation of TLS stack cookies requires the variable in * question to be a TLS variable. If the variable happens to be defined as an * ordinary variable with external linkage in the same compilation unit (which * amounts to the whole of vmlinux with LTO enabled), Clang will drop the * segment register prefix from the references, resulting in broken code. Work * around this by avoiding the symbol used in -mstack-protector-guard-symbol= * entirely in the C code, and use an alias emitted by the linker script * instead.
*/
#if defined(CONFIG_STACKPROTECTOR) && defined(CONFIG_SMP)
EXPORT_SYMBOL(__ref_stack_chk_guard);
#endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.