arm: getpid() when creating a new process with clone, getpid() returns a wrong pid.

Waldemar Brodkorb wbx at openadk.org
Sun Aug 31 08:35:33 UTC 2014


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
 


More information about the uClibc mailing list