From patchwork Tue Jul 25 18:01:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 13326879 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C21BC001DE for ; Tue, 25 Jul 2023 18:01:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229828AbjGYSBU (ORCPT ); Tue, 25 Jul 2023 14:01:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232276AbjGYSBT (ORCPT ); Tue, 25 Jul 2023 14:01:19 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63D852109; Tue, 25 Jul 2023 11:01:17 -0700 (PDT) X-QQ-mid: bizesmtp62t1690308071tb5chd7q Received: from localhost.localdomain ( [42.242.128.198]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 26 Jul 2023 02:01:09 +0800 (CST) X-QQ-SSF: 01200000000000403000B00A0000000 X-QQ-FEAT: C46Rb8GPIEc3xfoNnR2QaLlcCjq3plxK2uQScZMbmKIe1QFnj5OEkS36NW2qh EP9Gx1/4Er5YfP5OU5fVXfQKYR/oIXAH+PJ71RsTSFziKy8vkU+6dpMoVneU0NmCypI41pQ 80//dRcXdatGRNfDOtMSjg0eGYxOXwmImk8xYlUl7bKJnG1x6VAOVKiFH/6hcYXHS+7POzG 9T3m8VMyB25CnYwYwMnGFYxpQmbI5S0y08EADWr7MIulanA8kbAFkHAPn87x9iQNJW31jJM TtIN3rRuRy0Pw21PHCb7M0TRyEkta0X2VKBWAf42eP6++esJWEpYDjIMRZISoBVElzPrrZy VM8CGwv14PKqOyH5sTJ/zLBdxhvng== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 9922490793517175682 From: Yuan Tan To: w@1wt.eu Cc: falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Yuan Tan Subject: [PATCH 0/2] tools/nolibc: add pipe() and its testcase Date: Tue, 25 Jul 2023 14:01:07 -0400 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Hi, Zhangjin and I are working on a tiny shell with nolibc. This patch enables the missing pipe() with its testcase. Thanks. Yuan Tan (2): tools/nolibc: add pipe() support selftests/nolibc: add testcase for pipe. tools/include/nolibc/sys.h | 17 ++++++++++ tools/testing/selftests/nolibc/nolibc-test.c | 34 ++++++++++++++++++++ 2 files changed, 51 insertions(+)