From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932290AbcHBW1w (ORCPT ); Tue, 2 Aug 2016 18:27:52 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:33159 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932151AbcHBW1p (ORCPT ); Tue, 2 Aug 2016 18:27:45 -0400 Date: Tue, 2 Aug 2016 15:20:57 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Emese Revfy , Laura Abbott , PaX Team Subject: [GIT PULL] gcc-plugins update for v4.8-rc1 Message-ID: <20160802222057.GA23248@www.outflux.net> 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 this new gcc-plugin for v4.8-rc1. This is the next gcc plugin from Emese Revfy, funded by CII, and builds on the new gcc-plugin infrastructure now present in Kbuild. It provides a way to generate additional entropy at boot and runtime, which is especially helpful for embedded systems. Thanks! -Kees The following changes since commit 565910d28820376c6f20542922efcfddaaba11d0: Merge remote-tracking branch 'kbuild/for-next' into for-next/gcc-plugins (2016-07-28 11:01:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/gcc-plugins-v4.8-rc1 for you to fetch changes up to 60c7930ac8443e1f6f72600c14faaa044a6d7725: gcc-plugins: Add support for plugin subdirectories (2016-07-28 11:02:30 -0700) ---------------------------------------------------------------- New gcc plugin: latent_entropy for providing more boot entropy, especially for embedded systems. ---------------------------------------------------------------- Emese Revfy (7): kbuild: no gcc-plugins during cc-option tests gcc-plugins: Add support for passing plugin arguments gcc-plugins: Add latent_entropy plugin latent_entropy: Mark functions with __latent_entropy latent_entropy: Add the extra_latent_entropy kernel parameter gcc-plugins: Automate make rule generation gcc-plugins: Add support for plugin subdirectories Kees Cook (1): gcc-plugins: abort builds cleanly when not supported Documentation/kernel-parameters.txt | 5 + Makefile | 7 - arch/Kconfig | 23 + arch/powerpc/kernel/Makefile | 5 + block/blk-softirq.c | 2 +- drivers/char/random.c | 6 +- fs/namespace.c | 1 + include/linux/compiler-gcc.h | 7 + include/linux/compiler.h | 4 + include/linux/fdtable.h | 2 +- include/linux/genhd.h | 2 +- include/linux/init.h | 5 +- include/linux/random.h | 15 +- init/main.c | 1 + kernel/fork.c | 7 +- kernel/rcu/tiny.c | 2 +- kernel/rcu/tree.c | 2 +- kernel/sched/fair.c | 2 +- kernel/softirq.c | 4 +- kernel/time/timer.c | 2 +- lib/irq_poll.c | 2 +- lib/random32.c | 2 +- mm/page_alloc.c | 32 ++ net/core/dev.c | 4 +- scripts/Kbuild.include | 10 +- scripts/Makefile.gcc-plugins | 45 +- scripts/gcc-plugin.sh | 14 + scripts/gcc-plugins/Makefile | 11 +- scripts/gcc-plugins/latent_entropy_plugin.c | 639 ++++++++++++++++++++++++++++ 29 files changed, 815 insertions(+), 48 deletions(-) create mode 100644 scripts/gcc-plugins/latent_entropy_plugin.c -- Kees Cook Brillo & Chrome OS Security