Re: [PATCH v2] fortify: Use WARN instead of BUG for now
From: Josh Poimboeuf
Date: Wed Jul 26 2017 - 15:55:52 EST
On Wed, Jul 26, 2017 at 11:52:19AM -0700, Kees Cook wrote:
> --- a/tools/objtool/check.c
> +++ b/tools/objtool/check.c
> @@ -156,7 +156,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
> "kvm_spurious_fault",
> "__reiserfs_panic",
> "lbug_with_loc",
> - "fortify_panic",
> + "fortify_overflow",
> };
If the function is no longer '__noreturn' then this entry needs to be
removed from the global_noreturns list.
--
Josh