From patchwork Tue Jun 14 22:19:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emese Revfy X-Patchwork-Id: 9177037 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 53C5360772 for ; Tue, 14 Jun 2016 22:12:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 443C828332 for ; Tue, 14 Jun 2016 22:12:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3801728339; Tue, 14 Jun 2016 22:12:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 6D1FE28332 for ; Tue, 14 Jun 2016 22:12:53 +0000 (UTC) Received: (qmail 24081 invoked by uid 550); 14 Jun 2016 22:12:50 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: kernel-hardening@lists.openwall.com Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 24054 invoked from network); 14 Jun 2016 22:12:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rJoWusxDtenxQ2lqdOCXGi5kMYEtWRMTWnqqcFzW/WY=; b=vN+zBqN01ni+xImKCLmTzwhMzB/qoWeDlvP4tlpV0uuMV+zbSJRdo9mcuDG/ICz7Qg bsADbX5mzyMvh9GLZzXnP0MC4wmrA63my3zA4ojqnZ0XZNAr5nm+8G+XlcLtE2SrnNmb cZiS7ARVI2fgsQpKDzoBDv9O0yUu9UAbnoQ/vORP47y6iXk5F7M/Fjm/rfBPyyljtxnV Xho+zEfyfR0iOEmmuMmVjrLxl1YRDkYMhRmG0AI3HfjuFZoW/LVp3wpfd9L6jciVipEQ arj7CF/GJKQ/iEVwNric3GaT24FLufC1eK4L4R0AcCer481s80dyW3NNL2zNaSIDbbdL rDgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rJoWusxDtenxQ2lqdOCXGi5kMYEtWRMTWnqqcFzW/WY=; b=AQZ/TQgUxmiorLc8+TDBK9LUAxpZiqrIxR9HarIWZyANAOEriGgSOqi6bnp4L2D7VQ 7fYPcESUguqpfdl1X9p7PURb8o1+Pufh0yJhv87qKErN8It5ggDCCEoR1bihxiPdQmZ8 vBNIF8oDMa2B8QekoKextt04skCIBxcuw0655XVTk1WuRcTx4R0ZdW9XiSx6qY8PhY1F RicDP3Cp4DsHpDmS4PHeOEY8vA1ddrJ/uqpu6Uos4cGO7RThmRDA+WaDLWn0TZCV59zC x1RAQYswgsAE2P8wjm4fYGraXE1unQx3s8C+RaQKb8apFT/lRj73Mq+p4ztD3nc4a9qU VqCg== X-Gm-Message-State: ALyK8tLC1aQM3UdAJHHb6CmkaUzOT4g1ypEyHarFGeFRUq+eZ6FFYtErMrARax6lX7ot2Q== X-Received: by 10.28.4.140 with SMTP id 134mr6862894wme.91.1465942358793; Tue, 14 Jun 2016 15:12:38 -0700 (PDT) Date: Wed, 15 Jun 2016 00:19:26 +0200 From: Emese Revfy To: kernel-hardening@lists.openwall.com Cc: pageexec@freemail.hu, spender@grsecurity.net, mmarek@suse.com, keescook@chromium.org, linux-kernel@vger.kernel.org, yamada.masahiro@socionext.com, linux-kbuild@vger.kernel.org, tytso@mit.edu, akpm@linux-foundation.org, linux-mm@kvack.org, axboe@kernel.dk, viro@zeniv.linux.org.uk, paulmck@linux.vnet.ibm.com, mingo@redhat.com, tglx@linutronix.de, bart.vanassche@sandisk.com, davem@davemloft.net Message-Id: <20160615001926.74e2c18cbefe799b0a0c2dcb@gmail.com> In-Reply-To: <20160615001754.f9e986cf961d1466f5e086dc@gmail.com> References: <20160615001754.f9e986cf961d1466f5e086dc@gmail.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Subject: [kernel-hardening] [PATCH v3 1/4] Add support for passing gcc plugin arguments X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Emese Revfy --- scripts/Makefile.gcc-plugins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.gcc-plugins b/scripts/Makefile.gcc-plugins index 5e22b60..da7f86c 100644 --- a/scripts/Makefile.gcc-plugins +++ b/scripts/Makefile.gcc-plugins @@ -19,7 +19,7 @@ ifdef CONFIG_GCC_PLUGINS endif endif - GCC_PLUGINS_CFLAGS := $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) + GCC_PLUGINS_CFLAGS := $(strip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y)) export PLUGINCC GCC_PLUGINS_CFLAGS GCC_PLUGIN SANCOV_PLUGIN