[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGXu5jJOsTfpBOzg1AkVyCch6x06EDDkFU8aCZG7fNPrxJY8QQ@mail.gmail.com>
Date: Tue, 1 Aug 2017 17:33:59 -0700
From: Kees Cook <keescook@...omium.org>
To: David Miller <davem@...emloft.net>
Cc: LKML <linux-kernel@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>
Subject: Re: [PATCH] drivers/net/wan/z85230.c: Use designated initializers
On Tue, Aug 1, 2017 at 3:29 PM, David Miller <davem@...emloft.net> wrote:
> From: Kees Cook <keescook@...omium.org>
> Date: Sun, 30 Jul 2017 18:31:17 -0700
>
>> In preparation for the randstruct gcc plugin performing randomization of
>> structures that are entirely function pointers, use designated initializers
>> so the compiler doesn't get angry.
>>
>> Reported-by: kbuild test robot <fengguang.wu@...el.com>
>> Signed-off-by: Kees Cook <keescook@...omium.org>
>> ---
>> This is a prerequisite for the future randstruct fptr randomization. I'd
>> prefer to carry this in my gcc-plugin tree for v4.14 with an Ack from
>> someone on net-dev, or if possible, have it applied to v4.13 via net-dev.
>
> Please queue this up into the gcc-plugin tree then:
>
> Acked-by: David S. Miller <davem@...emloft.net>
>
> It isn't a bug fix so I would only have put it into 'net-next' rather
> than 'net'.
Okay, sounds good. I'll carry it. Thanks!
-Kees
--
Kees Cook
Pixel Security
Powered by blists - more mailing lists