History

Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 pti bits and fixes from Thomas Gleixner: "This last update contains: - An objtool fix to prevent a segfault with the gold linker by changing the invocation order. That's not just for gold, it's a general robustness improvement. - An improved error message for objtool which spares tearing hairs. - Make KASAN fail loudly if there is not enough memory instead of oopsing at some random place later - RSB fill on context switch to prevent RSB underflow and speculation through other units. - Make the retpoline/RSB functionality work reliably for both Intel and AMD - Add retpoline to the module version magic so mismatch can be detected - A small (non-fix) update for cpufeatures which prevents cpu feature clashing for the upcoming extra mitigation bits to ease backporting" * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: module: Add retpoline tag to VERMAGIC x86/cpufeature: Move processor tracing out of scattered features objtool: Improve error message for bad file argument objtool: Fix seg fault with gold linker x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros x86/retpoline: Fill RSB on context switch for affected CPUs x86/kasan: Panic if there is not enough memory to boot

Linus Torvalds committed 8 years ago

Commit 88dc7fc2 parents dd43f34 6cfb52110 files · +99 −19Browse files

Showing the changes to include/linux (1 of 10 files). Show all

Unified · Split

include/linux/vermagic.h+7−1
@@ -31,11 +31,17 @@ · 30 unmodified lines
3131 #else
3232 #define MODULE_RANDSTRUCT_PLUGIN
3333 #endif
34+#ifdef RETPOLINE
35+#define MODULE_VERMAGIC_RETPOLINE "retpoline "
36+#else
37+#define MODULE_VERMAGIC_RETPOLINE ""
38+#endif
3439
3540 #define VERMAGIC_STRING \
3641 UTS_RELEASE " " \
3742 MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \
3843 MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS \
3944 MODULE_ARCH_VERMAGIC \
40− MODULE_RANDSTRUCT_PLUGIN
45+ MODULE_RANDSTRUCT_PLUGIN \
46+ MODULE_VERMAGIC_RETPOLINE
4147

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t