summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old_db/td_thr_setgregs.c
diff options
context:
space:
mode:
authorWang Yufen <wangyufen@huawei.com>2014-09-05 15:19:21 +0800
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-06 08:11:14 -0600
commita85df93f5542c04c884b69fcc1febcff6c2e7a39 (patch)
tree286ff04208a4b57338f3458b3c945c622c1fb4cc /libpthread/linuxthreads.old_db/td_thr_setgregs.c
parent6a528e846bc4bf773e7c19d298cfc30e8b50ca99 (diff)
arm: add RESET_PID in the clone impl
Called getpid() When creating a new process with clone(), getpid() returns the father_process's value. It should be child_process's value. The reason is missing a RESET_PID in the arm clone impl. Signed-off-by: Wang Yufen <wangyufen@huawei.com> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'libpthread/linuxthreads.old_db/td_thr_setgregs.c')
0 files changed, 0 insertions, 0 deletions