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: 9177033 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 4FC4960772 for ; Tue, 14 Jun 2016 22:12:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EE3F28332 for ; Tue, 14 Jun 2016 22:12:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3385028339; Tue, 14 Jun 2016 22:12:42 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB20628332 for ; Tue, 14 Jun 2016 22:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751529AbcFNWMl (ORCPT ); Tue, 14 Jun 2016 18:12:41 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34737 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751494AbcFNWMk (ORCPT ); Tue, 14 Jun 2016 18:12:40 -0400 Received: by mail-wm0-f65.google.com with SMTP id n184so1653752wmn.1; Tue, 14 Jun 2016 15:12:39 -0700 (PDT) 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=gHrr7Cgl8a5yNOKnWQCY4xoplBYXdpvFVu43+U2HHRAegwQYXlPnqCNUB1w07TC2TK BcuKTHos+R/3VzhtFx157tJhLRHcQ6p6v1yh0srnxWmGdr0IZYPRluK97sRhI0KRC8B2 u2+avEVnKvi1KVhhpk3xW9LT5gfUkKCUL95Z/lHaOxjl+MugsA3A0alLxTD1zP+Y759h OE7anCJVIKnvLJZAoiHAi+t695tYDIg3g1UipSej4Xwny3wyUEmh9WURzz/UJP6ifKIC ZvTMycToLfnS0XVkaCbuRyIbyJRCXv/P63YSqtbVj+CijWZ9gYO6AvR+gbH6kaC5KuCA shLg== X-Gm-Message-State: ALyK8tKJqUq9GGrTE8WakC2K8XjncVJFztsFSUHAq28e7DvwfYczKMwyT5Z27KBtDwpKmQ== X-Received: by 10.28.4.140 with SMTP id 134mr6862894wme.91.1465942358793; Tue, 14 Jun 2016 15:12:38 -0700 (PDT) Received: from localhost (beleg.madhouse-project.org. [128.199.36.147]) by smtp.gmail.com with ESMTPSA id h8sm35007809wjg.9.2016.06.14.15.12.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 15:12:37 -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 Subject: [PATCH v3 1/4] Add support for passing gcc plugin arguments 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 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org 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