diff options
author | Wang Yufen <wangyufen@huawei.com> | 2014-09-05 15:19:21 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-06 08:11:14 -0600 |
commit | a85df93f5542c04c884b69fcc1febcff6c2e7a39 (patch) | |
tree | 286ff04208a4b57338f3458b3c945c622c1fb4cc /libc/sysdeps/linux/common/sigprocmask.c | |
parent | 6a528e846bc4bf773e7c19d298cfc30e8b50ca99 (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 'libc/sysdeps/linux/common/sigprocmask.c')
0 files changed, 0 insertions, 0 deletions