arm: getpid() when creating a new process with clone, getpid() returns a wrong pid.
Xishi Qiu
qiuxishi at huawei.com
Tue Sep 2 02:43:17 UTC 2014
On 2014/8/31 16:35, Waldemar Brodkorb wrote:
> HI,
> wangyufen wrote,
>
>> Called getpid() When creating a new process with clone(), getpid() returns the father_process's value.
>> It should be child_process's value.
>
> I think I see the same bug running the testsuite:
> http://openadk.org/test/
> tst-getpid1 and tst-getpid2 are failing.
>
> Any idea for a patch?
>
> best regards
> Waldemar
>
Hi,
Does anyone know how to fix the bug?
Thanks,
Xishi Qiu
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>
>
More information about the uClibc
mailing list