Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp646108ybt; Wed, 24 Jun 2020 07:54:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxaqd3kDd6kpbUgAsw0/Xhup0ZTD9Ake9S7a5A0rf9Wj+lJXclXZZP5o6BBaOW2QKipw54 X-Received: by 2002:a17:907:402e:: with SMTP id nr22mr24448113ejb.239.1593010496153; Wed, 24 Jun 2020 07:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593010496; cv=none; d=google.com; s=arc-20160816; b=zhhvTLxmHZ/7ZK1PReD4zfg9Idyf6muQ9K+zu81+CsV4ycSgS1IGQ/iQdkl5LMt5QX KsIeJXf3W8XxGyQeffKiWPMcuHyEHoiXzZFfV9dKzON81ayRCuHwUmhl41PxmubMTmsi 3eRikSUUnupGmv0lwyqYlF1E378J1usV+9HYSel2a+6sACf1ZAHCPbfU0hEhBha9Gy6S oY1D6s2ZOgFaZLZj3Q3Nm5qAzN6u/ST6ApJ6WoObTt+H7f82/Tq9ZTkRxdh2ZOX7Rhjm FZSL+vdDKG3qi6+Qf6vs9QrJAq1tk9Wm5C2pVPHVtr/kNAa1cqbEKcbCetF2ldA/55UJ ePtg== 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=OPWu0TeNvD4ujFH7IT6Yq/7QVWt6mn1sVW+hYIGa3/c=; b=MkdIlhjZ3J3oYnF1DlrVpewidsB+Ft8ro/srx3xdCxbym1TqQCOu+EBsmAKaw4ClU7 VPISi07ko64Y7wbmCnFLJAssxG8+Z0D09xE70+RcpAnXgrJcxHfylyPLw4ClT6oF+3xh mMln7lx2ghIpu0UBYqOQZKYU76gt4r4LPADWj8enrGkri0hRsygHt+aEq2/b6Z0aCUZ3 0M0CWdVhgkn6CBHLiIv3pBwFOcrAHhFeRHJnsp0jrs4+gSM6gFhrGwgMBDAjOAtYBrqr hGSxp2AIuJx1TNyWQKdUzgWGP8yQ5bvaEhHJkMRIGVb0ZzkXDphIrFt850ts+KLW0kue uVXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hpP80aWo; 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 bt23si6841748edb.545.2020.06.24.07.54.32; Wed, 24 Jun 2020 07:54:56 -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=hpP80aWo; 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 S2391164AbgFXOx1 (ORCPT + 99 others); Wed, 24 Jun 2020 10:53:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389818AbgFXOx0 (ORCPT ); Wed, 24 Jun 2020 10:53:26 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89FEBC0613ED for ; Wed, 24 Jun 2020 07:53:26 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id jz3so1270497pjb.0 for ; Wed, 24 Jun 2020 07:53:26 -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=OPWu0TeNvD4ujFH7IT6Yq/7QVWt6mn1sVW+hYIGa3/c=; b=hpP80aWoVCRlVHrXGBwyfL+RPDRXCMe7ZswUMGPPdIckNU+/eQLVr51wJYXeK84tS8 2WCDJZSZTwtxrmhRVEOIBcnY26CQPqWU3uVdGunp0mR0o+2LoNpU5OTOKcg3KoQqUP/D FsCCqiNuvarAC7Prd/cfAOwQBwApsIR4mQjPw= 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=OPWu0TeNvD4ujFH7IT6Yq/7QVWt6mn1sVW+hYIGa3/c=; b=Bf3cDtmHl72ngoOMOyL45SXM1s3egfJbxnTkGpAvDGRi5gk/teEaoc5HT2DUyoJdWu rAirRONeWEY9AIPF+1jrJ/v6n48sH+jwhrd4VruhOdjWKCiHzQlmM5K+2UAkNZg1MoxX 8DaGNyCng9wNc//pchby/ubln8CS26HfhuRUjeQpgBksxYgqoYDN5mg6QlmtDan5kl1N /PcdHTXEGYQncCoLJWZW63ofp9pOpTFPBh0hi2GL/7ww9Jf95rDxHF1mQTfvx3LYSy61 Gs/WQpp0QDYX+NTxTCDCOMvigEHTVpMRjTtCdw4129FP3wxVel9Ro291UA8xx+jZoDyI FY1Q== X-Gm-Message-State: AOAM530f+K5+RI1X6flzAtRLw2vSc9X6URPn0mPd5+cMyXqDctPc0+vF cJeZHu6tWTeq1djoAAcyLVJ5Ng== X-Received: by 2002:a17:90a:f508:: with SMTP id cs8mr26450593pjb.16.1593010406141; Wed, 24 Jun 2020 07:53:26 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id d4sm5876447pjm.55.2020.06.24.07.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 07:53:25 -0700 (PDT) Date: Wed, 24 Jun 2020 07:53:24 -0700 From: Kees Cook To: Alexander Popov Cc: Jann Horn , 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 v2 5/5] gcc-plugins/stackleak: Add 'verbose' plugin parameter Message-ID: <202006240753.8C62F5A@keescook> 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 > > Signed-off-by: Alexander Popov Applied to for-next/gcc-plugins. -- Kees Cook