Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp813005ybg; Tue, 9 Jun 2020 13:34:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8gYBZpzKsXD/Wd0dRWAMCHrzB5VPTec9WezwNvNFqZVFUnIkPmDCKhtRC0x5bJG5yr4em X-Received: by 2002:a17:906:2409:: with SMTP id z9mr173269eja.442.1591734867695; Tue, 09 Jun 2020 13:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591734867; cv=none; d=google.com; s=arc-20160816; b=Qbi7GK6CcP8tYi5eLTWsbYLZflFAdHPlJTBtFX9/t+noRX1K/aBwadWu6a+J6HK71E ylZeCvZkKp5X8dcLzntCbPOsCkXcIUQCpI38IFlRJ9KC4c5TDUYtCSv8oBCQmVyKJ95H bhKeVWPBTKvx/84LRZo4qk+LjrPySKEEW4tkES960qb5gVzsZi5QljDkWD8j7fApn9Pm 1knxUMT/4ugNyEjC/0ePJrsP3eS4SPnEA70fWEKTjbmM5ZdFrzVAL2lAuRSic71O+FpL sFbSaTHC3g2pHw3TSxS+p+7JwPxg7Y2eBfTlWHf3CD67j9U+TEnJ5eShht8CkAC3rOts AU2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uJfu7VCoabwyy7XV4REVbfqvINHE8jJHSSQxXyuHXd8=; b=jtmWSR7Q1OASUp3n2T+wKWDfc2jssdU6x686trM7wigut93qxhC0P8ESb9VKfXi1Kx vWAVNc6ome2j0ruk+nIKmJKDA3Z6L3sabhSu1MwhkhEPKg/KyIHwJtVGgBmT0pZ1b0+1 xQnmFk84DnV98YYnR6d5aKbvpJxkcUB769pup8TfrrTLZAWWX0kzrS+PNDFMPnimtA0g u8A475QVrvXtKm0PVqKX/Iyoimge5vEFylarGJd9xmMVeeWTi6EvYZMCiBk5k4CjOQvZ GIy4xdGJh4aBei1LR0msiNCNvyi5O4ttMrBSNuvERgAN9KtrcLv2JK0MaTTUCUEy6lff lI0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RRs1XpvK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du12si8692149ejc.441.2020.06.09.13.34.05; Tue, 09 Jun 2020 13:34:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RRs1XpvK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388798AbgFISre (ORCPT + 99 others); Tue, 9 Jun 2020 14:47:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728400AbgFISrc (ORCPT ); Tue, 9 Jun 2020 14:47:32 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B317DC05BD1E for ; Tue, 9 Jun 2020 11:47:30 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id q24so1795257pjd.1 for ; Tue, 09 Jun 2020 11:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uJfu7VCoabwyy7XV4REVbfqvINHE8jJHSSQxXyuHXd8=; b=RRs1XpvKUrWcGC9rIH96xpb3pTK7Sz9Y478qOvPHNO4RLX043gSI9fVBKTbIjskAsD NYVbHiStuO9ZNyJZjm0N/3IRfTEgzEFthkAy/Nt63yzoJ0aFhLDWR5b0DOgY+O1mRVuG TpNIJcS9r6syyH23xPO0c25GxRl4Du26VqrsU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uJfu7VCoabwyy7XV4REVbfqvINHE8jJHSSQxXyuHXd8=; b=anC1mWWX17UHE79cbW5gaROe7AJ3JBh+bqbnWRHGlUXL+NBVnkLdw4WxvMsknz7qaB dRg7CKeqh3VuO8XztwF4LlB+2Odpqmas3jM+h6spbkjs3HYUuvX8EZDIhgkA7yWbJB7P r03elpnACZn5q9K59cLp8fzVxOEu2f544Qrf47xY2vRwMolny6UVjS/6gEBffCsqlmRO BwunnNtGrD271XgZ00ZYVqrrHo4aQLcwiD3em1e0CR81reExpZoLSIHbkCXaQ7Ph9tl6 /sY5N4yXu7Qt4QzSPEE3XJYyxt6HTjdHjnc6u3Jv8Cd2FrYcRspT+pgYAbjdU+qudyYt pZYg== X-Gm-Message-State: AOAM533/tzZSE/MTZdDSm1P9/cUGDWWBxz5e96mFxf6r1aQjOhMs6YDQ 2jDui3C4GaTjMBE/sFWvwwi7SA== X-Received: by 2002:a17:90a:30a5:: with SMTP id h34mr6603724pjb.36.1591728450330; Tue, 09 Jun 2020 11:47:30 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f3sm3388976pjw.57.2020.06.09.11.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 11:47:29 -0700 (PDT) Date: Tue, 9 Jun 2020 11:47:28 -0700 From: Kees Cook To: Alexander Popov Cc: Emese Revfy , Miguel Ojeda , Masahiro Yamada , Michal Marek , Andrew Morton , Masahiro Yamada , Thiago Jung Bauermann , Luis Chamberlain , Jessica Yu , Sven Schnelle , Iurii Zaikin , Catalin Marinas , Will Deacon , Vincenzo Frascino , Thomas Gleixner , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Mathias Krause , PaX Team , Brad Spengler , Laura Abbott , Florian Weimer , kernel-hardening@lists.openwall.com, linux-kbuild@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gcc@gcc.gnu.org, notify@kernel.org Subject: Re: [PATCH 3/5] gcc-plugins/stackleak: Add 'verbose' plugin parameter Message-ID: <202006091147.193047096C@keescook> References: <20200604134957.505389-1-alex.popov@linux.com> <20200604134957.505389-4-alex.popov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604134957.505389-4-alex.popov@linux.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 04, 2020 at 04:49:55PM +0300, Alexander Popov wrote: > Add 'verbose' plugin parameter for stackleak gcc plugin. > It can be used for printing additional info about the kernel code > instrumentation. > > For using it add the following to scripts/Makefile.gcc-plugins: > gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ > += -fplugin-arg-stackleak_plugin-verbose > > Signed-off-by: Alexander Popov Acked-by: Kees Cook -- Kees Cook