Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5661873rwb; Wed, 9 Aug 2023 07:32:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdpWmkJLFK1manowIFjCsGu5eQPQCwy7GqoXuktEkdRDMEetN+VlhPt1nOi7Jp5pLrVbSY X-Received: by 2002:aa7:c542:0:b0:522:1fd2:ca7a with SMTP id s2-20020aa7c542000000b005221fd2ca7amr2578425edr.29.1691591520418; Wed, 09 Aug 2023 07:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691591520; cv=none; d=google.com; s=arc-20160816; b=Z4nXEhxavrJXx0qIBbPlFVrTESL97uBzvpaM2f6GNzH2Lmh7KNrACXny97s1Vxj0tD OiICJTWKDlSMfwdv+KstCWQuNxy1Qcy0xgLFJpCv5IpjROmYlOH8JIAbAt8JcxsfYWWo KUCDQSt+P6L0WHPGIIAzWZWNauTIrvlU91m4BxSTxngiSgHYYP/4W1F4qlNZsXbLCCde feKI5q4I+7+yo3XQv1C20pmVFtNWPZOKtiDVQKtB7FhNFxPbSuk2wXae6QDL8Cp2+Ftg 4OLhP6SBXHB0IUJLdcmDghAZ9V3SAYjX2nm+RSjjRicTIIDIcKtEY7B3Sv8amdQVBbb0 4qrA== 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=Pw4EJK3OcG0zEBVwoFqL6zb0WeMAW5D3WPt2vP8aZa4=; fh=RPaqD5Gc7dA/mfvZf8wsytPlGi9rkJnT/bpnych4R44=; b=tN9daLOXKLEButbMJOYzH/t14yXKpTj7+YYsHtcNf3F55XM+rP3p9Qu2ZN7Mbe0pmi 9xhVF2voCEr5ZFD2QsBe20FNIdzv01lQ9VVi2f2tAMuoAKpnqdpVkHac0fP4RFaOsUzI 0PZloLoWbO6svRbC+HZSvMc/L+0jzsrAdWrvQ1kkR4Ful6ai6+o2+j61Cus9gWSPusNZ TnIVbIgitIJluaBM4Uv/vmUoBtoxhwXiMpXLGGQtrvJb6yWPUB02fMoN++XzhoeMat/Z ouy9ZDkqguq4TpRCLeWZ2ekhjDxQNIH63X6nyJ5dGtAb9Ihee0jH641NlonLY3wuV38C IVlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NmOD5dOG; 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 z6-20020a170906240600b0099bd00f8f73si8566742eja.742.2023.08.09.07.31.34; Wed, 09 Aug 2023 07:32:00 -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=NmOD5dOG; 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 S233233AbjHIOU3 (ORCPT + 99 others); Wed, 9 Aug 2023 10:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231287AbjHIOU1 (ORCPT ); Wed, 9 Aug 2023 10:20:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BA701FD2; Wed, 9 Aug 2023 07:20:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 23F8F6378E; Wed, 9 Aug 2023 14:20:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 82F39C433C9; Wed, 9 Aug 2023 14:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691590823; bh=hRfZueMl4NMwyHkHFGihvLCgiJFxeSZASc0mte3oji0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=NmOD5dOGP21qN+kGFvVv+KXLc00qxgW8oOFQD4eYbDl6QUXcF48BT6l8kB/M0gZYO sRqF8PSTJtThQbpjAgmCUvCxmOn+i/PTldNrD7ECZ8r+SOkm6DRR6ekVFGvJb9KTgt 6h4sMu/rpw7/Jk8Y4jff1QTFqEhsJ5mVQbEsEoH6oPdKwfmyMRhBCRCmf5Rg0uK1Ql fASngWMBIUHavnysA8YbxLgreBCJdhivrHX17murbI9haPnfU8bvWuABrWhPamMiYK XQHuVceh4YbTQ/FVzUs4GoSEQC4d5ie9BrT7td4f+yDXha4lgJs3EleZSkTQmBGofh 6XvDbp8wzytmg== 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 6B9ECE33093; Wed, 9 Aug 2023 14:20:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] RISC-V: cpu: refactor deprecated strncpy From: patchwork-bot+linux-riscv@kernel.org Message-Id: <169159082343.5601.4592059782635361468.git-patchwork-notify@kernel.org> Date: Wed, 09 Aug 2023 14:20:23 +0000 References: <20230802-arch-riscv-kernel-v2-1-24266e85bc96@google.com> In-Reply-To: <20230802-arch-riscv-kernel-v2-1-24266e85bc96@google.com> To: Justin Stitt Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, keescook@chromium.org, ndesaulniers@google.com, linux-hardening@vger.kernel.org X-Spam-Status: No, score=-7.1 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 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 (for-next) by Palmer Dabbelt : On Wed, 02 Aug 2023 00:21:58 +0000 you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > Favor not copying strings onto stack and instead use strings directly. > This avoids hard-coding sizes and buffer lengths all together. > > Link: https://github.com/KSPP/linux/issues/90 > Cc: linux-hardening@vger.kernel.org > Suggested-by: Kees Cook > Signed-off-by: Justin Stitt > > [...] Here is the summary with links: - [v2] RISC-V: cpu: refactor deprecated strncpy https://git.kernel.org/riscv/c/12d61a1bc28e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html