Searched hist:be60ca41 (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/include/nolibc/
H A Dnolibc.hdiff be60ca41 Thu Jan 21 00:20:26 MST 2021 Willy Tarreau <w@1wt.eu> tools/nolibc: Implement fork() based on clone()

Some archs such as arm64 do not have fork() and have to use clone()
instead. This commit therefore makes fork() use clone() when
available. This requires including signal.h to get the definition of
SIGCHLD. This is a port of nolibc's upstream commit d2dc42fd6149 to
the Linux kernel.

Fixes: 66b6f755ad45 ("rcutorture: Import a copy of nolibc")
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com> [arm64]
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

Completed in 229 milliseconds