Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] tools/nolibc: add pipe(), pipe2() and their testcase
@ 2023-08-01 15:38 Yuan Tan
  2023-08-01 15:39 ` [PATCH v3 1/2] tools/nolibc: add pipe() and pipe2() support Yuan Tan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yuan Tan @ 2023-08-01 15:38 UTC (permalink / raw)
  To: w, thomas; +Cc: falcon, linux-kernel, linux-kselftest, 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:
  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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-01 20:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 15:38 [PATCH v3 0/2] tools/nolibc: add pipe(), pipe2() and their testcase Yuan Tan
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox