Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697579

Re: [PATCH v2] fortify: Use WARN instead of BUG for now

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] fortify: Use WARN instead of BUG for now
Date 2017-07-26 23:40 +0200
Message-ID <u7Cca-5FZ-21@gated-at.bofh.it> (permalink)
References <u7zHk-3ZT-15@gated-at.bofh.it> <u7ADo-4Bn-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 26, 2017 at 12:55 PM, Josh Poimboeuf <jpoimboe@redhat.com> wrote:
> 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.

Ah, dur, yes. Thanks! I see akpm has already merged this correction for -mm.

Thanks!

-Kees

-- 
Kees Cook
Pixel Security

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] fortify: Use WARN instead of BUG for now Kees Cook <keescook@chromium.org> - 2017-07-26 21:00 +0200
  Re: [PATCH v2] fortify: Use WARN instead of BUG for now Josh Poimboeuf <jpoimboe@redhat.com> - 2017-07-26 22:00 +0200
    Re: [PATCH v2] fortify: Use WARN instead of BUG for now Kees Cook <keescook@chromium.org> - 2017-07-26 23:40 +0200
  Re: [PATCH v2] fortify: Use WARN instead of BUG for now kbuild test robot <lkp@intel.com> - 2017-07-29 11:00 +0200

csiph-web