Received: by 10.223.185.116 with SMTP id b49csp1309567wrg; Wed, 21 Feb 2018 16:23:49 -0800 (PST) X-Google-Smtp-Source: AH8x226/Z1Zv0TzeySA3Bb1f6gt3pGUqSnaW30DxSS2bSQ9dBquzXEKnwfaALAY2xuygLvAc0ZDD X-Received: by 10.98.37.198 with SMTP id l189mr5050177pfl.103.1519259029478; Wed, 21 Feb 2018 16:23:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519259029; cv=none; d=google.com; s=arc-20160816; b=tWRXlhpHT0DWvbNG9KZLkTlPzbK6BomudDLwTWfOzghwp4Q5UlyFgGMuRZE7oHtS6J /V9cEHQPDx7LTvKgzAf2kVsAsN2LAxjk1JnalkbSQYUZGnQI21qK0bhqhsNLn9eDwd1I VUI4qhkTTjMWfjMkeIT3paeNkMNN9ZeD9EPIQSq2vMI7X7CSYsSe6IO2PUqB5mMUoY3M SqjM+1583Xn8vuq/kwi4flRxSl97kBGtEPGsYBEXvq/ucO0EnuJ7cZE6DJlmpI5vZti6 hzg+brKBaKxl4hhdLiefMfPIADsxOZuYokQvI1lYrqqu2wC17nU9g00876Q9l2YwprqJ aC1g== 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 :arc-authentication-results; bh=JojIbGiSstPvs2b6P3Zb/GxE/oW7Ji2NjTFhH383mp0=; b=keL4UFlLybsXyRoavQgJapctQy8IAhUhaLoZZGAMATQse4tgN0LyjkAeBDfRbbudZD i9zGk4mbir2w+FvZeTNaGi0oGDmJrEyWLI7bY2XbNWBa8jR0iwbZVMJ4/NTjJuXC9SbT HqDo/tRIdsvoQgTUnofq7vDnr+Caokg7d9cJvq5SI3EIsRrNgGmMChSv/5C/as3DkpWN L5Ms2v7D+6ns5X6dqpYwLaacx7QzNyGO4ZHlfIV+ov+TPEEBL+4z8aI/KcknTPdTxJEg WhVEZsGTM5IjumRW/UQ428ueWoZj/J3qTdzE4FFNFiiayHGeqJm1D4iqnmOSx4iv4g4c 8aFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ea8gArOx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6-v6si720715plo.104.2018.02.21.16.23.35; Wed, 21 Feb 2018 16:23:49 -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=@gmail.com header.s=20161025 header.b=ea8gArOx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751505AbeBVAWK (ORCPT + 99 others); Wed, 21 Feb 2018 19:22:10 -0500 Received: from mail-it0-f45.google.com ([209.85.214.45]:50204 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbeBVAWI (ORCPT ); Wed, 21 Feb 2018 19:22:08 -0500 Received: by mail-it0-f45.google.com with SMTP id a75so4269479itd.0; Wed, 21 Feb 2018 16:22:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=JojIbGiSstPvs2b6P3Zb/GxE/oW7Ji2NjTFhH383mp0=; b=ea8gArOxhYzChoi0Qz5sGh934LL8+pLuH2wxq2kECvyiIGiUx7sAS+WLUyd6BQiiAs FGTUTwzdCWFQYPKz8AhWoqxzdeLgCrrxifhYWqhbfZ15fzaNZVpts2RwymT5x8KjHys0 /jrUAAdm7s9o0D3B4n2m2uIQtwl25ddm36uAUdgpTV7D3X/PocAvBBkNT9gOwClfJOQx 7urELZZnH8jJz6zeEXAToXo0SPJI24j2K2HPmUYYLT2JvzHbbFruKdyiJ0HaPzfv+n3o b6e9bbrBsfwVNm6SsjiBS66V34VtxzbJWxjD/m1psAf/8F+7qQOWUTc8p3vyJJfVxnJJ 6nNA== 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=JojIbGiSstPvs2b6P3Zb/GxE/oW7Ji2NjTFhH383mp0=; b=ZWHnHBpKzavkdnJsYVds+ey7GcQI8NG68hRIuity9Kjmr8/uoSvGEZIDR3w1zXDoFO zEHTJfU8eoBUVvg1JkzkshP6T4fbT64BU/VWKX51gqia3HcW348aW81e5dyISba0CIUO pYj5be7Fc52zxZofLuads8kbKt61PW/1C5ZCpMARBtbOIOyFrYPHaeqqhC/GgtEgD2Lc 6+kmkQ+VA+kODpltzpBQjCgESGMSaBBD41SgwbY/au6m8wSFaAgeiFn2fO0wK+Kj9b6n ZFTx8lub72iDwxG44bu1SD2hSQ2RKZHTEWDWz4E2XdTgmZ4kURIsfD9+6s0f5P9qI7MB MgfA== X-Gm-Message-State: APf1xPC5ul7l0YpzMwMe0gpFqs1bL2VuMccfg8NWg8UM6KBi16CRmktf mgPuQaBKaZF1p3O28IpRcx1S6Vad1pyYeAiD0/cx0g== X-Received: by 10.36.135.195 with SMTP id f186mr5949734ite.100.1519258927216; Wed, 21 Feb 2018 16:22:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Wed, 21 Feb 2018 16:22:06 -0800 (PST) In-Reply-To: References: <6be06ce5-87e6-0d9d-55b9-6c70c3578ecf@maciej.szmigiero.name> From: Linus Torvalds Date: Wed, 21 Feb 2018 16:22:06 -0800 X-Google-Sender-Auth: 6MTZh-FcM-2AVnUgo0rkklAO8V8 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: Kees Cook 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: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. *Fixing* this ends up being a one-liner or so. Finding the cause was the painful part. Linus