[aarch64-port-dev ] [RFC] [PATCH] replace fork syscall with equivalent clone
Andrew Haley
aph at redhat.com
Thu Oct 3 05:56:44 PDT 2013
On 10/03/2013 01:36 PM, Riku Voipio wrote:
> 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.
I'm trying really hard to figure out why this matters. BTW, there was
no patch attached.
Andrew.
More information about the aarch64-port-dev
mailing list