Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2018452rwi; Tue, 1 Nov 2022 02:50:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6XPt63hcvFlNbj0bqLXeSFcMSuhbrh5bbwGSLEPiZPa5pm0YrUW0ehnyuxnc5z/XTfxOuB X-Received: by 2002:a63:18f:0:b0:43c:24d2:c0f7 with SMTP id 137-20020a63018f000000b0043c24d2c0f7mr16508300pgb.470.1667296242357; Tue, 01 Nov 2022 02:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667296242; cv=none; d=google.com; s=arc-20160816; b=zxqoIbCvkL7wK8jmEOYgu1L3by2s9rs1U2ykgubh6yJfB/S6LMKPWRNJjBOO5eDKTk nnPcufIm5H+Hsm1D9S00mHlox7md8ebLpSscg7uXr13entAV41eopO9penFLsGNK6t3Y BfjAcjD7s8qYGMgC/rPhLSFm8rQrML0GM2JqJikxOMoMcO/gHEQ7+C67MpPjllT7PaSd Rkl7mbP0K5OUcvK1NKEakL0npS9KPMut2FkOnB3ZdfEaWiMEuKdhKV/7SV2R42OoyOJp NrjKpRMK/agLVzi16LqSrO1F/FazZ9Bdm3bCmCXBwodKOEbM4kgHmwp9UB0wNyTRTIeF 0RcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:cc:to:from:message-id :dkim-signature; bh=Cekqkql9v7On2C1zdmpgOoDkbQP/R/pNGmTtgQ5uif0=; b=cneo2UlGp2mDqfUXgPKSNQbRzvmIaWrr2sqfpuVgKTG7dcGiF9OlK+NVZt1d6Kafe4 Jij0rrQ0pQVfAEXfQqlth7t3diRuLBcB7MNKbvXUbNtWxlObKydUlYGl4Oseg999/w2S 7YwaQ+uGlB+CvnMCgWExks0pJzDgtwo17XRfvwQ8a0W5Wpt1jz7kL+XNRrWeNtd5zxXz zkpkMX6ufobYsiOwvAQTXAYnu/OkfyYth9M96h/UvSZYG5DcA5372O3Ox8SNYFtFm7s7 0kmEF+9BqrM+dv17feyDwI+HNF7ywVTsTv53gPdyb77IcxnwiZvIWroe8NtprlRB4kxR VH2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=ujI4rT6d; 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=foxmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e18-20020a17090301d200b00178276c2e35si13146943plh.38.2022.11.01.02.50.29; Tue, 01 Nov 2022 02:50:42 -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=@foxmail.com header.s=s201512 header.b=ujI4rT6d; 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=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230075AbiKAJZb (ORCPT + 98 others); Tue, 1 Nov 2022 05:25:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbiKAJZ3 (ORCPT ); Tue, 1 Nov 2022 05:25:29 -0400 Received: from out162-62-57-87.mail.qq.com (out162-62-57-87.mail.qq.com [162.62.57.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C043E1209B for ; Tue, 1 Nov 2022 02:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1667294719; bh=Cekqkql9v7On2C1zdmpgOoDkbQP/R/pNGmTtgQ5uif0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ujI4rT6d0PNFJ+XrghJfglqsrvJfhI31XfJKbrdRm3jPtkMCwPNAHXZEu3B3Y1mPq 0R0pLqaei45kfHieyKrqV6tw9oeqO6AShYS9d5kUcvuAx4Y2ITz14ZBvvqd+l5OLB0 ImI36YyKfP/uhLXfBIOur2J/V/Y9qlBMn0iSaM4I= Received: from localhost.localdomain ([39.156.73.13]) by newxmesmtplogicsvrszb9-0.qq.com (NewEsmtp) with SMTP id 64D19628; Tue, 01 Nov 2022 17:25:13 +0800 X-QQ-mid: xmsmtpt1667294713txcwf9uwb Message-ID: X-QQ-XMAILINFO: MR/iVh5QLeiek3W8slCJTZFHrgnJETeGs8BX0f9qVDeX7DqIu+xrAEOO5FK82P 7ujuFcOpLFVn/h844lF1OpEV6TRAFPWm56qRHWGZvccHYRKgN4bIN6UNkJmPt3sxZRmCAV7p2r05 5wa9g9yPzEEVl0M3/W9cBCN1kHM1e6YeHcvPlW0p+qvLCYiSMPnfhBh2YNL+JIFsnoEDTzVUCRp4 s5NkeX0kINWQG85UtaaEWuKN9BWtvr2h+EY70pVqb1fmMJVcBfTH19VqwrJLrasr8QuJgVqCUooj jXDsD1pCAR7FWtmnDJbCuVjAOHFiQSExFovBCVWz/bH4DazIhBc8j6m2TyuyLbjzHN8Fgof2JE2m Y7QCGZdkdrxdm9jxtfn0k7dSd19PEmBFFah/bSzl8kLZiB2jnO4yuovj42IDOk82lNJJx7v/noNQ i/XPcJ/FjbHEryveNrdSQb26T07BqDO9jrLPzxN1gxHjN6h+Xm6DEK4XrhRAZm7vyyexFg3NEMBl E/Asf5Y3X+FBabSu1w+fCn4ujJbxxy22LJ8n6LCyVI1soid5MHOwxTgSqW1mi+B3+vMJXkhNpa+v 7quhN2a8jA9Mclhic6gJ2hF6+mgMYSFARW6K1g/5GQ/1jWXjsWvtRONOMa8ZxOW5XKMv3aom1ZH0 MuYCCnbdbRzoV50TjjSs2TjmRxL4NQ76TJ4YKOk3RIjAr0Xu+y3frSRha943pBN00StDZL6wWpf4 sNLvJ7O9WjlFoScAJzwjtHJRozOTlq+SjlXPDAmt6REg4uM6osf8uS5e3j3xhKGbHnOoMQQpXF5n vNEbWd4XHLGhZDub4atl3NNfmurAP7yOpgMdL6sU0KFf+G8bltk2uL3Z5geyPSghilzIFIM9yjHC nV9+r7dYXuBPOWUHrSfqa7hQpvLZ9YoLDiYgpnHM64BnKxzlL9+wARZaU/ElC0wbdI3tTJ0qE6Mc k/akOASXEBXDEGk3D2iBiviI8dQXq2txCGa1bgQj0TQi3BDCPqYeUVfn6yS0Ts From: Rong Tao To: david.laight@aculab.com Cc: andrii.nakryiko@gmail.com, andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, haoluo@google.com, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, martin.lau@linux.dev, mykolal@fb.com, rongtao@cestc.cn, rtoax@foxmail.com, sdf@google.com, shuah@kernel.org, song@kernel.org, yhs@fb.com Subject: Re: RE: [PATCH bpf-next] selftests/bpf: Fix strncpy() fortify warning Date: Tue, 1 Nov 2022 17:25:12 +0800 X-OQ-MSGID: <20221101092512.33174-1-rtoax@foxmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <1611fe67d311461aa5f820836318bacc@AcuMS.aculab.com> References: <1611fe67d311461aa5f820836318bacc@AcuMS.aculab.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,RDNS_DYNAMIC, SPF_HELO_NONE,SPF_PASS autolearn=no 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 Can we just use the first patch? https://lore.kernel.org/lkml/tencent_EE3E19F80ACD66955D26A878BC768CFA210A@qq.com/