From patchwork Mon Jun 20 18:40:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emese Revfy X-Patchwork-Id: 9188493 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 76F866075E for ; Mon, 20 Jun 2016 18:33:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68F0F27C14 for ; Mon, 20 Jun 2016 18:33:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DAEA27C39; Mon, 20 Jun 2016 18:33:58 +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 A31B427C14 for ; Mon, 20 Jun 2016 18:33:57 +0000 (UTC) Received: (qmail 23726 invoked by uid 550); 20 Jun 2016 18:33:56 -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 23706 invoked from network); 20 Jun 2016 18:33:55 -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=Trv+aFWqfT1drSSRs8KU6vcQVeq+329ypDHDo5Jm1MBYW1PMY8C1wycjJ6w2ZB9tef i//cj+gsYbZY6HqVRB1cP1z9shtNnzTNE4Tz8cJfYUnJMkFYnsTXD8bMPQJgWECwpgCl HatJ5vHarQMlcpIu/wvsSL+4vDQgPjlR3hMPD4jd+ansvig5xWCy1qLFpMbkgnm0ljWk VoZ2vbQnihHDy3ERfeQ26m89YQURwzKDUSmATNLXoIzKMqEe2zEmqRNz3CHyfA31441N MD/Kx7FUl2IZn8245wTjOoiZHSCko6gjksliHNOXfA2ZqzRFo+JCjQSyMaDFFDRtaD9w NI+A== 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=RDSdneY98T2rNK3NTvASybZ/I1nMVvqxgw8zQXDgpFqnb/Kv1gQ62K9TZ1+ZzP2kMX BqoLiIeX/Hf+oxKzk6E2MdF7O5gyfF5YZd3dOwN2ImRUIYYZPmcg4PlCtiSEowpEIjQU bNtFTnc4w43TY9VE2EpLGW3YA3dG2/O7r3x8O0oFRyVvEQNyyM78DSSWlgXw45+c9NMW O8Y/qE1rbH0M+Oi7JyKfZXPSKVAMFbAk+EUqCJc1sX83Wou2nDx174J7iTR+XEz1yDF4 Y/pbP4q4Gf9IZU+0GPwaDCh+uANQiegLvZXo0Fnb/rh/pvO//AE1IHq0aF8vmWfsFMsD Hq5A== X-Gm-Message-State: ALyK8tJFaGCe2+XHEXDYYhBsgERuLqQiTCnskqxPgjTWNSRkijmE6/x77KlnJW+tfRTudA== X-Received: by 10.28.199.139 with SMTP id x133mr11734147wmf.45.1466447624430; Mon, 20 Jun 2016 11:33:44 -0700 (PDT) Date: Mon, 20 Jun 2016 20:40:24 +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: <20160620204024.e7847514bafbe3b2c58dfa67@gmail.com> In-Reply-To: <20160620203910.a8b6b5b10d18f24661916e7b@gmail.com> References: <20160620203910.a8b6b5b10d18f24661916e7b@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 v4 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