From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 419F1C433DF for ; Wed, 24 Jun 2020 12:53:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D40F20663 for ; Wed, 24 Jun 2020 12:53:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593003190; bh=ksO9hZb4pkCVclLi7xUj0ltCgxj5j0bhJth9KbjyB+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Aik8DDz1d/QW7D/oTaBtUDBsfJKtfwEvXmS/7cYHwustcOY25i69XPX1klLYrCqsa a/to9vscG05aVT69CMOUvuLdJo/YSJ+oetiReu0LosGGxrBhorpFfcc2djxt3602+z aBSmLhDL2uypZkDYFwahF+oWumebV/s3UUcuE86Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390917AbgFXMxI (ORCPT ); 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-Google-Smtp-Source: ABdhPJydf2a/ChBdgFCHlq0WCNjf8N9Yo8suilvVTsKI3Zox/8CKs38PB/PLjTY9T+3M/14w9UJfpg== 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