diff options
| author | Mark Brown <[email protected]> | 2025-07-03 16:00:16 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <[email protected]> | 2025-07-04 11:26:12 +0000 |
| commit | fb476dfb13d2f087563b88163167c4b7329462fc (patch) | |
| tree | e5c9640e89d3730258457e33ba642bf2216185fb /lib/crypto/mpi/mpi-cmp.c | |
| parent | tools/nolibc: Replace ifdef with if defined() in sys.h (diff) | |
| download | kernel-fb476dfb13d2f087563b88163167c4b7329462fc.tar.gz kernel-fb476dfb13d2f087563b88163167c4b7329462fc.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
