From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31B4FEB64D9 for ; Thu, 29 Jun 2023 07:25:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232165AbjF2HZy (ORCPT ); Thu, 29 Jun 2023 03:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbjF2HYi (ORCPT ); Thu, 29 Jun 2023 03:24:38 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 695BB10CF; Thu, 29 Jun 2023 00:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Wns3r0TTkIooNvD1nufpc4D+UpqT9oVqnVmjgNsg158=; b=wk8f3Ib590Oy6Zk6oaPuaebYyp PNgub5jvZc2a2nGa/t8NRBfvMssafOLeHs4kGfPWvs7Es7yAkQvgR41CHKrI94CuSlpjWPBP8h8tT Qt/LS9G/p93aQX4C8FOU1IA/PGHNvtpqSpi67gZaq67CWG8UBy9mVTJuZ5gWd+u/nR9jQS6sBbPsW YTfgFAhLQF+dDuuoi1rPvZyI2XdG8diejw2UATw17JQsqNoXBEBhBD1FIWjdUs+lAqqaZw/AZYpMO eyN4dqglT4JM+ddzrBmkrjLDh8vmBi9X0Ic0V62roT8/JK37qLf7UPphIYrTTgBKqd8uhOgRA1Ov8 d7OOFclg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qEm0K-000CNP-22; Thu, 29 Jun 2023 07:23:48 +0000 Date: Thu, 29 Jun 2023 00:23:48 -0700 From: Christoph Hellwig To: Kees Cook Cc: Christoph Hellwig , Linus Torvalds , Alexander Lobakin , Alexander Potapenko , Alex Deucher , Andy Shevchenko , Arnd Bergmann , Arne Welzel , Azeem Shaikh , Bill Wendling , Conor Dooley , "Darrick J. Wong" , Dave Hansen , Fangrui Song , "Gustavo A. R. Silva" , Hans de Goede , Jakub Kicinski , Jan Kara , Joe Perches , John Paul Adrian Glaubitz , John Stultz , Jozsef Kadlecsik , Marco Elver , "Martin K. Petersen" , Masami Hiramatsu , Miguel Ojeda , Nathan Chancellor , Nick Desaulniers , Palmer Dabbelt , Simon Horman , Song Liu , Thorsten Leemhuis , Tyrel Datwyler , Wyes Karny , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [GIT PULL] hardening updates for v6.5-rc1 Message-ID: References: <202306271729.813C8788@keescook> <202306280920.CB69D0F75@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202306280920.CB69D0F75@keescook> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-hardening@vger.kernel.org On Wed, Jun 28, 2023 at 09:29:42AM -0700, Kees Cook wrote: > > will be completely misued before we have a compiler actually supporting > > available widely enough that we have it in the usual test bots. > > How do you see it being misused? Your mention of the test bots, I think, > means you're worried the annotations will go unchecked for valid syntax? Exactly. > FWIW, I've got builders with the GCC and Clang patches that should catch > this. Are we going to get them wired up for automatic checks somewhere?