Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp101570rwo; Tue, 1 Aug 2023 13:41:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlFiSPPW1S4afvNP7c5Vy0w+AlSPG4qrVrxhkpcscIT0etAQDSmQnyu1CgbhsgOJTieCVFka X-Received: by 2002:a17:906:3097:b0:99b:c8f1:dfac with SMTP id 23-20020a170906309700b0099bc8f1dfacmr3083933ejv.56.1690922464171; Tue, 01 Aug 2023 13:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690922464; cv=none; d=google.com; s=arc-20160816; b=vyRUTipt0PWKi6YjhbOPuNh92GNB3VBl2IRhcdtgy7gUy+H85kt3jy8MtsrxddFcbh Q5BTvGo1ZqXEHBtxoH+lZpuyYeK31BIL4xJ3JJgwuJwABHDvWztVUmJDg6wGxMTlfoh4 eP70wCZVXIpT8ILwizqP1u6nNbL4nzlT8/uh5HVi13gqH9j0De75f4C/PDXmWkE/1skW +AB8soktbbhQywn4ovrOM6f4EjNLWDJcubWp9XPYhVr1d/BO+kLlT1lQ0Si8lQNUuRab Zen2X+0/dMjM/liQKlpaxYqaqE+3pp+L3vXblkT2fccPs8XHeBEVweu7pS4rT8yp1cFk zz0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=p4cSdmf3TfviIBrRG3pIX13x9HmaKdD9knj6nwm+xZY=; fh=reTQtKv4WHzRhS6OElR4c5ve1y+8sIrINaYNuYT+ztw=; b=rP55oEDx5AAqx1sFZm/7rCB5DZ8ry8seFbtL2Blt7d+OMTwIxOLFJjlZVu/HoN+n9z YVyYXROPHBhJDIrKPnNcOEbWZvJI/M/0sH2NWFqetArOgu1QTPKN2I71ak9dCWmFDRPR ScewAaaghWzy1tQHrpTLP63p1My27cokD2oeFhXk6Tj9uwK7zr9+LMgCUDOhshDOfxCb sAP/4OqUcAeorQjdKwg/D5lOjXt/sQKVRtnlwOFi1aqcx6SbtX+g/qpHy1Bbs69PmCtn yRmkbR1gx7hn5HXn5vNjuZzcEBtUOauI4NYS5Vp4hLD8K5SeUq2STjBtYsltIEp0md1L njXg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a1709064d8c00b0099bbf8246bfsi5297565eju.168.2023.08.01.13.40.21; Tue, 01 Aug 2023 13:41:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjHAURj (ORCPT + 99 others); Tue, 1 Aug 2023 16:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjHAURi (ORCPT ); Tue, 1 Aug 2023 16:17:38 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 686A6E71; Tue, 1 Aug 2023 13:17:36 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 371KHStg021073; Tue, 1 Aug 2023 22:17:28 +0200 Date: Tue, 1 Aug 2023 22:17:28 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Yuan Tan , falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 0/2] tools/nolibc: add pipe(), pipe2() and their testcase Message-ID: <20230801201728.GA20284@1wt.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 Hi, On Tue, Aug 01, 2023 at 05:42:57PM +0200, Thomas Wei?schuh wrote: > > Aug 1, 2023 17:40:01 Yuan Tan : > > > Hi Willy and Thomas, > > > > In v3, I have fixed all the problems you mentioned. > > > > Welcome any other suggestion. > > > > --- > > Changes in v3: > > - Fix the missing return > > - Fix __NR_pipe to __NR_pipe2 > > - Fix the missing static > > - Test case works in one process > > - Link to v2: > > ? https://lore.kernel.org/all/cover.1690733545.git.tanyuan@tinylab.org > > > > Changes in v2: > > - Use sys_pipe2 to implement the pipe() > > - Use memcmp() instead of strcmp() > > - Link to v1: > > ? https://lore.kernel.org/all/cover.1690307717.git.tanyuan@tinylab.org > > > > --- > > Yuan Tan (2): > > ? tools/nolibc: add pipe() and pipe2() support > > ? selftests/nolibc: add testcase for pipe > > > > tools/include/nolibc/sys.h?????????????????? | 24 ++++++++++++++++++++ > > tools/testing/selftests/nolibc/nolibc-test.c | 22 ++++++++++++++++++ > > 2 files changed, 46 insertions(+) > > For the full series: > > Reviewed-by: Thomas Wei?schuh Thank you both, now queued on top of the rest in 20230801-nolibc-next-1. Thomas I'll try to review your last series tomorrow, at first glance it looks OK. Thanks, Willy