From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752838AbdIEUCL (ORCPT ); Tue, 5 Sep 2017 16:02:11 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35856 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413AbdIEUCJ (ORCPT ); Tue, 5 Sep 2017 16:02:09 -0400 X-Google-Smtp-Source: ADKCNb5AZ9ag3Odi3+GMEVH0VUbOTjvO/zk5FbiRmheh4bbi3s3sJSz7J8KXm7XqHmdZSm1mpPzsqQ== Date: Tue, 5 Sep 2017 13:02:08 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Alex Deucher , Ard Biesheuvel , "David S. Miller" , Kees Cook Subject: [GIT PULL] gcc-plugins updates for v4.14-rc1 Message-ID: <20170905200208.GA72394@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please pull these gcc-plugins changes for v4.14-rc1. This finishes the porting work on randstruct, and introduces a new option to structleak, both noted below. Thanks! -Kees The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/gcc-plugins-v4.14-rc1 for you to fetch changes up to ad05e6ca7b5fcf15ff178da662035ec7718f938c: Merge branch 'for-next/gcc-plugin/structleak' into for-next/gcc-plugins (2017-08-07 13:29:04 -0700) ---------------------------------------------------------------- - For the randstruct plugin, enable automatic randomization of structures that are entirely function pointers (along with a couple designated initializer fixes). - For the structleak plugin, provide an option to perform zeroing initialization of all otherwise uninitialized stack variables that are passed by reference (Ard Biesheuvel). ---------------------------------------------------------------- Ard Biesheuvel (1): gcc-plugins: structleak: add option to init all vars used as byref args Kees Cook (4): drm/amd/powerplay: rv: Use designated initializers drivers/net/wan/z85230.c: Use designated initializers randstruct: Enable function pointer struct detection Merge branch 'for-next/gcc-plugin/structleak' into for-next/gcc-plugins arch/Kconfig | 19 +++++++++++----- drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c | 8 +++---- drivers/net/wan/z85230.c | 30 ++++++++++++-------------- scripts/Makefile.gcc-plugins | 1 + scripts/gcc-plugins/randomize_layout_plugin.c | 3 --- scripts/gcc-plugins/structleak_plugin.c | 13 +++++++++-- 6 files changed, 44 insertions(+), 30 deletions(-) -- Kees Cook Pixel Security