[aarch64-port-dev ] [RFC] [PATCH] replace fork syscall with equivalent clone
Riku Voipio
riku.voipio at linaro.org
Thu Oct 3 05:36:51 PDT 2013
Hi,
According to the man page of fork, under linux that is implemented by
clone(SIGCHLD, ..) . Calling fork system call is considered
deprecated.
The following patch is against openjdk-7 25b30 / icedtea 2.1.8 as used
in linaro openembedded overlay for building openjdk-7. I see openjdk-8
has taken a more conservative approach by defining the fork system
call number for Aarch64. While this works, I think it would be more
cleaner to use clone system call, since that is guaranteed to be
available on all linux platforms. If you disagree, then we should just
backport the openjdk-8 patch to openjdk-7.
Riku
More information about the aarch64-port-dev
mailing list