Received: by 10.223.185.116 with SMTP id b49csp1313141wrg; Wed, 21 Feb 2018 16:28:37 -0800 (PST) X-Google-Smtp-Source: AH8x226S5vQeXMMtqGEWsUTLs8em0sYXsOTqNhAGi/HHiALxVenl9umxq8pMNajJR5SaKniGoAhD X-Received: by 10.98.29.13 with SMTP id d13mr5038574pfd.51.1519259317299; Wed, 21 Feb 2018 16:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519259317; cv=none; d=google.com; s=arc-20160816; b=DQmijVg279OPdPoGur6vWA3YJrUZmTeqOTBixYLCz6YE6Dp8Of3S5hKFvTGMtwPOwC S+XAli91ihz1ja+qCDDPjX6pPDgRTse7LiPsuL+WgMH/ymWmEzoewcOhTOUY58bQCUzz qkmYlSZ4Wq4ZycDfVfa85tW+ks3nhkxVnMk0E1bNHf2zN4fRWQiwE4sukaPUYVCWdk6I OQUsHAmGjYnyehyCR+Kpq7I71zxKQQeX7dMuF7afi7Q8xZXLdyoUFqO8RjIQv+Gnf46n l4FYwZWcn2AR7KIvRzBk/8z1bH8tz8q/Yntr5F2/2pArGCyrdSyRWx//vHeNYq734eJT UtUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=wV8bVpYXdRz9+I5TMfwrWaVFqWMH/jUSTJH0n8Dntv8=; b=pnUdCKXatcQff44ES4QrsP9yXvBAlRSOhX6JqbZ7IoPUM3rB1HecMpx7bjRfcZ5tQ8 rO5GbsdgDZwNZzW6VhCF6Ghl4EOJBHhqrsEBLyJsNaSo9u9cm7XJC3pkk7H20Unj/q7r oSkuDCORzqh7UT3P0ZsB0Bo6ktUR/hXdKWKOJPzawEKVt0OZ7Ni/oSKWioqzE9EhNkKL RyHp37e9ltW893woJs672xFKI2O3SlLf6XJhr4yaLhrFbbwNkHqMoNirFYBDs3gYzIh8 /kyvbtXg9Bl9TmkqYOpMTVfa455UOtoIYTf2xOI6LzTn7gUS3nQRli6jCQeEoURqw2Ay H4DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=NEfuapR0; dkim=fail header.i=@chromium.org header.s=google header.b=N5fwDp+N; 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=fail (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 69-v6si302059plc.814.2018.02.21.16.28.23; Wed, 21 Feb 2018 16:28:37 -0800 (PST) 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=fail header.i=@google.com header.s=20161025 header.b=NEfuapR0; dkim=fail header.i=@chromium.org header.s=google header.b=N5fwDp+N; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751552AbeBVA1Q (ORCPT + 99 others); Wed, 21 Feb 2018 19:27:16 -0500 Received: from mail-ua0-f173.google.com ([209.85.217.173]:34556 "EHLO mail-ua0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbeBVA1O (ORCPT ); Wed, 21 Feb 2018 19:27:14 -0500 Received: by mail-ua0-f173.google.com with SMTP id m43so2253497uah.1 for ; Wed, 21 Feb 2018 16:27:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wV8bVpYXdRz9+I5TMfwrWaVFqWMH/jUSTJH0n8Dntv8=; b=NEfuapR0RzL3gEs/6RXgC5NeFJ27rbyBfCqX35yAEn/ymKfFEs6EBg5KOmpII/YeHc PuWPAR6cO9oBftuLfVRmezBzBLIVspFCwoQvOPXM2TbH/qBzcCsmYi1I8iMOONsiIZBf CzVnCN4DrLoMPFEvngOu4j+soTLoBdjure3hhnJkzCZEWcXP/3QsQaUkhX0Dx9Nt0UZJ Pn3r4J9lH8tvfzAMKMQJRTgbN3nlx5JvnaizWpdL56shrc6qpRpAzphTNvvNgXUddIyS +9T3DBndIJp7GYGi7P+VWcQisVYc9J33j3wr9slIZ4g88F0fLncjKZeuFNShTN8EC4kA pLXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=wV8bVpYXdRz9+I5TMfwrWaVFqWMH/jUSTJH0n8Dntv8=; b=N5fwDp+NYtEmMg1sZEhXVahM6/E3WKpV/zUmtjrJxXeU8y4YVYpb6tRqrlC5N53T+l CL6jkEmUwnC/qavBPLC0GICcNoRQ425YvXmDED6hSiqRH+hpRwuzlOqemE98CmdwBfrZ Lqb7BcGPRyvUnkEKiDmz+PNaz+G3T4cWaA/XE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=wV8bVpYXdRz9+I5TMfwrWaVFqWMH/jUSTJH0n8Dntv8=; b=SbHob+DpMKoRqv0igdFHNnOAJ8w/dIcQbi7z2aMbPtNVowgybarPtb4u8D5wmG7Xkm tSAMhZeYdRxpKH9h/RCA0RPiHyFqPeZXeCWU7cL7TgnIVEGYvwPqd3cdWLMNnwCjVQfX yG+qE2mG8iZ36J0dxGffDwCE75brlJ5sgjfeD5GYIi3Isa6txCDqcW8hX5JTaVr8OJ+8 mEetRtznxPtbKeQp9Gw7CSHHJKxf0B1VbiyKqzyKEU2qYVrZlq8CooCnVRW+G2S92woK vrkrFKxLAbErBMbOvqE6G4iTj6TU+yIzt0n5syE3msJ2wk1SCM/yBNdmibuT2g5DFTZY XddA== X-Gm-Message-State: APf1xPBpN8mxe0doueMmHmn6Pg2Jt3lvgxYfNIiSgYm+nr6Q1I8XdvBW aROibxv/a5+wngcIcR5AztDqwvlI+xqhb/SJlVcbDA== X-Received: by 10.159.38.51 with SMTP id 48mr4083250uag.193.1519259233548; Wed, 21 Feb 2018 16:27:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.242.140 with HTTP; Wed, 21 Feb 2018 16:27:12 -0800 (PST) In-Reply-To: References: <6be06ce5-87e6-0d9d-55b9-6c70c3578ecf@maciej.szmigiero.name> From: Kees Cook Date: Wed, 21 Feb 2018 16:27:12 -0800 X-Google-Sender-Auth: D3T4L54ElyuYQwwi47nZPDxXjlw Message-ID: Subject: Re: RANDSTRUCT structs need linux/compiler_types.h (Was: [nfsd4] potentially hardware breaking regression in 4.14-rc and 4.13.11) To: Linus Torvalds Cc: "Maciej S. Szmigiero" , Patrick McLean , Emese Revfy , Al Viro , Bruce Fields , "Darrick J. Wong" , Linux Kernel Mailing List , Linux NFS Mailing List , Thorsten Leemhuis , "kernel-hardening@lists.openwall.com" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 21, 2018 at 4:23 PM, Kees Cook wrote: > On Wed, Feb 21, 2018 at 4:22 PM, Linus Torvalds > wrote: >> On Wed, Feb 21, 2018 at 4:12 PM, Kees Cook wrote: >>> >>> Do you want me to send the patch for this, or do you already have it >>> prepared? >> >> I'd rather get something explicitly tested. I tried my earlier patch >> with "make allmodconfig" (and a fix to nfsd to make it compile), but >> now I'm back to testing hjl's gas updates so it would be better to get >> a tested commit with a good commit message. >> >>> The body-fields I had prepared for the nfs were: >>> >>> Reported-by: Patrick McLean >>> Reported-by: Maciej S. Szmigiero >> >> Oh, I think Maciej needs to get more than a "Reported-by:". This was a >> really subtle thing that we didn't figure out in the original thread, >> so give him a gold star in the form of "Root-caused-by:" or something. > > Oops, I just sent this out. I will adjust a re-send. I couldn't find a > documented field name for this... With the "root-cause" hint, I see we have used: 2 Root-cause-analysis-by: 2 Root-caused-by: 1 Root-cause-found-by: I'll go with your "Root-caused-by" to tip the scale. :) -Kees -- Kees Cook Pixel Security