Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp554230ybt; Wed, 24 Jun 2020 05:55:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwko/oQKBRR34xift+KN0U1XZD10Vls92CI5uurAPRX8ZapenUzqx91/FxXC+Z9KZju1pox X-Received: by 2002:a17:906:494a:: with SMTP id f10mr7375349ejt.428.1593003308720; Wed, 24 Jun 2020 05:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593003308; cv=none; d=google.com; s=arc-20160816; b=yjfu9YddtG/2ToHf3ra7rSMwWMQqB5DWQr2hKhwj1+8JlN6fk0LrP1/w65GWuiIetg 0U34u8Xz199cpVe6RhasEa+8d09x79drB/2oQY8auUw5vsHn5MEenrUgWGXOc2Z/zTx+ ghVrrrxAvW55ZhRyvf98FInNZ4n55e0hOUqSAtLTccot4zhuuSeLqP5wGeyoorjx+NJA 1l4VnuW/KzL3TECAZiOP1qebOTKloa65NBKwoF4u2U33pHFd+a3XNJHdRtqF1F0Wgd+Y IXLGTDOh6u/e0P8LAwal7dEZGfxoUI52mHPITVBni4YpzgId94USEI89JYZOpTHyniWq QG8Q== 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; bh=LW+cEvL5rxny3qTajLMBWIwk08EKQ6OtW1sh3tGLLCE=; b=Uctl8Kl7FqRtPCoHPt2R5ICOR/n3KA6eUaJyX/T4zahuFqySKnZbS/vucI6FjzBczV PKg1NcSQDRF6ARJrfVNuDwIbZ+XXZQrV7pQWCGFI8L64A1MLCwWGMUBFayXqmdCC4WNH CBBwXEo7jvaG32yN9/QXsQmQqM6v+Qs50esHRx1nBjtD3N8DrYuE7NqfplHxxQ6RuYy+ ws8ktQhCQVSNyXtEZkxGTj+p93cpueFE+mNwZNwnW0OVmdvEtKx4hd6hRFmwKVPUlqpZ f6zH50Ne7HZzoBJTMRZ/dmQnH6IvJtQQvoPdjXeAkf396kONvnZdvFjmlTd73POcNj+P 83SA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm15si14805290ejc.728.2020.06.24.05.54.44; Wed, 24 Jun 2020 05:55:08 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390700AbgFXMxI (ORCPT + 99 others); Wed, 24 Jun 2020 08:53:08 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:43604 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388942AbgFXMxH (ORCPT ); Wed, 24 Jun 2020 08:53:07 -0400 Received: by mail-pl1-f196.google.com with SMTP id x8so129660plm.10; Wed, 24 Jun 2020 05:53:07 -0700 (PDT) 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=LW+cEvL5rxny3qTajLMBWIwk08EKQ6OtW1sh3tGLLCE=; b=iKv9nG1J7AtYfYE6bMBegwr/DK+sbIFumxG/fQU8CDAJFemu8/mfLyHUF5u8x2V8l/ jXy1J9cU5sVhvQjRfIQFen8VTsrOCP53Q0bq2N9DA/h5DEQjwE9bgYQIqewm/OEDQ26X V3/TkGrnK6r6NMikSZSNUPOdYVr3y4x501p4OSw6zmzOTlmbwiLIgkz1Dzg3B/YSxqz3 /YitVOdKb8RhDohqhES/FXiAMLhCESjVOucNmSmvxLGA1Sj5QvucHowLgAVO6y8A9J/4 G5TiY1admktt1meYrAnbXgu9/NeeNPahWSEkPKmpa/AFknGLe6jfkQRoISjTd2Nn5ckh UTIg== X-Gm-Message-State: AOAM530loANBxhHL9CF7TQdPZFtaILgUdI4eucqtFjb805e39C/74WAd oyJ5DOFG+HXuoXwYYrsC7Ts= X-Received: by 2002:a17:90a:ab88:: with SMTP id n8mr20426086pjq.34.1593003187201; Wed, 24 Jun 2020 05:53:07 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id l2sm5575240pjl.34.2020.06.24.05.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 05:53:05 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 0B6ED40430; Wed, 24 Jun 2020 12:53:05 +0000 (UTC) Date: Wed, 24 Jun 2020 12:53:05 +0000 From: Luis Chamberlain To: Alexander Popov Cc: Kees Cook , Jann Horn , Emese Revfy , Miguel Ojeda , Masahiro Yamada , Michal Marek , Andrew Morton , Masahiro Yamada , Thiago Jung Bauermann , 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 v2 5/5] gcc-plugins/stackleak: Add 'verbose' plugin parameter Message-ID: <20200624125305.GG4332@42.do-not-panic.com> References: <20200624123330.83226-1-alex.popov@linux.com> <20200624123330.83226-6-alex.popov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624123330.83226-6-alex.popov@linux.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 03:33:30PM +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 Would be nice if we instead could pass an argument to make which lets us enable this. Luis