Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4043445rwb; Sun, 30 Jul 2023 23:34:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFLh4Kje+/UJVDaaNCi0nuxzkogL6gwYptafQxMO60HthVfiNo+nRbtsq3TZMHDWxevNJz X-Received: by 2002:a05:6402:1b1a:b0:522:5932:57ec with SMTP id by26-20020a0564021b1a00b00522593257ecmr7182840edb.41.1690785275152; Sun, 30 Jul 2023 23:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690785275; cv=none; d=google.com; s=arc-20160816; b=i/67WvP7I2o5wuR+XnpsPtk6KamabCMhr05oUdNWODk36jzLv81yYj8XOvDk9T+fkx zBUBc7baHWDVY/bOb/lDAIpd14yiLgq8jaAnqHpWEQOYk0GXYg0ZoUp1dY3VjK3iSV2x uw6BmNoE9eX+DCXMZrL5V17Uf7DgMtnC60NgyHIGQ+0N4anRC1Rlqg8Y+rfmx4rDA/hx fEYjhuZj6mkGxWmZDFAWwrpwzR7kiLDsHldSPIb8O6fsyBaa6LXpYMnV5aEkBtMGcvmv OwGh/ykowxfwDhh463aeOO3FF1faNLF+i+WwkvTWvQMxt7d5M+dW/BNZ5TSS2cvgkd3C fnjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HB/NcRjU5Y2aVt6mq9Tp/eDbo5t3BomcVGhVskzj4W8=; fh=l33mWavnHGYJ2XDeKtGto0RLtWj7njx9xyMvDkqmpRA=; b=mVNJSOq/taoHFRo0rqMxFtlZRPgjGWhNhaif06SlsGOl3wBHwwVQkJ9JPYyx3FWKl3 t/XMaf3gQ6ciuC6znF3+8qf25gwA0Ac5A+K4RrNh3QSS0ejZUWbaUa5LVrOR2lc7Sa+z s/Xo1q125hOZRLBv2dFa7OxUCnbQNWMIbWQjiDhxSK0Qm9hRWwop0hKpalsH3UPGFcCu plfW/UKY/jql/8gtrqWPCq3HHZb3yc+uUTOL0AiCxtZFqjaiv2QKl6hupt/pll5lcIwB ItXan2fM36ZDFPrhjNpUSsoxy2JZQxQUSd5NHd8KqCY06vsWM1zCRKARRMh1iyLE9GEB n7uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=UKRtW4Gl; 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 v16-20020aa7d9d0000000b00522206ad6ccsi6058944eds.403.2023.07.30.23.34.10; Sun, 30 Jul 2023 23:34:35 -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=@t-8ch.de header.s=mail header.b=UKRtW4Gl; 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 S229946AbjGaGNT (ORCPT + 99 others); Mon, 31 Jul 2023 02:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjGaGNS (ORCPT ); Mon, 31 Jul 2023 02:13:18 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 842401BC; Sun, 30 Jul 2023 23:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1690783996; bh=7x/b5lpkHR1QpXm45EeiSae8vJL2D4YC92u3lFCHNG8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UKRtW4GlK8FsK3CmBElZHaeONjMyoXLJ7vg+5OAfPRHxgG/S98yYvTI9+5mDeOI+b uNe2pwST0rCI+pBJgAmsn9zGRqzeLdqb5HGqxW2Z5QSlFmcMVc5D9uiMIBtHTbdOxI qIUaUuaxbN7rMQnwcesJopblw3eUgUa4P9j2WveA= Date: Mon, 31 Jul 2023 08:13:15 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Yuan Tan Cc: w@1wt.eu, falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 0/2] tools/nolibc: add pipe(), pipe2() and their testcase Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 Hi Yuan! On 2023-07-31 13:50:31+0800, Yuan Tan wrote: > Thanks to your advice and I really learned a lot from it. > > V2 now uses pipe2() to wrap pipe(), and fixes the strcmp issue in test > case. Thanks! I have some more comments for the patches. For new revisions you should also link to the old revision. > Best regards, > Yuan Tan > > 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 | 35 ++++++++++++++++++++ > 2 files changed, 59 insertions(+) > > -- > 2.34.1 >