Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp511422imm; Tue, 9 Oct 2018 23:11:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV602pdKys5R0a+sjxcwvIcKsXGY9brn1m1jLvzcsQbJNJZzleNGR9SFnUMjsSUsqKbIsREPF X-Received: by 2002:a62:1f03:: with SMTP id f3-v6mr33316034pff.168.1539151871461; Tue, 09 Oct 2018 23:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539151871; cv=none; d=google.com; s=arc-20160816; b=qwfN0ZpT/kph3wv4XzGo0Oc20gK7hhko32usQuiLyGdMHHiNgUWUtbOm54R599LFFd Wv5sw9xv0GRd7vHiLLHJkfT4JjP19LCw/Ti2JY+pJHmtgpc7c4ntxh7HoVfFRtBs4hg6 5tgTeGcojngdDjHxFVlEMxPAGpbvAL4U3e/hTjKeGwOsGL3qQAEewI7J+C7MBCRFRZwE 0VKNxW/WuyQg62vjlo7JiMtCmC3bS1HeWgbGUXPxbigQZSZIX/V4SY09K5TJUHOwAFYG J3fh+N9h5Ucg0BIyNZWmLEEz+19CF++H/6Wu4d7ZrQcX6GGZ2oFm4Fg3xCv8ge12VFNq 9aPA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=AoMGstWa/1dEP1miWFYB6E+CAwKqKuDlmU5Wm64NNa8=; b=L7rV4csqHvuRMlFmhoE+wCTlFL0cOlQlMFvzfasiOxABfV5ZWbnDAiuWNZY/64GKzl pydFnB9/2j0Uvp2rUiowbgOW5wJPduFotzeBDqU+EBK+W30cYKR13uBj/29SB02ZEzBw 5hRvgSmCHlqOJt1HECnxhT0X6Qk/Hj4/9PBCTOOlgTVxjTMtS39i2JnYmxivpPABOW91 e0zLuy/wfuKhJtaFXViEy1fKNbToI9ABc24uMVAirZg1nmOlQnu0c3czjbj2ZSNdFqbX Q92L/sKkAGppov+RjvTZ2rnyICf76q+ZNcIf9p8eG77iWK3qnuMkaKl8ity9nWtxPzoD Qvbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=jS7zuk4h; 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 v1-v6si24438900plb.396.2018.10.09.23.10.56; Tue, 09 Oct 2018 23:11:11 -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=@jms.id.au header.s=google header.b=jS7zuk4h; 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 S1726530AbeJJNbK (ORCPT + 99 others); Wed, 10 Oct 2018 09:31:10 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:34064 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725864AbeJJNbK (ORCPT ); Wed, 10 Oct 2018 09:31:10 -0400 Received: by mail-qk1-f195.google.com with SMTP id p6-v6so2494931qkg.1; Tue, 09 Oct 2018 23:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AoMGstWa/1dEP1miWFYB6E+CAwKqKuDlmU5Wm64NNa8=; b=jS7zuk4h8xiyPVjNKx9aw9+6C2S8d/ve1lpFddWULeUwPVWQoJGEPKxWCUgD7RvLGh 09JN6yW1ImLYytgc6lkl+UAPGqCCgE5gBLBU2n/P6l9uUtCxpXMIY9DutglZAfFe5dkr 9BGCBvbp+o7OeN6CpJAi8t+CCM8tWqDPTOYbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AoMGstWa/1dEP1miWFYB6E+CAwKqKuDlmU5Wm64NNa8=; b=UeT6SqB4GIOJuQwCMMPxaEKaSx0hwI52OgvkbgdiLpoWdv63xKdQmfFiu2uPU7xq3H cJbnIrc1N26d3Z06L6CpwO/2LMu3uvjEm0EPhEoa4hV00n88dXJBRcRM9qshMjwLRL4/ E8UgCCyQxhsqZZCREQtNayOKpD07CSzS3OMNuGn7pV7dLq0DJYXSUjWJpL0CmatsnMmC 2NTNCx8ojY6Vk5vQ6bMyTs/1KXWXxH9rfk5YUq2H6k2UeZTZnu5Gr+7nm6Zz+vToaio/ BKHOa1z616MPsaugQykRP6XwrKoAjP+Jcib1ColB5dYrGQzgsqsd7rlqTED5IYEqwtvf Ry4Q== X-Gm-Message-State: ABuFfog8FNmEcnVnrv31dUZfuL13oibPrJCdoA0Cfsz22slHvEAW0ysA vOte3H2UL9p37oZLPYsjF2X7PYH0l1sS4hXXD0c= X-Received: by 2002:a37:9b82:: with SMTP id d124-v6mr24640487qke.231.1539151835397; Tue, 09 Oct 2018 23:10:35 -0700 (PDT) MIME-Version: 1.0 References: <84cf6ae0-97c8-6b73-ca86-b3d3b3daba5b@pobox.com> <8d5cf8c6-556a-96a1-610d-c92355783a9f@pobox.com> <20180926180019.GD22824@google.com> <20180926184259.GB14797@kroah.com> <20180926190303.GA18293@kroah.com> In-Reply-To: From: Joel Stanley Date: Wed, 10 Oct 2018 16:40:24 +1030 Message-ID: Subject: Re: [PATCH v2] compiler.h: give up __compiletime_assert_fallback() To: Kees Cook Cc: Nick Desaulniers , Andrew Morton , mka@chromium.org, Linus Torvalds , Masahiro Yamada , sparse@chrisli.org, linux-sparse@vger.kernel.org, Linux Kernel Mailing List , daniel.santos@pobox.com, chris@chris-wilson.co.uk, jani.nikula@intel.com, Greg KH 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 Thu, 27 Sep 2018 at 05:07, Kees Cook wrote: > > On Wed, Sep 26, 2018 at 12:29 PM, Nick Desaulniers > wrote: > > On Wed, Sep 26, 2018 at 12:03 PM Greg KH wrote: > >> > >> On Wed, Sep 26, 2018 at 11:45:19AM -0700, Kees Cook wrote: > >> > On Wed, Sep 26, 2018 at 11:42 AM, Greg KH wrote: > >> > > I'm not digging up a compiler.h patch from a web site and adding it to > >> > > the tree this late in the release cycle. Especially given that it > >> > > hasn't had any testing anywhere... > >> > > >> > Good point about it not living in -next. > >> > > >> > Who should be carrying these sorts of patches? In the past it's been > >> > Andrew or Masahiro, yes? For linux-next, maybe it can go via -mm? > >> > >> Either is fine with me, as long as it isn't one of my trees :) > >> > >> thanks, > >> > >> greg k-h > > > > Besides, I think we want the v2: https://lkml.org/lkml/2018/8/25/103 > > Yeah, that's what I'd linked to in the patchwork URL. Andrew, can you take this? clang built -next is blowing up now that Kees' -Wvla patch has been included. This patch fixes it. Kees, perhaps it should go in your tree along side of the -Wvla patch if no one else wants to take it? Cheers, Joel