Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1058394rdb; Mon, 19 Feb 2024 03:01:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUshcYKeA2gKjMtM6sDVir5gCE5FKjDU/GssHi/z+KPEoZM1BwXrsONCahF8I+0YSIaIQPKGD9JWZoewfl+a29k9eqZFJFGBIT54bIwvw== X-Google-Smtp-Source: AGHT+IG5l5AbXqQLHoN5aIlx2viW9tmpf3+tmD/GLYpPVvsH+MKbCQGBvtaQiREWLvYfQzujMuvi X-Received: by 2002:a05:6a20:b729:b0:19c:9b38:f398 with SMTP id fg41-20020a056a20b72900b0019c9b38f398mr10086261pzb.22.1708340465489; Mon, 19 Feb 2024 03:01:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708340465; cv=pass; d=google.com; s=arc-20160816; b=yp9tw7ot8QQA58Lt1g86muNJYZiRMZ14OOlCupmtkPjOGNoys1wsjhKt+GCv7j2CoF F3giw0Tzf/I8idlG3qD8LkVMBv3InNOMJ3OdynrnzcnrEV1HVgq45CHqcek4pyl2MJ0o roJm+L+yiqiAmZLLGZzkUs1D1z1wAoNb9/B+MY4TBaP3Tup83Mt4ZyzfFuHmxjW4dxpB wI/nAncq1+8ekohkmEWa40Urejfk6n4LquauofZBi5C8wlVb/owIiMnm8HZek+28WCDe vu5JAA22NL1ZDXxwkksbr2kyZA6KBYN7LqROqx/cpIWQv5LjtZlMVPGaY21zZrvygSYS dH8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=qX8QA/+HiytKA8ztnz5sioi6HxrszK4LkbHfljQRBDk=; fh=hDP/od3ugJ80ovPLF78iD+pPbfhLe5OPA8emv5HZlww=; b=Oumr27ziab/BUepnoRLYkb1niPf2X8x1lTWdl7NITxcMgAT1IXh1ptaRrWhMNfICC3 ZV8OIHKVEEMzYDhgZIpb9AI6z5736wWBrlNp7gJ0rzoOnKqFCaXu2eF3gaBBSbAr6nhU l+KjXHP1sL3sJ+h6q2Pv5lYZWIr5xvk0yAnrI6zx3/kEJxmf6SOjXYEZIOB/pMQJLJ1n j6C0wo5r6152Y4o1nPciIrc+u0TYM0i2kmf/YU7/hV2MYGkyDUFbdDCzz0x2jnpHhiBR RZmkVMOlE7z56bYFwQIAxTNjkKgHK/olQLl7jj40yLoM8eT6VM+Mr/0Gn3kWIAuWt2/3 ARfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I8rRTUZi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71166-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71166-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q22-20020a656a96000000b005dc7fe155aesi4167456pgu.443.2024.02.19.03.01.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 03:01:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71166-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I8rRTUZi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-71166-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71166-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3230028235F for ; Mon, 19 Feb 2024 11:01:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 230AD2C6AC; Mon, 19 Feb 2024 11:00:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="I8rRTUZi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BDC82C1A2; Mon, 19 Feb 2024 11:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708340426; cv=none; b=FzLA7NkIfrWW5lykY9dLgHEoqyaxRBZoXhfK5mDsvtglN4SRbSy6nG7C72ufhz8zz51PAawqkhU2YtdOPitipCsA984tUL6GTmihJOBVS6bniHHn6knUqn1xeSeMQbyjfyHr+B0zJME1HnomH5GGY3vOEqvxEtcABFuw5+RbDKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708340426; c=relaxed/simple; bh=PyNFL+6BLJw6xZmpuPkzL57htYw4lW/sVgvmF1B5y4c=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=SAKKFU5pi/vXWCX3H2ZKB04zmPlfPPjgEEmmtXW16f1d0aX+F8CKD9zj152JLeqBTN1cVnAzOZFMjtowUIkqBuvhIKc2SQnxJzk7Pkhr1PlFnG39IXVX27BUWzKqXWs2rgVDa4HuDnlxnFxci8zWkNwgJqQwA85tF0qTuuEGAbg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=I8rRTUZi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B0924C43390; Mon, 19 Feb 2024 11:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708340425; bh=PyNFL+6BLJw6xZmpuPkzL57htYw4lW/sVgvmF1B5y4c=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=I8rRTUZiP0lB7C+Clqrro4aOUvetw+cRcIYDmG31Bs1RyZSKLXhzRusSLsotRM9y8 spetq3fYnLUC4/snF4orR9m1DOY/dXUcZ6H4ife/rMFHFlbus84wPoIdzLpGapBrYe NYi5sN2lFLPZyqJuO88ruTVFmgV67ZO92m2R59izpKT8PVr4HC7MbrA9nVXpQ8xsNX ln1fGD8wCE3GnyuyQ2b+s7dHjt6TGKv1dOQiLDUJTOuWgIZ5lAA2/I43p8bpQXvMZe JNRpuHNjtTZnJfmiOSQFP75+5hcaaBdjdpC0f8HtN4sm2DVX1lY3SWapuTOAtJ+991 s30Uxzf2Rx2VA== 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 968FAD990CD; Mon, 19 Feb 2024 11:00:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] enic: Avoid false positive under FORTIFY_SOURCE From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170834042561.18215.8969035309568775232.git-patchwork-notify@kernel.org> Date: Mon, 19 Feb 2024 11:00:25 +0000 References: <20240216233004.work.012-kees@kernel.org> In-Reply-To: <20240216233004.work.012-kees@kernel.org> To: Kees Cook Cc: benve@cisco.com, satishkh@cisco.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gustavo@embeddedor.com, netdev@vger.kernel.org, gustavoars@kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Fri, 16 Feb 2024 15:30:05 -0800 you wrote: > FORTIFY_SOURCE has been ignoring 0-sized destinations while the kernel > code base has been converted to flexible arrays. In order to enforce > the 0-sized destinations (e.g. with __counted_by), the remaining 0-sized > destinations need to be handled. Unfortunately, struct vic_provinfo > resists full conversion, as it contains a flexible array of flexible > arrays, which is only possible with the 0-sized fake flexible array. > > [...] Here is the summary with links: - enic: Avoid false positive under FORTIFY_SOURCE https://git.kernel.org/netdev/net/c/40b9385dd8e6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html