From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753744AbdBVFRB (ORCPT ); Wed, 22 Feb 2017 00:17:01 -0500 Received: from mail-pg0-f51.google.com ([74.125.83.51]:33268 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbdBVFQx (ORCPT ); Wed, 22 Feb 2017 00:16:53 -0500 Date: Tue, 21 Feb 2017 21:16:51 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Kees Cook Subject: [GIT PULL] gcc-plugins updates for v4.11-rc1 (take 2) Message-ID: <20170222051651.GA54127@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.11-rc1. (This is take 2, with the initify series removed.) This includes infrastructure updates and the structleak plugin, which performs forced initialization of certain structures to avoid possible information exposures to userspace. Thanks! -Kees The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8: Linux 4.10-rc3 (2017-01-08 14:18:17 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/gcc-plugins-v4.11-rc1 for you to fetch changes up to c054ee3bbf69ebcabb1f3218b7faf4b1b37a8eb6: Merge branch 'for-next/gcc-plugin/structleak' into for-linus/gcc-plugins (2017-02-21 21:12:57 -0800) ---------------------------------------------------------------- Updates to the gcc-plugins: - infrastructure updates (gcc-common.h) - introduce structleak plugin for forced initialization of some structures ---------------------------------------------------------------- Kees Cook (5): gcc-plugins: add PASS_INFO and build_const_char_string() gcc-plugins: consolidate on PASS_INFO macro gcc-plugins: Add structleak for more stack initialization Merge branch 'for-next/gcc-plugin-infrastructure' into for-linus/gcc-plugins Merge branch 'for-next/gcc-plugin/structleak' into for-linus/gcc-plugins arch/Kconfig | 22 +++ include/linux/compiler.h | 6 +- scripts/Makefile.gcc-plugins | 4 + scripts/gcc-plugins/cyc_complexity_plugin.c | 6 +- scripts/gcc-plugins/gcc-common.h | 55 +++++-- scripts/gcc-plugins/latent_entropy_plugin.c | 8 +- scripts/gcc-plugins/sancov_plugin.c | 8 +- scripts/gcc-plugins/structleak_plugin.c | 246 ++++++++++++++++++++++++++++ 8 files changed, 326 insertions(+), 29 deletions(-) create mode 100644 scripts/gcc-plugins/structleak_plugin.c -- Kees Cook Pixel Security