public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/3] Refactor tests which are verifying fork/vfork functionalities
@ 2026-03-04 15:02 Andrea Cervesato
  2026-03-04 15:02 ` [LTP] [PATCH v2 1/3] syscalls: refactor fork09 using new API Andrea Cervesato
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andrea Cervesato @ 2026-03-04 15:02 UTC (permalink / raw)
  To: Linux Test Project

Signed-off-by: Andrea Cervesato <andrea.cervesato@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   | 215 ++++++-----------
 testcases/kernel/syscalls/vfork/vfork01.c | 375 ++++--------------------------
 testcases/kernel/syscalls/vfork/vfork02.c | 248 ++++----------------
 3 files changed, 165 insertions(+), 673 deletions(-)
---
base-commit: 23ea0f0f8064f68bbf4d5c5f4f037ef18a5848d8
change-id: 20260126-fork_refactoring-8067f844f8b6

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2026-03-05 15:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04 15:02 [LTP] [PATCH v2 0/3] Refactor tests which are verifying fork/vfork functionalities Andrea Cervesato
2026-03-04 15:02 ` [LTP] [PATCH v2 1/3] syscalls: refactor fork09 using new API Andrea Cervesato
2026-03-05 14:09   ` Cyril Hrubis
2026-03-04 15:02 ` [LTP] [PATCH v2 2/3] syscalls: refactor vfork01 " Andrea Cervesato
2026-03-05 15:03   ` Cyril Hrubis
2026-03-04 15:02 ` [LTP] [PATCH v2 3/3] syscalls: refactor vfork02 " Andrea Cervesato
2026-03-05 15:32   ` Cyril Hrubis

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