Linux Kernel Selftest development
 help / color / mirror / Atom feed
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 v3 0/2] tools/nolibc: add pipe(), pipe2() and their testcase
Date: Tue,  1 Aug 2023 23:38:47 +0800	[thread overview]
Message-ID: <cover.1690903601.git.tanyuan@tinylab.org> (raw)

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(+)

-- 
2.34.1


             reply	other threads:[~2023-08-01 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01 15:38 Yuan Tan [this message]
2023-08-01 15:39 ` [PATCH v3 1/2] tools/nolibc: add pipe() and pipe2() support Yuan Tan
2023-08-01 15:40 ` [PATCH v3 2/2] selftests/nolibc: add testcase for pipe Yuan Tan
2023-08-01 15:42 ` [PATCH v3 0/2] tools/nolibc: add pipe(), pipe2() and their testcase Thomas Weißschuh 
2023-08-01 20:17   ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1690903601.git.tanyuan@tinylab.org \
    --to=tanyuan@tinylab.org \
    --cc=falcon@tinylab.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=thomas@t-8ch.de \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox