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 72202E94130 for ; Fri, 6 Oct 2023 21:50:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233682AbjJFVu0 (ORCPT ); Fri, 6 Oct 2023 17:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233594AbjJFVuZ (ORCPT ); Fri, 6 Oct 2023 17:50:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 343EABD for ; Fri, 6 Oct 2023 14:50:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id B6ED1C433C8; Fri, 6 Oct 2023 21:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696629023; bh=vnr8MJ3nuUJWlcG4ceW7CQzIfkNNw5ZuI20tJRihHdw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=JQTyIrASFRYxq407PUwx88KTmlsAvpayXUorRGz7K25UhnD5fO1pmNlBPvdRg1hRw 87zlUdgSA0/6AXhRO7c/T3NFZ5cbGllQXcSdxyv2B3TpDJwQJtmkMb1RqQxrWnkf3W earHVFX3UEl/n5gIPAmH9pPirufTDLN3PLVyH3J3ue73oFjyHZsngeVfjAuB2oyZYY TkklQ/LFWtRWLDM+u4qe3hVL2zFNB9+NJaQX/TeUR7u95w//HPy+E2PrgonTDrE1XE +XT6ChB25dS4r6ok9fsxy6Utz3m/ElwejQErSZxx9gTczTmC5PhQAZjFJwieLkPhRM hPF20BM6Dmylw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 9A5FFE632D2; Fri, 6 Oct 2023 21:50:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] bpf: Annotate struct bpf_stack_map with __counted_by From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169662902362.27188.6560654759744459728.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 21:50:23 +0000 References: <20231006201657.work.531-kees@kernel.org> In-Reply-To: <20231006201657.work.531-kees@kernel.org> To: Kees Cook Cc: song@kernel.org, jolsa@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, gustavoars@kernel.org, bpf@vger.kernel.org, linux-hardening@vger.kernel.org, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Fri, 6 Oct 2023 13:17:00 -0700 you wrote: > Prepare for the coming implementation by GCC and Clang of the __counted_by > attribute. Flexible array members annotated with __counted_by can have > their accesses bounds-checked at run-time via CONFIG_UBSAN_BOUNDS (for > array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family > functions). > > As found with Coccinelle[1], add __counted_by for struct bpf_stack_map. > > [...] Here is the summary with links: - bpf: Annotate struct bpf_stack_map with __counted_by https://git.kernel.org/bpf/bpf-next/c/84cb9cbd911a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html