From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932352AbcEYRM3 (ORCPT ); Wed, 25 May 2016 13:12:29 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37425 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932152AbcEYRMV (ORCPT ); Wed, 25 May 2016 13:12:21 -0400 MIME-Version: 1.0 In-Reply-To: <57458279.6080009@suse.com> References: <20160524000719.b456ed0cd2aafacb4e53f177@gmail.com> <57458279.6080009@suse.com> From: Kees Cook Date: Wed, 25 May 2016 10:12:17 -0700 X-Google-Sender-Auth: uVpJeJ4728LikmxHxfgtFa_ge98 Message-ID: Subject: Re: [PATCH v9 0/4] Introduce GCC plugin infrastructure To: Michal Marek Cc: Emese Revfy , linux-kbuild , PaX Team , Brad Spengler , "kernel-hardening@lists.openwall.com" , Rasmus Villemoes , Fengguang Wu , Dmitry Vyukov , LKML , David Brown , Masahiro Yamada Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 25, 2016 at 3:46 AM, Michal Marek wrote: > On 2016-05-24 19:04, Kees Cook wrote: >> On Mon, May 23, 2016 at 3:07 PM, Emese Revfy wrote: >>> This patch set introduce the GCC plugin infrastructure with examples for testing >>> and documentation. >>> >>> GCC plugins are loadable modules that provide extra features to the compiler. >>> They are useful for runtime instrumentation and static analysis. >>> >>> The infrastructure supports all gcc versions from 4.5 to 6.0, building >>> out-of-tree modules and building in a separate directory. Cross-compilation >>> is supported too but currently only the x86, arm, arm64 and uml architectures enable plugins. >>> >>> This infrastructure was ported from grsecurity/PaX. Based on work created by the PaX Team. >>> It is a CII project supported by the Linux Foundation. >>> >>> Emese Revfy (4): >>> Shared library support >>> GCC plugin infrastructure >>> Add Cyclomatic complexity plugin >>> Add sancov plugin >> >> Michal, once -rc1 is out, can you carry this for -next? > > Yes. Awesome! Please consider it: Acked-by: Kees Cook If it's any help, I have it in my tree here: http://git.kernel.org/cgit/linux/kernel/git/kees/linux.git/log/?h=kspp/gcc-plugins/infrastructure Thanks! -Kees -- Kees Cook Chrome OS & Brillo Security