[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQRh5RZ7pD39DqbZ+DiRPfdzqyxB_SEDV3NkAz+eSDjEg@mail.gmail.com>
Date: Wed, 22 Mar 2017 02:53:46 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Kees Cook <keescook@...omium.org>
Cc: Michal Marek <mmarek@...e.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Josh Triplett <josh@...htriplett.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] Kbuild: make designated_init attribute fatal
2017-03-21 9:14 GMT+09:00 Kees Cook <keescook@...omium.org>:
> If a structure is marked with __attribute__((designated_init)) from
> GCC or Sparse, it needs to have all static initializers using designated
> initialization. Fail the build for any missing cases. This attribute will
> be used by the randstruct plugin to make sure randomized structures are
> being correctly initialized.
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
> ---
> v2: update subject to more clearly describe change, Masahiro Yamada
> ---
Applied to linux-kbuild/kbuild. Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists