From: Andrea Cervesato <andrea.cervesato@suse.de>
To: Linux Test Project <ltp@lists.linux.it>
Subject: [LTP] [PATCH v3 0/3] Refactor tests which are verifying fork/vfork functionalities
Date: Mon, 09 Mar 2026 11:45:09 +0100 [thread overview]
Message-ID: <20260309-fork_refactoring-v3-0-8a645d7e00db@suse.com> (raw)
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v3:
- fix fork09 not following the original idea
- don't check for NULL when free()
- Link to v2: https://lore.kernel.org/r/20260304-fork_refactoring-v2-0-016c47c90bc1@suse.com
Changes in v2:
- _exit(0) to avoid undefind behavior after fork/vfork
- finished uncompleted vfork02
- release getcwd() memory
- use SAFE_MALLOC() instead of SAFE_MMAP() to share between parent and
child
- missing fork_child in vfork01
- fix missing copyright
- Link to v1: https://lore.kernel.org/r/20260127-fork_refactoring-v1-0-e3e21ff1a4f7@suse.com
---
Andrea Cervesato (3):
syscalls: refactor fork09 using new API
syscalls: refactor vfork01 using new API
syscalls: refactor vfork02 using new API
testcases/kernel/syscalls/fork/fork09.c | 221 ++++++------------
testcases/kernel/syscalls/vfork/vfork01.c | 374 ++++--------------------------
testcases/kernel/syscalls/vfork/vfork02.c | 248 ++++----------------
3 files changed, 170 insertions(+), 673 deletions(-)
---
base-commit: e434de62b487441bcd3d6d6fb763ba58ca9e5eef
change-id: 20260126-fork_refactoring-8067f844f8b6
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2026-03-09 10:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 10:45 Andrea Cervesato [this message]
2026-03-09 10:45 ` [LTP] [PATCH v3 1/3] syscalls: refactor fork09 using new API Andrea Cervesato
2026-03-10 11:50 ` Cyril Hrubis
2026-03-09 10:45 ` [LTP] [PATCH v3 2/3] syscalls: refactor vfork01 " Andrea Cervesato
2026-03-09 10:45 ` [LTP] [PATCH v3 3/3] syscalls: refactor vfork02 " Andrea Cervesato
2026-03-10 13:20 ` [LTP] [PATCH v3 0/3] Refactor tests which are verifying fork/vfork functionalities Andrea Cervesato via ltp
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=20260309-fork_refactoring-v3-0-8a645d7e00db@suse.com \
--to=andrea.cervesato@suse.de \
--cc=ltp@lists.linux.it \
/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