Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-05 Thread wangyufen
On 2014/9/4 19:40, Bernhard Reutner-Fischer wrote: On 4 September 2014 00:01, Waldemar Brodkorb w...@openadk.org wrote: Hi Carmelo, Carmelo Amoroso wrote, Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from

[PATCH] arm: add RESET_PID in the clone impl

2014-09-05 Thread wangyufen
From: Wang Yufen wangyu...@huawei.com 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 wangyu...@huawei.com ---

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-04 Thread Bernhard Reutner-Fischer
On 4 September 2014 00:01, Waldemar Brodkorb w...@openadk.org wrote: Hi Carmelo, Carmelo Amoroso wrote, Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S. Can you explain this a little bit

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-04 Thread Carmelo Amoroso
Il 04 settembre 2014 00:01:38 Waldemar Brodkorb w...@openadk.org ha scritto: Hi Carmelo, Hello, Carmelo Amoroso wrote, Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S. Can you explain

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-04 Thread Carmelo Amoroso
Il 04 settembre 2014 22:32:01 Bernhard Reutner-Fischer rep.dot@gmail.com ha scritto: On 4 September 2014 19:32, Carmelo Amoroso carmel...@gmail.com wrote: Il 04 settembre 2014 00:01:38 Waldemar Brodkorb w...@openadk.org ha scritto: Hi Carmelo, Hello, Carmelo Amoroso wrote,

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-03 Thread Carmelo Amoroso
Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S. Cheers Carmelo Inviato con AquaMail per Android http://www.aqua-mail.com Il 02 settembre 2014 14:12:24 Wangyufen wangyu...@huawei.com ha

Re: [PATCH] arm: add RESET_PID in the clone impl

2014-09-03 Thread Waldemar Brodkorb
Hi Carmelo, Carmelo Amoroso wrote, Hi, I don't think clone on arm is missing RESET_PID if you use the correct implementation from libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S. Can you explain this a little bit more? cat ./libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.S #define

[PATCH] arm: add RESET_PID in the clone impl

2014-09-02 Thread Wangyufen
From: Wang Yufen wangyu...@huawei.com 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 wangyu...@huawei.com ---