From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755465AbdDFTng (ORCPT ); Thu, 6 Apr 2017 15:43:36 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:37062 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751301AbdDFTnZ (ORCPT ); Thu, 6 Apr 2017 15:43:25 -0400 Date: Thu, 06 Apr 2017 12:43:22 -0700 (PDT) Message-Id: <20170406.124322.1591501459484458317.davem@davemloft.net> To: keescook@chromium.org Cc: linux-kernel@vger.kernel.org, mszeredi@redhat.com, viro@zeniv.linux.org.uk, xiyou.wangcong@gmail.com, hannes@stressinduktion.org, vdavydov.dev@gmail.com, avagin@openvz.org, netdev@vger.kernel.org Subject: Re: [PATCH] af_unix: Use designated initializers From: David Miller In-Reply-To: <20170405051209.GA15324@beast> References: <20170405051209.GA15324@beast> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 06 Apr 2017 12:02:07 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kees Cook Date: Tue, 4 Apr 2017 22:12:09 -0700 > 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, and the initializer fixes > were extracted from grsecurity. In this case, NULL initialize with { } > instead of undesignated NULLs. > > Signed-off-by: Kees Cook Applied to net-next.