From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940749AbdDTCLh (ORCPT ); Wed, 19 Apr 2017 22:11:37 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:50879 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765596AbdDTCLg (ORCPT ); Wed, 19 Apr 2017 22:11:36 -0400 To: Kees Cook Cc: linux-kernel@vger.kernel.org, QLogic-Storage-Upstream@cavium.com, "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: Re: [PATCH] scsi: qedi,qedf: Use designated initializers From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170329205923.GA39690@beast> Date: Wed, 19 Apr 2017 22:11:26 -0400 In-Reply-To: <20170329205923.GA39690@beast> (Kees Cook's message of "Wed, 29 Mar 2017 13:59:23 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kees, > Prepare to mark sensitive kernel structures for randomization by > making sure they're using designated initializers. These were > identified during allyesconfig builds of x86, arm, and arm64, with > most initializer fixes extracted from grsecurity. > > For these cases, terminate the list with { }, which will be > zero-filled, instead of undesignated NULLs. Applied to 4.12/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering