Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7749138ybi; Thu, 1 Aug 2019 13:16:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqTJ6E3GC0oeh4HL7PiRXU8B0+P8OTNu1EouYGgm/oIuxMgqSGRGppWF+jClVEeWG2iDNN X-Received: by 2002:a17:902:724c:: with SMTP id c12mr125504646pll.219.1564690615601; Thu, 01 Aug 2019 13:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564690615; cv=none; d=google.com; s=arc-20160816; b=q0yso0YeLMHAfwvhNxjqxP0XFdouU0nqJn30kNLLMULrIcP/iTsfHqJowQdzGRO9aV oiZyniL8WvL5vkHGS0nFMzzHjG1gRUDUkoT60dxW2zShXYMJYDHjgybSVNpJvSaLxKDq xfGXpCOLasJdXGfeEQwaXSApzlJhqbNQxk6LWS81ur9dvxit0ji8UtOm2K6HWojRCIpD aON3MSOd8sN+DXBOhbnI+Z4Y7DQd4T5ek35KhTn9CDDU46cU7xqJ9rUhP9pGthboXi8Q JfbrBb26FvCcfuZ7+gnPVglkFSA950FAyMVYZ6iLPgJGS11dXMlPotDeaivsyvmgeD5y wovA== 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=ijIfaB/u8ohpmn4mM5slg76T9xTiwfAQK+gE07HS2Gs=; b=i1SL0wy0UBUkcLpnsuuos8kznylMUUfKqLt9h+NUOCyo/7yKhSKeeulJXcrLV55gI8 KDogV4QaGPkdiLuK+Clm/Oz+Aa016ZTsnzEgw3No/HrNbMCNUFa6RJjBOnhZDmfad9P6 PGqzTNbO6N4u1Pf0UXZRAjT7IrtKVr2hmDCZ9peSSPBah1oNq9+NtUJVuA/WwIwLgi09 Rm69DNdBcPpjNGHqNF608qeJeSQ7v7C/2vHuYTWsUQuPc9tsY8av9+Umg08iEGD/yTMR z9ft445kZw7i7XGidmh+yIeTS1zmD1agOhIap1F1630qdO5dC8nxPBmefnr5Nu0RW/zq rOng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZkklR3uF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id r4si42038678pfg.26.2019.08.01.13.16.39; Thu, 01 Aug 2019 13:16:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZkklR3uF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2388888AbfHAUOq (ORCPT + 99 others); Thu, 1 Aug 2019 16:14:46 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:40836 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbfHAUOq (ORCPT ); Thu, 1 Aug 2019 16:14:46 -0400 Received: by mail-pl1-f193.google.com with SMTP id a93so32626322pla.7 for ; Thu, 01 Aug 2019 13:14:45 -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=ijIfaB/u8ohpmn4mM5slg76T9xTiwfAQK+gE07HS2Gs=; b=ZkklR3uFxHP6Y8XTx6VYhj4O+6IWJ8wZ86vYmsLdLmL9Kl9ScF36BtA/WhBpEYQrP+ MWMssjtZ2f8XwT3s1JU8L4q/1Y9Sq9fJvEklvCBLMowpUpIAQEsMTJ1/QuOD8zGMDjgy OSpC84q4u6JX0fauLOvOvcFmIWe96B95fH8BM= 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=ijIfaB/u8ohpmn4mM5slg76T9xTiwfAQK+gE07HS2Gs=; b=Rt7Y9yvufYwjNd6gR6IuK2Z5nRqYBve+/8dp4Ms9II8R3kv6/QaABYjpGha1h4AA0X uG0Mk/jbx+ZhOJYr0DaV5YcAagUwZmohHXe7y4pKMcfSo3mSV6GR4jMpBXqPX/Io9Kzm ROOh8IgE7OXLERfDsS+4bMnRup3QTwQ6gU75nxIufKO4K9L/oMKThfNjLe670UQ7+nn3 wlHrXt4xO+ngRbDMoTUmRH4Vcqn3BWmqe2F8VpVxPPinTzrMYzqAG5Lzw9Wi1Gx0c3Mq +oKhFT0bFc9r1bGjZM9MCAKJ+B/iX3J5f1N7E+iRJHKr8ie7k4tf0l5aoZLqzaN0ON7v AXow== X-Gm-Message-State: APjAAAXAm97c3wK9DCO5PIZSCpf3W/Ermd9e2TUQmp93EGdXHimJgLHs yF3g5Rko+LVvaV8XDmiGob8dLg== X-Received: by 2002:a17:902:9307:: with SMTP id bc7mr123619972plb.183.1564690485486; Thu, 01 Aug 2019 13:14:45 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t10sm5741928pjr.13.2019.08.01.13.14.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Aug 2019 13:14:44 -0700 (PDT) Date: Thu, 1 Aug 2019 13:14:43 -0700 From: Kees Cook To: Robin Lindner Cc: re.emese@gmail.com, kernel-hardening@lists.openwall.com, Alexander Popov , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Documentation patch (gcc-plugins kernel) Message-ID: <201908011311.A06FB03C6C@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 01, 2019 at 09:30:58AM +0200, Robin Lindner wrote: > Cleaned documentation comment up. I removed the "TODO" because it was very old. Hi, please send these patches "normally" (cc maintainers, include lkml, inline not attachments, etc): https://www.kernel.org/doc/html/latest/process/submitting-patches.html > --- > scripts/gcc-plugins/stackleak_plugin.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/scripts/gcc-plugins/stackleak_plugin.c b/scripts/gcc-plugins/stackleak_plugin.c > index dbd37460c573e..d8ba12c3bb238 100644 > --- a/scripts/gcc-plugins/stackleak_plugin.c > +++ b/scripts/gcc-plugins/stackleak_plugin.c > @@ -144,8 +144,6 @@ static unsigned int stackleak_instrument_execute(void) > * > * Case in point: native_save_fl on amd64 when optimized for size > * clobbers rdx if it were instrumented here. > - * > - * TODO: any more special cases? > */ > if (is_leaf && > !TREE_PUBLIC(current_function_decl) && As to the content of the patch, let's also CC Alexander... Are there no more special cases? -- Kees Cook