From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D37143330; Wed, 15 Nov 2023 01:16:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BE184027B; Wed, 15 Nov 2023 01:16:52 +0100 (CET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id 4ECC240261 for ; Wed, 15 Nov 2023 01:16:51 +0100 (CET) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1cc394f4cdfso47349135ad.0 for ; Tue, 14 Nov 2023 16:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1700007410; x=1700612210; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=hM3ql8TmppX3Zb/pKi+OCw5b8f2TuaSEghceKKiqcSo=; b=TtlcvQAmBqHhZ30/LSXwodpc9DzKSdXK/BifYCFdvtgtmtXS0GlSuLMtkCk0hueFI+ 2OBP+vkcCWmAJsbU6PZfVfuCYlrhHjWTU2r/VVKkH0ZJzvsqC6TrjSrc4zRN8Ilrzrbz 4LBxvBaIVfuRvGw6uSdGva/RWZsgCTreVWzSmOi9tISXqmCM6U13kqGfoSAqJLBKy03u hGB+qLwp5TUT/ycA1Vpsa3kl4AsZI0R92rSNYkdQQwLw7qqU1WXYYOJURCQdLxPlAoDk 9LXg1cGW99EjrwLr4cohOFwCiQEYFNkDCHQwnJoX32Tre8IM74jpwpWycr4+lJ8ycF6R /NNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700007410; x=1700612210; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hM3ql8TmppX3Zb/pKi+OCw5b8f2TuaSEghceKKiqcSo=; b=Leedemeqiy2m+MQf2x+Xa9oOfu8L9Yo4/pkfo2JLMvaMaicUADK/vUA8nFil6ryzlp 6xNLO3ysJ9vhS09IlK9iPxMAKvTOgAmIueCd5O+jAwys7L7yPnqC2PunDdkqsuGHF/RL puYtt1D2V1gbLqprtumLMIew6wdW6Y58uAu6m6iwcrdx20Jigk0INXwZLithLV0mkakI QjGX/IXJVbxL0HIIw6aQK7pP8DXaWnbRhTs4tv+SOEZUbpa4M76x/vmgb/m7HuUAm33W 6xBMmjARGWSfE0TtU1MKho0So6XXOfDsLD5uouHnrTEknqquJCTZEQwL8SBSa037xIS1 lFLQ== X-Gm-Message-State: AOJu0YznITObM+fN9OJ5xLe6I9eOTmcxObvSNcOQrfvHklDOimWjags3 SuxexlFv1JFivrvXttwy+BX3Mg== X-Google-Smtp-Source: AGHT+IHYQfnkzS1eYCt0t76VGk3nnepobHHt9SpHIHie3Le7FddaN+KHptv0QVkFeXfKKbvpvCALtA== X-Received: by 2002:a17:902:db0b:b0:1cc:5833:cf5e with SMTP id m11-20020a170902db0b00b001cc5833cf5emr4712074plx.27.1700007410476; Tue, 14 Nov 2023 16:16:50 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id y18-20020a1709027c9200b001b53c8659fesm6223044pll.30.2023.11.14.16.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 16:16:50 -0800 (PST) Date: Tue, 14 Nov 2023 16:16:48 -0800 From: Stephen Hemminger To: Dengdui Huang Cc: , , , , Subject: Re: [PATCH 00/43] replace strerror Message-ID: <20231114161648.1a575ab6@hermes.local> In-Reply-To: <20231114082539.1858594-1-huangdengdui@huawei.com> References: <20231114082539.1858594-1-huangdengdui@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, 14 Nov 2023 16:24:56 +0800 Dengdui Huang wrote: > The function strerror() is insecure in a multi-thread environment. > This series of patches fix it. In this patchset, only the libs and > drivers are modified. Doing such a global replace seems like a lot of changes for many cases that are not multi-threaded.