summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-07-03 17:00:16 +0100
committerThomas Weißschuh <linux@weissschuh.net>2025-07-04 13:26:12 +0200
commitfb476dfb13d2f087563b88163167c4b7329462fc (patch)
treee5c9640e89d3730258457e33ba642bf2216185fb /scripts/lib/kdoc/kdoc_files.py
parent8c11625afb3042e89d549dcdf7ada220aecd9778 (diff)
tools/nolibc: Provide vfork()
To allow testing of vfork() support in the arm64 basic-gcs test provide an implementation for nolibc, using the vfork() syscall if one is available and otherwise clone3(). We implement in terms of clone3() since the order of the arguments for clone() varies between architectures. As for fork() SPARC returns the parent PID rather than 0 in the child for vfork() so needs custom handling. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250703-arm64-gcs-vfork-exit-v3-2-1e9a9d2ddbbe@kernel.org Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions