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 E64E5E743CF for ; Thu, 28 Sep 2023 23:42:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232166AbjI1XmP (ORCPT ); Thu, 28 Sep 2023 19:42:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjI1XmN (ORCPT ); Thu, 28 Sep 2023 19:42:13 -0400 Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7790E19C for ; Thu, 28 Sep 2023 16:42:12 -0700 (PDT) Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-57b574c6374so5771966eaf.0 for ; Thu, 28 Sep 2023 16:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1695944532; x=1696549332; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3RV2WVrYFvmUIy/kF4sgLaI/igSwAmnqnqr5+CNVDt8=; b=eIm0Tr3UrWUjzJ4jN6/2IK7vGtk83w/aM+dkwIMq+AwB2ci1Gu09xf9F9GMwaILj70 n4QvEnSrxRKunYK7/hD7XS4qnfKHiKUaPe20ZtTX7CsoKDMIVZZO8CFpNReTVXNSUq67 RXlmxi/OVy4WJv6gtNUzW8faa2GmV5dV2N214= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695944532; x=1696549332; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3RV2WVrYFvmUIy/kF4sgLaI/igSwAmnqnqr5+CNVDt8=; b=UfAa8wSwVjaGMbVveL1tx47dOeDSqiBO0b7lBrl1+ZmdRlwSlPvBZujoMAcBlndTcF 8hpxZ59tT+vuldyHtfVwO8g5GpGrEM58YmyyeTo/Zrc5SDdxByQWU+pD63pA6ldO5+Ax Q+reuX+bf6aY1Ic6i20Y69R93ny6JaLXQ115iArBWgFu723gxqef7tmEUpEHVy7vp/AM yTOa0q7LBoZ6U+rbkpPG8rjPWOSyHhQqhS+GOmZDO7nIpI5UM/+rUQ2CB5/xnBEyBpKK rHM6sDFk9tQoqrVzYweW3GBYzd7gUEOifTygfQhxtoCvFYmlJSz8w0fxJPu0iKOVgD0Q NEwA== X-Gm-Message-State: AOJu0Yw5XZhkmqv5WjcTufNMzdXHS/1NivtHM68Myehp5ulBPKqkTRNZ HrNMqCVYDgx2CPVl0VoJmL5ksw== X-Google-Smtp-Source: AGHT+IHBsCldxysDZTajanQY+g4dIkq4a5ohe3XveIhxwgWt0zJyzNyJaoBdNbO8ZXRuiDiGJefhMw== X-Received: by 2002:a05:6358:2808:b0:13e:ea2a:40aa with SMTP id k8-20020a056358280800b0013eea2a40aamr1895209rwb.8.1695944531707; Thu, 28 Sep 2023 16:42:11 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id t6-20020a639546000000b0057a868900a9sm13316234pgn.67.2023.09.28.16.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 16:42:10 -0700 (PDT) Date: Thu, 28 Sep 2023 16:42:09 -0700 From: Kees Cook To: Vinod Koul Cc: Hector Martin , Sven Peter , Alyssa Rosenzweig , Ludovic Desroches , Tudor Ambarus , Lars-Peter Clausen , Zhou Wang , Jie Hai , Andy Gross , Bjorn Andersson , Konrad Dybcio , Green Wan , Orson Zhai , Baolin Wang , Chunyan Zhang , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , Laxman Dewangan , Jon Hunter , Thierry Reding , Peter Ujfalusi , Kunihiko Hayashi , Masami Hiramatsu , Yu Kuai , Greg Kroah-Hartman , Jordy Zomer , Jernej Skrabec , Nathan Chancellor , Nick Desaulniers , Tom Rix , linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, llvm@lists.linux.dev, linux-hardening@vger.kernel.org Subject: Re: [PATCH 00/21] dmaengine: Annotate with __counted_by Message-ID: <202309281641.47911CC@keescook> References: <20230817235428.never.111-kees@kernel.org> <169590216841.152265.1942803099201042070.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <169590216841.152265.1942803099201042070.b4-ty@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 28, 2023 at 05:26:08PM +0530, Vinod Koul wrote: > > On Thu, 17 Aug 2023 16:58:37 -0700, Kees Cook wrote: > > This annotates several structures with the coming __counted_by attribute > > for bounds checking of flexible arrays at run-time. For more details, see > > commit dd06e72e68bc ("Compiler Attributes: Add __counted_by macro"). > > > > Thanks! > > > > -Kees > > > > [...] > > Applied, thanks! Thanks! I've dropped them from my tree. :) Also, I found 1 more, which I'll send separately. -Kees -- Kees Cook