Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5890150rwb; Tue, 1 Aug 2023 09:13:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHHpoc32WWkSc4q91f1agLHObU5gE7OOlQwlaqhyu6DMlsk1YPmTmj+k3jJxC0g69LZrPki X-Received: by 2002:a17:902:dacf:b0:1bb:c9e3:6d4f with SMTP id q15-20020a170902dacf00b001bbc9e36d4fmr18204605plx.10.1690906403356; Tue, 01 Aug 2023 09:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690906403; cv=none; d=google.com; s=arc-20160816; b=nKBeR7RWEHY6oO+Re7+s7bynatGQP4HU6BYy0Jhs4vm2q3LVTfMN+y0fntoz05WLjE ZBSiy6l+T8zvkyuBcgLvGrCpZnnnbnB9BuClsGBXNuwgvxb5h0d16KI8NnkfFP65vVsi 7gOqU8wIUjDrv6zn0jQXF3WKdc7PQc8k37Tm76HPwM6oOwgGGIR9aflrgNEFLAKC/8MD 9Vsd4hEgPQBj/O1uB3bsNRP+NyLhHf0EDL0FbfuskoVsQrNh7l/9827H0zzQvaGxR1Rw lbHdjh+x3PM1eybcI1QRBQUrEoTN77Ha752QVRYvgxFq8ge2yGiFNLlyDwMoAEPdM8My JI6w== 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:subject :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=CzBUmhns/eo2k+tTHnvM/cGSmZodzPhkH794ch/eTZs=; fh=BMTrKIdsgKgdrw9dVNBL9mzLlUqe3zGRRYa2F9XDWAQ=; b=rvmFiOU8sDhor6J0TYGSGwRdiKb1m46yFAPqZTqX3EIgf52HNEg2Y8rkrNGXXsE88i T6hZ219k7Mzluq5ud5A980sCuibRtqxuTJomTujnQchVxGQxL6NqnE5kyr4zee37BUfK ODzqM9lkus0d+qGPAGyY+xWGJlM5H1waOBTGUQr8nWImyY3lf7dweKC5WoKKQUDLEi0d jOpFQvkMhSQulBBDu7ij1YzniVK9nxMtRZScHJHPDm1IdrILULSWGSHsKBkhmkOc7377 8lC0iDgtPpPdJEXFZ2P55B0p/XhDipDnLhz8zcXgO54kgCCM6uJqQZAao3UWR1VBThNy dnKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=FhwxZ7xk; 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 l9-20020a170902f68900b001b69de1eae1si5871464plg.620.2023.08.01.09.12.55; Tue, 01 Aug 2023 09:13:23 -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=FhwxZ7xk; 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 S234968AbjHAPnF (ORCPT + 99 others); Tue, 1 Aug 2023 11:43:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230462AbjHAPnE (ORCPT ); Tue, 1 Aug 2023 11:43:04 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21906A1; Tue, 1 Aug 2023 08:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1690904581; bh=CzBUmhns/eo2k+tTHnvM/cGSmZodzPhkH794ch/eTZs=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=FhwxZ7xkm/yLVz9K96+U/33bWCHht1reYDLCjSU+JaHS89BJXM7It9obJTCMIsILn uuSmlumeNGJVYGfLETew0QsFFyVvJbvlqSnil/lcWzE0BKZ1gghAdeWtrKYjanPAlZ IQGYD3PhSQ8iQJfrXy769uv3lRo9EkJTXOL+sTbU= Date: Tue, 1 Aug 2023 17:42:57 +0200 (GMT+02:00) From: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh_?= To: Yuan Tan Cc: w@1wt.eu, falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Message-ID: In-Reply-To: References: Subject: Re: [PATCH v3 0/2] tools/nolibc: add pipe(), pipe2() and their testcase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: 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,URIBL_BLOCKED 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 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: > =C2=A0 https://lore.kernel.org/all/cover.1690733545.git.tanyuan@tinylab.o= rg > > Changes in v2: > - Use sys_pipe2 to implement the pipe() > - Use memcmp() instead of strcmp() > - Link to v1: > =C2=A0 https://lore.kernel.org/all/cover.1690307717.git.tanyuan@tinylab.o= rg > > --- > Yuan Tan (2): > =C2=A0 tools/nolibc: add pipe() and pipe2() support > =C2=A0 selftests/nolibc: add testcase for pipe > > tools/include/nolibc/sys.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 24 ++++++= ++++++++++++++ > tools/testing/selftests/nolibc/nolibc-test.c | 22 ++++++++++++++++++ > 2 files changed, 46 insertions(+) For the full series: Reviewed-by: Thomas Wei=C3=9Fschuh Thanks!