linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Ryabinin <aryabinin@virtuozzo.com>
To: Dmitry Vyukov <dvyukov@google.com>,
	linux-mm@kvack.org, akpm@linux-foundation.org
Cc: 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 20:21:02 +0300	[thread overview]
Message-ID: <d405534b-6d18-715a-85b9-7fc4305d75d3@virtuozzo.com> (raw)
In-Reply-To: <20180419094847.56737-1-dvyukov@google.com>



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

  reply	other threads:[~2018-04-19 17:20 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 [this message]
2018-04-19 17:25   ` Dmitry Vyukov

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=d405534b-6d18-715a-85b9-7fc4305d75d3@virtuozzo.com \
    --to=aryabinin@virtuozzo.com \
    --cc=akpm@linux-foundation.org \
    --cc=dvyukov@google.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