Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1305064rwd; Thu, 1 Jun 2023 13:32:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7f/9d9y2LIQbvkv56U8JNDXdZEV0x+WsxXiOxPE8HtP8nFgyJW06sDei6L8etSC1qpawL2 X-Received: by 2002:a05:6a00:2e89:b0:652:a91c:5599 with SMTP id fd9-20020a056a002e8900b00652a91c5599mr770628pfb.24.1685651560825; Thu, 01 Jun 2023 13:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685651560; cv=none; d=google.com; s=arc-20160816; b=SCrpPRK/wh6O/LlTMvmFTiNZBc/kQ3ZjtzxekMgEPTcSTQDZfG9mB9AIbkRvBQ9MwY a7PvvkXdRC2C1BfJZF/aSzhLfuYVrrwdp9ULJO3fawjOj5a5xRjNgFWsEPboiieG0d47 VkpLhRiBSGOaDC2ZZUMhmA8iH+PwuADdmpkR0ITZoWrcXLtxmUDXdXzggNu/qpFsaAMu nODUIAzTBID/Q2KiyUPACZGPoZ1TY1XP9Dkb4h8R/DrWOh5hGpE7h0Tnvz+pbLPbCqzx fqomKOdCGCgdyLBNIhGdztw3ro5ztWJ8jU0X1tbTDHdZAqqJP5ELRcwJ1RSsmVTMSbEz UI5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=5SiyGD055sfR6Sr/tx+luZxC7vvxiGcApKLnxku8ZDU=; b=cvapWFF0+jWNJoMkFBK3RKdyG7ipOfV+iyYIsPuVoQepCRL5fe5h8KZuDn4PxcCOcu UFqoa/DMYnUtzgfYfUnyP8DxRlHq26lNSllDkbXFQeQsMLge8rhqE+hE5yzvkXdof4ya jDqYSKOv2t3y7a8wZpL2RQHRqf2kmoJTWqHKGlUyvJEV/6Qg91ld3t+t+u7Vxm+HhMgF cN4xTciqrX69QcglIu5pycsm2gUtU3Ew20nb/vbIVBRImUtMBrsahdS9TzfVCYEiLLaC 6N7yXjp+852wAgp/MKhCevjs4yrs7RWGpRTvXFL1PYG+x8v3iHO30K41ZDLdCEsnEOCw vUaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QdOa9tCn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a637243000000b0053eef8a4407si3361545pgn.525.2023.06.01.13.32.10; Thu, 01 Jun 2023 13:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QdOa9tCn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232471AbjFAUWN (ORCPT + 99 others); Thu, 1 Jun 2023 16:22:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbjFAUWD (ORCPT ); Thu, 1 Jun 2023 16:22:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68B0810E4; Thu, 1 Jun 2023 13:21:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 956E164988; Thu, 1 Jun 2023 20:20:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id EB9CEC433D2; Thu, 1 Jun 2023 20:20:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685650820; bh=BsmB3TQT0UqKDYGfBMXSuKQ4Y303rceDlGSh2ELAoAE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=QdOa9tCnbNQAChJM6Emg4vuZfL2cpnLL8U2OJV12cuUcXqYHNdU2Z/PnPNhGdYxMK aOWMML0vZAy+BB/VorJEnrY1hlDuUVOWx9CEGc4Yyy0dTAui3/D7xSiE/RtOV6VCln Bl13cTh8RbcTJFDF6fBjvQMpgzKU+CuESI5xvsjRFGqKtQmZlH9dDfD8mbWHgq8nIY 93vE/tj2Jv/EVMPKRuuZDyGW7/xi6D1koCf7Mjts4U8NMLGJnCqtXACZ9jbMKNano5 aKIDZhi6IkaHqTS+ndkaPYN/1a2i+dHLMLbmxi5Bw4be56RolorRMCYhxS6dkkaIoJ Xdwuzw0hguPIA== 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 CFCA7C395E5; Thu, 1 Jun 2023 20:20:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] riscv/purgatory: Do not use fortified string functions From: patchwork-bot+linux-riscv@kernel.org Message-Id: <168565081984.8603.17593394447980152382.git-patchwork-notify@kernel.org> Date: Thu, 01 Jun 2023 20:20:19 +0000 References: <20230601160025.gonna.868-kees@kernel.org> In-Reply-To: <20230601160025.gonna.868-kees@kernel.org> To: Kees Cook Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, linux@leemhuis.info, joanbrugueram@gmail.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, masahiroy@kernel.org, conor.dooley@microchip.com, ndesaulniers@google.com, hi@alyssa.is, heiko.stuebner@vrull.eu, gustavoars@kernel.org, ajones@ventanamicro.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Thu, 1 Jun 2023 09:00:28 -0700 you wrote: > With the addition of -fstrict-flex-arrays=3, struct sha256_state's > trailing array is no longer ignored by CONFIG_FORTIFY_SOURCE: > > struct sha256_state { > u32 state[SHA256_DIGEST_SIZE / 4]; > u64 count; > u8 buf[SHA256_BLOCK_SIZE]; > }; > > [...] Here is the summary with links: - [v2] riscv/purgatory: Do not use fortified string functions https://git.kernel.org/riscv/c/0f84097ab015 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html