Skip to contentSkip to conversation

core fix for 4.12

GIT PULL Thomas Gleixner 1 participant 1 message Jun 18, 2017 objtool

lore
Share & tools
lore
#0 lore raw

Linus,

please pull the latest core-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus

A single fix which adds fortify_panic to the list of no return functions.

Thanks,

tglx

------------------>
Kees Cook (1):
objtool: Add fortify_panic as __noreturn function

 tools/objtool/builtin-check.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/objtool/builtin-check.c +2 -1
index 282a60368b14..5f66697fe1e0 100644
@@ -192,7 +192,8 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
 		"complete_and_exit",
 		"kvm_spurious_fault",
 		"__reiserfs_panic",
-		"lbug_with_loc"
+		"lbug_with_loc",
+		"fortify_panic",
 	};
 
 	if (func->bind == STB_WEAK)