From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9B87606A324 for ; Wed, 28 Oct 2026 19:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T+yeLqAF Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4jFGvq1KQZz2yWy; Thu, 29 Oct 2026 06:02:47 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2600:3c04:e001:324:0:1991:8:25" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1793214167; cv=none; b=D/yarYpo5lLtbqgaoERlZzAzP6HCj515fS3GgGlt7QD+e1GZfVC/InSYvuOn+QmIZPw+S8DcVOfzg4Wtfyw7YjC/0OOALGZXQ8DyjC1HEY04RJmUNix0jjm5G/mwYGxEo4NOroWsXv2lxPfuWsVOnTKySXu5J+ZPBS0z4KXXn+avSd1xK1k36KRmuTwINS6NQS2CBGlvcpwmKj4xgSwwDW3L9tLELLokewjBt4W+4l5DV5zJDzJJtUz8n2ITBpBzG3Hqc0cFOt9tOhDc2Cw/++QCq+OpKfCASBLD3gz3JhkkWdYdNh8M2A2Bv/ZyG5KNQi6xccCKSJJMHziPw1gcpA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1793214167; c=relaxed/relaxed; bh=YGMMhhJbzgW/QzPBpPTTD30RztuRbfCJwa//1MZPoEw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=elfjiG+SHZMFruK+l6S9fK1hXBiHLcc4wBr3C2U9ha6iKjjp3GcA2G1eUUY9ut0pFHBBLvSve9XTG/pwdc6hoHc2swSQ7Be95xx7qVHaTAxMUEbnjeu18t8EOLF+xn7LncenS/2fI3YR3AH5Oz+HXwSSISIUJK4hMBtG8fhXrcXdCel0Wt3bdbx9sAWiEVtoJDhEk99wdXi/S261StaqpostE9oUjME1MI+L91x/se2kltiLImmg1H0w2t6wxLrtwsiT+c0eR5t/F+zRfdBDOzZJVEv+4CgWjhnNu/ZMBX0mPrg/59ht1Bt1p59XGyUaHUVDzj7bXzim1BNVu6yaOw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T+yeLqAF; dkim-atps=neutral; spf=pass (client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=nathan@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T+yeLqAF; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=nathan@kernel.org; receiver=lists.ozlabs.org) Received: from tor.source.kernel.org (tor.source.kernel.org [IPv6:2600:3c04:e001:324:0:1991:8:25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4jFGvp3VNwz2yLY for ; Thu, 29 Oct 2026 06:02:46 +1100 (AEDT) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 1845460211; Wed, 28 Oct 2026 19:02:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DF981F01828; Wed, 28 Oct 2026 19:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793214162; bh=YGMMhhJbzgW/QzPBpPTTD30RztuRbfCJwa//1MZPoEw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=T+yeLqAFaIV5ugdB5NjhA61e12w1L+BSrYB7OFrpfAcIR2R3bvk8VTeuph4Z05PLq lcmoQ2GTvN7w8itK8z23Fb7CvX7UrXcLfbyTBM3+olmVREQ8OYm4Vt9S2hUlYCCwvh YoLN/FbwlRtpVeWgrBQUKtpCMq2aSk6BZ96fzAPA1Zh/BUv05xwNUJnUgjyW+0NxCu MFHryYeChyS2NXG+hd5tU1QFjVZnyNZfQFjz6S4tMUSJw3XSKUGdfABAiPkqNVvbJb 9OHQv7qk/nx3jGBDgbUSjb7yK9vqoj5fsPWRjo8ypvHtUbGQp1971XrK08vO1X/XlJ WlJINox/ORLVA== Date: Wed, 28 Oct 2026 12:02:33 -0700 From: Nathan Chancellor To: Kees Cook Cc: Ian Rogers , Greg Kroah-Hartman , Miguel Ojeda , "Rafael J . Wysocki" , Danilo Krummrich , Nick Desaulniers , Miguel Ojeda , Christian =?iso-8859-1?Q?K=F6nig?= , Zhihao Cheng , Zhongqiu Han , Sumanth Korikkar , Bill Wendling , Justin Stitt , driver-core@lists.linux.dev, llvm@lists.linux.dev, linux-hardening@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-s390@vger.kernel.org, gfs2@lists.linux.dev, xen-devel@lists.xenproject.org, linux-mtd@lists.infradead.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Shuah Khan , Randy Dunlap , Andy Whitcroft , Joe Perches Subject: Re: [PATCH v2 1/9] Compiler Attributes: Add __must_init macro Message-ID: <20261028190233.GA669046@ax162> References: <20261027223847.652884-1-irogers@google.com> <20261027223847.652884-2-irogers@google.com> <202610281155.4D2AA663@keescook> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , Precedence: list X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202610281155.4D2AA663@keescook> X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, Oct 28, 2026 at 11:56:08AM -0700, Kees Cook wrote: > On Tue, Oct 27, 2026 at 03:38:36PM -0700, Ian Rogers wrote: > > Note that Clang does not yet diagnose file-scope objects declared > > without any initializer (initializers at file scope that omit the field > > are diagnosed), see https://github.com/llvm/llvm-project/issues/232483. ... > As part of this, can you open a Clang bug for the lack of detecting > global initializers? It'd be nice to get that fixed. Is that this linked issue or a different one? Looks like you filed that one and it got fixed in clang ToT about a week ago: https://github.com/llvm/llvm-project/commit/58936cb3678b4b5b96177f24cac3940b9a389fe3 -- Cheers, Nathan