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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E2C0E743CE for ; Thu, 28 Sep 2023 23:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dXBWpJj/HwyTLVRp4Ga3OA5yMlzG5/lldA7IH4Ceh3A=; b=pqFRgiIbNfQrch y4nh+eTDrsOVtlU0BB27XIHtURwS7+I0K0PH9ZWAz62fUSgUixiiW1ei95XwwPTfdiLT3+t42huj4 pHqKYX6ttmD7yTAJtoO141HndXDoI9/aWJcHryhh59xXnEGYzaC29oNu4E4MfjzH+f7qJFp3x/MbB Gp3i7vvsWWXiePH7doieo0VsSPqbeXqQeDeR+aUxAzolgbpdGRMVyc+9x5eJW7zztQ+a+++2C0FFB vuCRQtHrgbd/Y/0T8sPE3ZkZ3/iukKrr0WQz1HQGgWr00rOh2S7/iPeJzqwkScx/Nejw341ZLFCbc +vX+81I0lltvgZueFJQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qm0eB-006sNt-1U; Thu, 28 Sep 2023 23:42:19 +0000 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qm0e8-006sN2-2C for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2023 23:42:17 +0000 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-57b574c6374so5771969eaf.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=lists.infradead.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=SZSEuKJuNocuS+wJXSvLX7InMMbDxc+63U4TPyq7xFsmwbdz21i6nrYYMTZuuWZr7e 0n6ybLa7OKoEExm7LTlkQpIvEJFa0lpNuA3ocmgWtdoFZkeeBq8oS6ycnbeAoYkwO7ny esuM5EWozMUau0WSNpoYGfuL662LYb6ehn4Tg= 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=cjG/OjWdvCI2aPfhQXUbbHQba/Kon0P1Utju2WApeZZCxYyk4UEfiIZFB41db6/eQs t2V4mRq+1DkmfRirSavUGlh+w4sy79bV66GaXhJE64d+15X4PMKLMG8PQVnpfp0DfLb9 LVh01VCb5FKZlj8w1IqUGwWsLrojib9iEC720iZyMa9yjNtCn9zeHxYzVulcE+eRwpQM eMRSTfaC8JOqMlLboQrW4EyZ36d9yhxISDAlZo2iIC2u3rXekWGFy7nJBsAaABSTJs0Z w6v3H6l4C5//vUdXsbj2iTkGYWgf/wSwZiU0etfa/71ioJ0lGUZh4Aw8yBksKrBelMbp i2UA== X-Gm-Message-State: AOJu0Yw/nohpSXEBPJbx8iVB5viLeukr+ZEJgGRwCgP190E8t2dOhn58 87O3EWf7aCflsqfrBSZjwCvStw== 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-Disposition: inline In-Reply-To: <169590216841.152265.1942803099201042070.b4-ty@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230928_164216_723360_0C35AA84 X-CRM114-Status: GOOD ( 11.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel