linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Vyukov <dvyukov@google.com>
To: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Linux-MM <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	kasan-dev <kasan-dev@googlegroups.com>,
	Fengguang Wu <fengguang.wu@intel.com>,
	Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
	Kees Cook <keescook@google.com>
Subject: Re: [PATCH] KASAN: prohibit KASAN+STRUCTLEAK combination
Date: Thu, 19 Apr 2018 19:25:25 +0200	[thread overview]
Message-ID: <CACT4Y+atCQR6P1-iNuOmEhtw8KD3fSbxjRguPU43nPOQWYX+mQ@mail.gmail.com> (raw)
In-Reply-To: <d405534b-6d18-715a-85b9-7fc4305d75d3@virtuozzo.com>

On Thu, Apr 19, 2018 at 7:21 PM, Andrey Ryabinin
<aryabinin@virtuozzo.com> wrote:
>
>
> On 04/19/2018 12:48 PM, Dmitry Vyukov wrote:
>
>> --- a/arch/Kconfig
>> +++ b/arch/Kconfig
>> @@ -464,6 +464,10 @@ config GCC_PLUGIN_LATENT_ENTROPY
>>  config GCC_PLUGIN_STRUCTLEAK
>>       bool "Force initialization of variables containing userspace addresses"
>>       depends on GCC_PLUGINS
>> +     # Currently STRUCTLEAK inserts initialization out of live scope of
>> +     # variables from KASAN point of view. This leads to KASAN false
>> +     # positive reports. Prohibit this combination for now.
>> +     depends on !KASAN
>                     KASAN_EXTRA

Remailed, thanks.

      reply	other threads:[~2018-04-19 17:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-19  9:48 Dmitry Vyukov
2018-04-19 17:21 ` Andrey Ryabinin
2018-04-19 17:25   ` Dmitry Vyukov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACT4Y+atCQR6P1-iNuOmEhtw8KD3fSbxjRguPU43nPOQWYX+mQ@mail.gmail.com \
    --to=dvyukov@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=aryabinin@virtuozzo.com \
    --cc=fengguang.wu@intel.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=keescook@google.com \
    --cc=linux-mm@kvack.org \
    --cc=sergey.senozhatsky.work@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox