[PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-15 Thread Josh Poimboeuf
From: Kees Cook CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, so objtool needs to know about it too. Suggested-by: Daniel Micay Signed-off-by: Kees Cook Tested-by: Stephen Rothwell

[PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-15 Thread Josh Poimboeuf
From: Kees Cook CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, so objtool needs to know about it too. Suggested-by: Daniel Micay Signed-off-by: Kees Cook Tested-by: Stephen Rothwell Signed-off-by: Josh Poimboeuf --- tools/objtool/builtin-check.c | 3 ++- 1 file

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-15 Thread Josh Poimboeuf
On Wed, Jun 14, 2017 at 07:18:51PM -0700, Kees Cook wrote: > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook > Cc: Josh

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-15 Thread Josh Poimboeuf
On Wed, Jun 14, 2017 at 07:18:51PM -0700, Kees Cook wrote: > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook > Cc: Josh Poimboeuf > --- > tools/objtool/builtin-check.c

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Daniel, On Thu, 15 Jun 2017 00:49:21 -0400 Daniel Micay wrote: > > > So after that the errors (x86_64 allmodconfig build) are only: > > > > In file included from include/linux/bitmap.h:8:0, > > from include/linux/cpumask.h:11, > > from

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Daniel, On Thu, 15 Jun 2017 00:49:21 -0400 Daniel Micay wrote: > > > So after that the errors (x86_64 allmodconfig build) are only: > > > > In file included from include/linux/bitmap.h:8:0, > > from include/linux/cpumask.h:11, > > from

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Kees, On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Kees, On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook > Cc: Josh Poimboeuf Tested-by: Stephen Rothwell

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Daniel Micay
> So after that the errors (x86_64 allmodconfig build) are only: > > In file included from include/linux/bitmap.h:8:0, > from include/linux/cpumask.h:11, > from arch/x86/include/asm/cpumask.h:4, > from arch/x86/include/asm/msr.h:10, >

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Daniel Micay
> So after that the errors (x86_64 allmodconfig build) are only: > > In file included from include/linux/bitmap.h:8:0, > from include/linux/cpumask.h:11, > from arch/x86/include/asm/cpumask.h:4, > from arch/x86/include/asm/msr.h:10, >

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi all, On Thu, 15 Jun 2017 14:05:22 +1000 Stephen Rothwell wrote: > > On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > > so objtool needs to know about it too.

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi all, On Thu, 15 Jun 2017 14:05:22 +1000 Stephen Rothwell wrote: > > On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > > so objtool needs to know about it too. > > > > Suggested-by: Daniel Micay > >

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Kees, On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Kees, On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook > Cc: Josh Poimboeuf > --- >

[PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Kees Cook
CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, so objtool needs to know about it too. Suggested-by: Daniel Micay Signed-off-by: Kees Cook Cc: Josh Poimboeuf --- tools/objtool/builtin-check.c | 3 ++-

[PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Kees Cook
CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, so objtool needs to know about it too. Suggested-by: Daniel Micay Signed-off-by: Kees Cook Cc: Josh Poimboeuf --- tools/objtool/builtin-check.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git