Message ID | cover.1690733545.git.tanyuan@tinylab.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1824856vqg; Sun, 30 Jul 2023 23:14:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlF73UTU0V96dPq2voV108oJHCPmUXipJ1wh6oFZpbuu9cbSCbc2hHV++o/4WP7oI4jfCOrz X-Received: by 2002:a17:90a:4094:b0:263:161c:9e9c with SMTP id l20-20020a17090a409400b00263161c9e9cmr11139665pjg.12.1690784073188; Sun, 30 Jul 2023 23:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690784073; cv=none; d=google.com; s=arc-20160816; b=sy2WNZO4CxnD3xmun8Qdy+NWaTqX/07PWo1n24n713wM9MMymBTDYPWKDynEYsETBL MlAjtN1Y8KvqMSpBM0xJO+vRwLG0bwr/nkhzFpNSk5Ia9AbEXHeleSqpsvTc/nVfMCI6 8DC+jxxJngzZ4K9piTw9KmJ1hZ04C9UmaGfWk0XCEC+zqhC+3MiF45Ct5nk9vBXEhS3X vEXm+4cjIIf6x5MLLFd+Z11cKdJEZbGYQvQ2bytRjuyiDolea9H6TbAbjLhYNakpmbUu QRD/OBiYsgvvE46vl1QcZBsc55oXmtz2FY+nX+zf7Kb1KGKaYcD2th/7EBcAIXQPuMtA EOZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=lX3syzN+QV7g3gm2ygMNWyH9wi5viPWU2N0/5zjsG4g=; fh=8heE8X7c/6KBQVGdiUUfEdY5Aql55kcYv0bNCPp9yaU=; b=FXQKgjPx2dESpcFGmlaiKmdXcR7YBzsLgBIwf8UihV0J6ugWzy5Mr/NODsHUhFnh7d JSgLDUvsK3aeAgd4aHu9Rbw6kjd/RXbHY2CILOlemZtbiBZfzK2xIm6o0yeJ/uIlNayu xOM0c3cdlyJfEALHVhbTbyS4OZGsM1JUZCDhh2BN/mEeawLvNow7LhssRUYCIT8SGYTt izmmdqmGn/zDNLuqcuAOO4sPIPVCYvJtQZaY873D0oqwBCWeT9AWYVD0wXFdGRTOzGXl qG119DFBeri7Srq5KQdUvXKWzD7uko1xyqqBBhTDM59fi5rKFLTsiL5svOVVBrYvH+vy NLpQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a17090abb8a00b00267a487f014si8450824pjr.167.2023.07.30.23.14.19; Sun, 30 Jul 2023 23:14:33 -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 S230085AbjGaFu5 (ORCPT <rfc822;dengxinlin2429@gmail.com> + 99 others); Mon, 31 Jul 2023 01:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbjGaFuw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Jul 2023 01:50:52 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A6EA10CA; Sun, 30 Jul 2023 22:50:46 -0700 (PDT) X-QQ-mid: bizesmtp76t1690782636thuejwr0 Received: from dslab-main2-ubuntu.tail147f4.ts ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 31 Jul 2023 13:50:34 +0800 (CST) X-QQ-SSF: 01200000000000605000000A0000000 X-QQ-FEAT: c88coFtlRu1M+imO/ng+mrc4U2TsZQSPxP5GCaWnTfBRGJg1WEGGW9YZsYfXa u8AITmMzeNXTRTB0TKOZRJkAFPxJBpCW+tFbv50/NV6E9zJM5+VqBkC+lQSz3IF6HZgoxuX yZbjCmwy6MYUU7b1fMVreDnE5qUOOMfqmRcG+KYHDad5psGofPKFlqlklxvQzka8ZP+k+xO BpqCbTxMh7wImKt7MQFkfcrhA44QWofhF7DlwsdIkcxBtZA00ly3dDqhHmCzWdOcSXlDYuA dxSSw8UebFP4WPcdrcmFBmrpNL56b0xnuAA3iwU01WiJZ2Z2KU+VmWl8b6UEWzq7QB8L5fl W3fk93ae75dbaCa2Vo= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 1150988465716755568 From: Yuan Tan <tanyuan@tinylab.org> To: w@1wt.eu, thomas@t-8ch.de Cc: falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Yuan Tan <tanyuan@tinylab.org> Subject: [PATCH v2 0/2] tools/nolibc: add pipe(), pipe2() and their testcase Date: Mon, 31 Jul 2023 13:50:31 +0800 Message-Id: <cover.1690733545.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772915599927684122 X-GMAIL-MSGID: 1772915599927684122 |
Series |
tools/nolibc: add pipe(), pipe2() and their testcase
|
|
Message
Yuan Tan
July 31, 2023, 5:50 a.m. UTC
Hi, Willy, Thomas, 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. 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(+)
Comments
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 >
Hi Thomas, On Mon, 2023-07-31 at 08:13 +0200, Thomas Weißschuh wrote: > 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. > I sincerely appreciate your valuable advice. As a newcomer, I will certainly take note of it next time. :) > > 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 > > >